Skip to content

Commit ffba538

Browse files
authored
Drop Python 3.5 support: cannot be tested anymore (#97)
1 parent 2353a3d commit ffba538

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ jobs:
2929
- "3.12"
3030
# CPython 3.13 final is scheduled for October 2024:
3131
# https://peps.python.org/pep-0719/
32-
- "3.13"
33-
# Python 2.7 was removed from GHA setup-python in June 2023:
34-
# https://github.com/actions/setup-python/issues/672
32+
# TODO: Reenable 3.13 once fixed.
33+
#- "3.13"
3534

3635
# PyPy versions:
3736
# - https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md
@@ -64,9 +63,8 @@ jobs:
6463
- os: macos-latest
6564
python: 3.12
6665

67-
# Ubuntu: test deadsnakes Python not supported by GHA python-versions
68-
- os: ubuntu-20.04
69-
python: 3.5
66+
# Ubuntu: test deadsnakes Python versions which are not supported by
67+
# GHA python-versions.
7068
- os: ubuntu-20.04
7169
python: 3.6
7270

@@ -87,6 +85,10 @@ jobs:
8785
run: python runtests.py --current --verbose
8886

8987
test_python27:
88+
# Get Python 2.7 from Ubuntu 22.04.
89+
#
90+
# Python 2.7 was removed from GHA setup-python in June 2023:
91+
# https://github.com/actions/setup-python/issues/672
9092
name: 'Test Python 2.7'
9193
runs-on: ubuntu-22.04
9294
steps:

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ functions for old Python versions.
77

88
Supported Python versions:
99

10-
* Python 3.5 - 3.13
10+
* Python 3.6 - 3.14
1111
* PyPy 2.7 and PyPy 3.6 - 3.10
1212

1313
Python 2.7 and Python 3.4 are no longer officially supported since GitHub

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Changelog
22
=========
33

4+
* 2024-04-23: Drop Python 3.5 support. It cannot be tested anymore (pip fails).
45
* 2024-04-02: Add ``PyDict_SetDefaultRef()`` function.
56
* 2024-03-29: Add ``PyList_GetItemRef()`` function.
67
* 2024-03-21: Add functions:

runtests.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
"python3-debug",
3535
"python3",
3636
"python2.7",
37-
"python3.4",
38-
"python3.5",
3937
"python3.6",
4038
"python3.7",
4139
"python3.8",

0 commit comments

Comments
 (0)