Skip to content

Commit debe913

Browse files
committed
Add support for Python 3.13 and 3.14
Drop support for Python 3.8 and 3.9 (EOL)
1 parent 43e8f5c commit debe913

File tree

5 files changed

+23
-19
lines changed

5 files changed

+23
-19
lines changed

.github/workflows/docs-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-24.04
88

99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
python-version: [3.9]
12+
python-version: [3.10]
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v5
1717

1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

.github/workflows/pypi-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ on:
2121
jobs:
2222
build-pypi-distribs:
2323
name: Build and publish library to PyPI
24-
runs-on: ubuntu-22.04
24+
runs-on: ubuntu-24.04
2525

2626
steps:
2727
- uses: actions/checkout@v4
2828
- name: Set up Python
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
31-
python-version: 3.9
31+
python-version: 3.13
3232

3333
- name: Install pypa/build
3434
run: python -m pip install build --user
@@ -47,7 +47,7 @@ jobs:
4747
name: Create GH release
4848
needs:
4949
- build-pypi-distribs
50-
runs-on: ubuntu-22.04
50+
runs-on: ubuntu-24.04
5151

5252
steps:
5353
- name: Download built archives
@@ -67,7 +67,7 @@ jobs:
6767
name: Create PyPI release
6868
needs:
6969
- create-gh-release
70-
runs-on: ubuntu-22.04
70+
runs-on: ubuntu-24.04
7171

7272
steps:
7373
- name: Download built archives

azure-pipelines.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,39 +9,39 @@ jobs:
99
- template: etc/ci/azure-posix.yml
1010
parameters:
1111
job_name: ubuntu22_cpython
12-
image_name: ubuntu-22.04
13-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
12+
image_name: ubuntu-24.04
13+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
1414
test_suites:
1515
all: venv/bin/pytest -n 2 -vvs
1616

1717
- template: etc/ci/azure-posix.yml
1818
parameters:
1919
job_name: macos13_cpython
2020
image_name: macOS-13
21-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
21+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
2222
test_suites:
2323
all: venv/bin/pytest -n 2 -vvs
2424

2525
- template: etc/ci/azure-posix.yml
2626
parameters:
2727
job_name: macos14_cpython_arm64
2828
image_name: macOS-14
29-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
29+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
3030
test_suites:
3131
all: venv/bin/pytest -n 2 -vvs
3232

3333
- template: etc/ci/azure-win.yml
3434
parameters:
3535
job_name: win2019_cpython
3636
image_name: windows-2019
37-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
37+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
3838
test_suites:
3939
all: venv\Scripts\pytest -n 2 -vvs
4040

4141
- template: etc/ci/azure-win.yml
4242
parameters:
4343
job_name: win2022_cpython
4444
image_name: windows-2022
45-
python_versions: ['3.8', '3.9', '3.10', '3.11', '3.12']
45+
python_versions: ['3.10', '3.11', '3.12', '3.13', '3.14']
4646
test_suites:
4747
all: venv\Scripts\pytest -n 2 -vvs

etc/scripts/utils_thirdparty.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,17 @@
115115
TRACE_ULTRA_DEEP = False
116116

117117
# Supported environments
118-
PYTHON_VERSIONS = "37", "38", "39", "310"
118+
PYTHON_VERSIONS = "37", "38", "39", "310", "311", "312", "313", "314"
119119

120120
PYTHON_DOT_VERSIONS_BY_VER = {
121121
"37": "3.7",
122122
"38": "3.8",
123123
"39": "3.9",
124124
"310": "3.10",
125+
"311": "3.11",
126+
"312": "3.12",
127+
"313": "3.13",
128+
"314": "3.14",
125129
}
126130

127131

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ classifiers =
1616
Intended Audience :: Developers
1717
Programming Language :: Python :: 3
1818
Programming Language :: Python :: 3 :: Only
19-
Programming Language :: Python :: 3.8
20-
Programming Language :: Python :: 3.9
2119
Programming Language :: Python :: 3.10
2220
Programming Language :: Python :: 3.11
2321
Programming Language :: Python :: 3.12
22+
Programming Language :: Python :: 3.13
23+
Programming Language :: Python :: 3.14
2424
Topic :: Software Development
2525
Topic :: Utilities
2626

@@ -49,7 +49,7 @@ zip_safe = false
4949

5050
setup_requires = setuptools_scm[toml] >= 4
5151

52-
python_requires = >=3.8
52+
python_requires = >=3.10
5353

5454
install_requires =
5555
attrs

0 commit comments

Comments
 (0)