Skip to content

Commit

Permalink
Drop Python 3.5 support: cannot be tested anymore (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner authored May 22, 2024
1 parent 2353a3d commit ffba538
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ jobs:
- "3.12"
# CPython 3.13 final is scheduled for October 2024:
# https://peps.python.org/pep-0719/
- "3.13"
# Python 2.7 was removed from GHA setup-python in June 2023:
# https://github.com/actions/setup-python/issues/672
# TODO: Reenable 3.13 once fixed.
#- "3.13"

# PyPy versions:
# - https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md
Expand Down Expand Up @@ -64,9 +63,8 @@ jobs:
- os: macos-latest
python: 3.12

# Ubuntu: test deadsnakes Python not supported by GHA python-versions
- os: ubuntu-20.04
python: 3.5
# Ubuntu: test deadsnakes Python versions which are not supported by
# GHA python-versions.
- os: ubuntu-20.04
python: 3.6

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

test_python27:
# Get Python 2.7 from Ubuntu 22.04.
#
# Python 2.7 was removed from GHA setup-python in June 2023:
# https://github.com/actions/setup-python/issues/672
name: 'Test Python 2.7'
runs-on: ubuntu-22.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ functions for old Python versions.

Supported Python versions:

* Python 3.5 - 3.13
* Python 3.6 - 3.14
* PyPy 2.7 and PyPy 3.6 - 3.10

Python 2.7 and Python 3.4 are no longer officially supported since GitHub
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Changelog
=========

* 2024-04-23: Drop Python 3.5 support. It cannot be tested anymore (pip fails).
* 2024-04-02: Add ``PyDict_SetDefaultRef()`` function.
* 2024-03-29: Add ``PyList_GetItemRef()`` function.
* 2024-03-21: Add functions:
Expand Down
2 changes: 0 additions & 2 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
"python3-debug",
"python3",
"python2.7",
"python3.4",
"python3.5",
"python3.6",
"python3.7",
"python3.8",
Expand Down

0 comments on commit ffba538

Please sign in to comment.