Skip to content

Test Python 3.13 #79

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

Merged
merged 3 commits into from
Oct 16, 2023
Merged
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
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
# CPython 3.12 final is scheduled for October 2023:
# https://peps.python.org/pep-0693/
- "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

Expand All @@ -55,13 +56,15 @@ jobs:
- os: windows-latest
python: 3.6
- os: windows-latest
python: 3.11
python: 3.12

# macOS: test old and new Python
- os: macos-latest
python: 3.6
- os: macos-latest
python: 3.11
python: 3.12

# Ubuntu: test deadsnakes Python not supported by GHA python-versions
- os: ubuntu-20.04
python: 3.5
- os: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"

sphinx:
configuration: docs/conf.py
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.11
* Python 3.5 - 3.12
* PyPy 2.7
* PyPy 3.6 - 3.9

Expand Down
1 change: 1 addition & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"python3.10",
"python3.11",
"python3.12",
"python3.13",
"pypy",
"pypy2",
"pypy2.7",
Expand Down
4 changes: 0 additions & 4 deletions tests/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@

# C++ is only supported on Python 3.6 and newer
TEST_CPP = (sys.version_info >= (3, 6))
if 0x30b0000 <= sys.hexversion <= 0x30b00b3:
# Don't test C++ on Python 3.11b1 - 3.11b3: these versions have C++
# compatibility issues.
TEST_CPP = False

SRC_DIR = os.path.normpath(os.path.join(os.path.dirname(__file__), '..'))

Expand Down