Skip to content

Commit 910c232

Browse files
authored
chore: Test support for Python 3.13 (#3416)
2 parents 46edd50 + ce87539 commit 910c232

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
matrix:
3636
os: ['ubuntu-latest']
37-
python-version: ['3.10', '3.11', '3.12']
37+
python-version: ['3.10', '3.11', '3.12', '3.13']
3838
dependencies: ['latest', 'pre']
3939
include:
4040
- os: ubuntu-latest

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ classifiers = [
1515
"Programming Language :: Python :: 3.10",
1616
"Programming Language :: Python :: 3.11",
1717
"Programming Language :: Python :: 3.12",
18+
"Programming Language :: Python :: 3.13",
1819
]
1920
license = {file = "LICENSE"}
2021
requires-python = ">=3.10"

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
requires =
33
tox>=4
44
envlist =
5-
py3{10,11,12}-latest
5+
py3{10,11,12,13}-{latest,pre}
66
py310-min
7-
py3{10,11,12}-pre
87
skip_missing_interpreters = true
98

109
# Configuration that allows us to split tests across GitHub runners effectively
@@ -13,6 +12,7 @@ python =
1312
3.10: py310
1413
3.11: py311
1514
3.12: py312
15+
3.13: py313
1616

1717
[gh-actions:env]
1818
DEPENDS =
@@ -42,8 +42,9 @@ deps =
4242
py313: traits @ git+https://github.com/enthought/traits.git@10954eb
4343
extras = test
4444
setenv =
45-
pre: UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
4645
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
46+
pre: UV_INDEX=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
47+
pre: UV_INDEX_STRATEGY=unsafe-best-match
4748
uv_resolution =
4849
min: lowest-direct
4950

0 commit comments

Comments
 (0)