Skip to content

Commit 85e4cd5

Browse files
authored
Test Python 3.13 (python#79)
* GHA: add Python 3.13. * runtests.py: add "python3.13". * GHA workflow: use Python 3.12 instead of 3.11 on Windows/macOS * ReadTheDocs: use Python 3.12 instead of 3.11. * Drop support for Python 3.11 beta versions (b1, b2, b3) in tests.
1 parent 99ab0d3 commit 85e4cd5

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
- "3.9"
2727
- "3.10"
2828
- "3.11"
29-
# CPython 3.12 final is scheduled for October 2023:
30-
# https://peps.python.org/pep-0693/
3129
- "3.12"
30+
# CPython 3.13 final is scheduled for October 2024:
31+
# https://peps.python.org/pep-0719/
32+
- "3.13"
3233
# Python 2.7 was removed from GHA setup-python in June 2023:
3334
# https://github.com/actions/setup-python/issues/672
3435

@@ -55,13 +56,15 @@ jobs:
5556
- os: windows-latest
5657
python: 3.6
5758
- os: windows-latest
58-
python: 3.11
59+
python: 3.12
5960

6061
# macOS: test old and new Python
6162
- os: macos-latest
6263
python: 3.6
6364
- os: macos-latest
64-
python: 3.11
65+
python: 3.12
66+
67+
# Ubuntu: test deadsnakes Python not supported by GHA python-versions
6568
- os: ubuntu-20.04
6669
python: 3.5
6770
- os: ubuntu-20.04

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ version: 2
66
build:
77
os: ubuntu-22.04
88
tools:
9-
python: "3.11"
9+
python: "3.12"
1010

1111
sphinx:
1212
configuration: docs/conf.py

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.11
10+
* Python 3.5 - 3.12
1111
* PyPy 2.7
1212
* PyPy 3.6 - 3.9
1313

runtests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"python3.10",
4242
"python3.11",
4343
"python3.12",
44+
"python3.13",
4445
"pypy",
4546
"pypy2",
4647
"pypy2.7",

tests/setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414

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

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy