Skip to content

Commit

Permalink
chore: Test support for Python 3.13 (#3416)
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies authored Dec 19, 2024
2 parents 46edd50 + ce87539 commit 910c232
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest']
python-version: ['3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12', '3.13']
dependencies: ['latest', 'pre']
include:
- os: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
license = {file = "LICENSE"}
requires-python = ">=3.10"
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
requires =
tox>=4
envlist =
py3{10,11,12}-latest
py3{10,11,12,13}-{latest,pre}
py310-min
py3{10,11,12}-pre
skip_missing_interpreters = true

# Configuration that allows us to split tests across GitHub runners effectively
Expand All @@ -13,6 +12,7 @@ python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[gh-actions:env]
DEPENDS =
Expand Down Expand Up @@ -42,8 +42,9 @@ deps =
py313: traits @ git+https://github.com/enthought/traits.git@10954eb
extras = test
setenv =
pre: UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pre: UV_INDEX=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pre: UV_INDEX_STRATEGY=unsafe-best-match
uv_resolution =
min: lowest-direct

Expand Down

0 comments on commit 910c232

Please sign in to comment.