Skip to content

Commit 2403c81

Browse files
committed
Added Python 3.13 Support
1 parent 68b9981 commit 2403c81

File tree

5 files changed

+31
-20
lines changed

5 files changed

+31
-20
lines changed

.github/workflows/linter.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ jobs:
1717
run: |
1818
sudo apt update
1919
20-
- name: Set up Python 3.12
21-
uses: actions/setup-python@v5
20+
- name: Set up Python 3.13
21+
uses: useblacksmith/setup-python@v6
2222
with:
23-
python-version: '3.12'
23+
python-version: '3.13'
24+
allow-prereleases: true
25+
cache: 'pip'
26+
cache-dependency-path: '**/setup.py'
2427

2528
- name: Install Poetry
2629
uses: snok/[email protected]

.github/workflows/parallel-support.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
python-version: ["3.12"]
39+
python-version: ["3.12", "3.13"]
4040
os: ["blacksmith-4vcpu-ubuntu-2204"]
4141

4242
steps:
@@ -56,6 +56,7 @@ jobs:
5656
uses: useblacksmith/setup-python@v6
5757
with:
5858
python-version: ${{ matrix.python-version }}
59+
allow-prereleases: true
5960
cache: 'pip'
6061
cache-dependency-path: '**/setup.py'
6162

@@ -78,7 +79,7 @@ jobs:
7879
strategy:
7980
fail-fast: false
8081
matrix:
81-
python-version: ["3.12"]
82+
python-version: ["3.12", "3.13"]
8283
os: ["blacksmith-4vcpu-ubuntu-2204"]
8384

8485
steps:
@@ -98,6 +99,7 @@ jobs:
9899
uses: useblacksmith/setup-python@v6
99100
with:
100101
python-version: ${{ matrix.python-version }}
102+
allow-prereleases: true
101103
cache: 'pip'
102104
cache-dependency-path: '**/setup.py'
103105

.github/workflows/python-package.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
strategy:
3737
fail-fast: false
3838
matrix:
39-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
39+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
4040
os: ["blacksmith-4vcpu-ubuntu-2204"]
4141

4242
steps:
@@ -56,6 +56,7 @@ jobs:
5656
uses: useblacksmith/setup-python@v6
5757
with:
5858
python-version: ${{ matrix.python-version }}
59+
allow-prereleases: true
5960
cache: 'pip'
6061
cache-dependency-path: '**/setup.py'
6162

@@ -88,7 +89,7 @@ jobs:
8889
strategy:
8990
fail-fast: false
9091
matrix:
91-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
92+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
9293
os: ["blacksmith-4vcpu-ubuntu-2204"]
9394

9495
steps:
@@ -108,6 +109,7 @@ jobs:
108109
uses: useblacksmith/setup-python@v6
109110
with:
110111
python-version: ${{ matrix.python-version }}
112+
allow-prereleases: true
111113
cache: 'pip'
112114
cache-dependency-path: '**/setup.py'
113115

@@ -133,7 +135,7 @@ jobs:
133135
strategy:
134136
fail-fast: false
135137
matrix:
136-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
138+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
137139
os: ["blacksmith-4vcpu-ubuntu-2204"]
138140

139141
steps:
@@ -153,6 +155,7 @@ jobs:
153155
uses: useblacksmith/setup-python@v6
154156
with:
155157
python-version: ${{ matrix.python-version }}
158+
allow-prereleases: true
156159
cache: 'pip'
157160
cache-dependency-path: '**/setup.py'
158161

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ authors = [
4242
"Thomas Grainger <[email protected]>",
4343
]
4444
classifiers = [
45-
"Development Status :: 4 - Beta",
45+
"Development Status :: 5 - Production/Stable",
4646
"License :: OSI Approved :: BSD License",
4747
"Topic :: Software Development :: Testing",
4848
"Framework :: Celery",
@@ -53,6 +53,7 @@ classifiers = [
5353
"Programming Language :: Python :: 3.10",
5454
"Programming Language :: Python :: 3.11",
5555
"Programming Language :: Python :: 3.12",
56+
"Programming Language :: Python :: 3.13",
5657
"Programming Language :: Python :: Implementation :: CPython",
5758
"Operating System :: OS Independent",
5859
]

tox.ini

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ requires =
33
tox>4
44
tox-gh-actions
55
envlist =
6-
{py38,py39,py310,py311,py312}-unit
7-
{py38,py39,py310,py311,py312}-integration
8-
{py38,py39,py310,py311,py312}-smoke
6+
{py38,py39,py310,py311,py312,py313}-unit
7+
{py38,py39,py310,py311,py312,py313}-integration
8+
{py38,py39,py310,py311,py312,py313}-smoke
99
suicide_timeout = 1
1010

1111
[gh-actions]
@@ -15,6 +15,7 @@ python =
1515
3.10: py310-unit, py310-integration, py310-smoke
1616
3.11: py311-unit, py311-integration, py311-smoke
1717
3.12: py312-unit, py312-integration, py312-smoke
18+
3.13: py313-unit, py313-integration, py313-smoke
1819

1920
[testenv]
2021
description = Run tests using {basepython}
@@ -35,14 +36,15 @@ basepython =
3536
3.10: py310
3637
3.11: py311
3738
3.12: py312
38-
mypy: py312
39-
lint: py312
40-
clean: py312
41-
xdist: py312
42-
parallel: py312
43-
docs: py312
44-
docs-livehtml: py312
45-
docs-apidoc: py312
39+
3.13: py313
40+
mypy: py313
41+
lint: py313
42+
clean: py313
43+
xdist: py313
44+
parallel: py313
45+
docs: py313
46+
docs-livehtml: py313
47+
docs-apidoc: py313
4648
usedevelop = True
4749

4850
[testenv:xdist]

0 commit comments

Comments
 (0)