Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Python 3.5 support: cannot be tested anymore #96

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading