Skip to content

How to test a new Python version

Konstantinos Tsilimparis edited this page Jul 22, 2026 · 6 revisions

A full worked example is PR #504, which added Python 3.13 support.

1. Dependencies

Make sure all the dependencies in the toml support Python 3.13. If necessary increase their lower or upper bounds

2. Adjust Python version requirement in pyproject.toml:**

eg:

requires-python = ">=3.11,<3.13"   # before
requires-python = ">=3.11,<3.14"   # after

3. Run the testing action on the new Python version

Update .github/workflows/testing.yml to use the new Python version.

4. Run the tutorial notebooks on the new Python version

  • Update .github/workflows/run-notebooks.yml to use the new Python version.
  • Commit with tag [full doc]
  • Once the action is finished, the new notebooks are commited to the website
  • Check the diffs and keep the new notebooks in the website

Clone this wiki locally