Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explicit support for Python 3.13 (backport #43) #59

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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