Skip to content

Commit

Permalink
Added Python 3.13 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Sep 21, 2024
1 parent 68b9981 commit 0827162
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 17 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/parallel-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
python-version: ["3.12", "3.13"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
Expand All @@ -56,6 +56,7 @@ jobs:
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: 'pip'
cache-dependency-path: '**/setup.py'

Expand All @@ -78,7 +79,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.12"]
python-version: ["3.12", "3.13"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
Expand All @@ -98,6 +99,7 @@ jobs:
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: 'pip'
cache-dependency-path: '**/setup.py'

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
Expand All @@ -56,6 +56,7 @@ jobs:
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: 'pip'
cache-dependency-path: '**/setup.py'

Expand Down Expand Up @@ -88,7 +89,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
Expand All @@ -108,6 +109,7 @@ jobs:
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: 'pip'
cache-dependency-path: '**/setup.py'

Expand All @@ -133,7 +135,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
os: ["blacksmith-4vcpu-ubuntu-2204"]

steps:
Expand All @@ -153,6 +155,7 @@ jobs:
uses: useblacksmith/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: 'pip'
cache-dependency-path: '**/setup.py'

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ authors = [
"Thomas Grainger <[email protected]>",
]
classifiers = [
"Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Topic :: Software Development :: Testing",
"Framework :: Celery",
Expand All @@ -53,6 +53,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
]
Expand Down
24 changes: 13 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ requires =
tox>4
tox-gh-actions
envlist =
{py38,py39,py310,py311,py312}-unit
{py38,py39,py310,py311,py312}-integration
{py38,py39,py310,py311,py312}-smoke
{py38,py39,py310,py311,py312,py313}-unit
{py38,py39,py310,py311,py312,py313}-integration
{py38,py39,py310,py311,py312,py313}-smoke
suicide_timeout = 1

[gh-actions]
Expand All @@ -15,6 +15,7 @@ python =
3.10: py310-unit, py310-integration, py310-smoke
3.11: py311-unit, py311-integration, py311-smoke
3.12: py312-unit, py312-integration, py312-smoke
3.13: py313-unit, py313-integration, py313-smoke

[testenv]
description = Run tests using {basepython}
Expand All @@ -35,14 +36,15 @@ basepython =
3.10: py310
3.11: py311
3.12: py312
mypy: py312
lint: py312
clean: py312
xdist: py312
parallel: py312
docs: py312
docs-livehtml: py312
docs-apidoc: py312
3.13: py313
mypy: py313
lint: py313
clean: py313
xdist: py313
parallel: py313
docs: py313
docs-livehtml: py313
docs-apidoc: py313
usedevelop = True

[testenv:xdist]
Expand Down

0 comments on commit 0827162

Please sign in to comment.