Skip to content

Commit

Permalink
Add explicit support for Python 3.13 (#43)
Browse files Browse the repository at this point in the history
* Add explicit support for Python 3.13

* Add release note

* Change release note category to 'other'
  • Loading branch information
garrison authored Nov 8, 2024
1 parent 1cfd509 commit de86d38
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_development_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
max-parallel: 4
matrix:
os: [ubuntu-latest]
python-version: [3.9, 3.12]
python-version: [3.9, 3.13]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_latest_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
max-parallel: 4
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
include:
- os: macos-latest
python-version: "3.12"
python-version: "3.13"
- os: windows-latest
python-version: "3.12"
steps:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Physics",
]

Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/python-3.13-9a82a16e34e2c58d.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
other:
- |
This release adds support for Python 3.13. No code changes were necessary,
so older releases are expected to work on Python 3.13 too.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 4.4.3
envlist = py{39,310,311,312}{,-notebook}, lint, coverage, docs, doctest
envlist = py{39,310,311,312,313}{,-notebook}, lint, coverage, docs, doctest
isolated_build = True

[testenv]
Expand Down Expand Up @@ -35,14 +35,14 @@ commands =
typos
reno lint

[testenv:{,py-,py3-,py39-,py310-,py311-,py312-}notebook]
[testenv:{,py-,py3-,py39-,py310-,py311-,py312-,py313-}notebook]
extras =
nbtest
notebook-dependencies
commands =
pytest --nbmake --nbmake-timeout=3000 {posargs} docs/

[testenv:{,py-,py3-,py39-,py310-,py311-,py312-}doctest]
[testenv:{,py-,py3-,py39-,py310-,py311-,py312-,py313-}doctest]
extras =
test
doctest
Expand Down

0 comments on commit de86d38

Please sign in to comment.