ci: bump Python to 3.10-3.12, drop 3.8/3.9 (#564)#565
Merged
Conversation
- CI matrix: ["3.8","3.9","3.10","3.11"] -> ["3.10","3.11","3.12"] - Runner: ubuntu-22.04 -> ubuntu-24.04 - PDF/coverage/artifact steps: condition 3.11 -> 3.12 - Action versions: checkout@v3->v4, setup-python@v4->v5 - setup.py: python_requires >=3.6 -> >=3.10, classifiers updated - test/test_mv.py: distutils.version (removed in 3.12) -> packaging.version - examples/primer: add r-prefix to LaTeX strings (SyntaxWarning in 3.12)
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
utensil
reviewed
Apr 1, 2026
Member
There was a problem hiding this comment.
Thanks for the PR!
CI is green. Before merging:
examples/primer/sp2.ipynb and examples/ipython/lt.ipynb both have the same missing r-prefix issue as the notebooks you fixed.
Also worth adding packaging to test_requirements.txt since test/test_mv.py now imports it directly.
And actions/cache@v3 wasn't bumped along with the other actions.
- examples/primer/sp2.ipynb, examples/ipython/lt.ipynb: add r-prefix to LaTeX strings (same SyntaxWarning fix) - test_requirements.txt: explicitly declare packaging dependency - ci.yml: bump actions/cache v3 -> v4
utensil
pushed a commit
that referenced
this pull request
Apr 3, 2026
* docs: add 0.6.1 changelog entries Covers: Mlt component-expression constructor (#578/#580), is_blade null fix (#537), Macdonald PDF update (#577), dev guides (#572/#574), SymPy 1.13 notebook refresh (#570), Lt ImmutableDenseMatrix fix (#569), Python 3.10-3.12 CI (#565). * docs(changelog): fix is_blade entry reference from issue to PR The is_blade entry incorrectly referenced issue 537 but should reference PR 582 to match the convention used in other entries. --------- Co-authored-by: utiberious <utiberious@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #564.
Changes
CI/setup:
["3.8","3.9","3.10","3.11"]→["3.10","3.11","3.12"]ubuntu-22.04→ubuntu-24.043.11→3.12checkout@v3→v4,setup-python@v4→v5,cache@v3→v4,action-setup-diff-pdf@v1.3.0→v1.4.0(v1.4.0 adds Ubuntu 24.04 support — package name changed fromlibwxgtk3.0-gtk3-devtolibwxgtk3.2-dev)setup.py:python_requires >=3.6→>=3.10, classifiers updatedtest_requirements.txt: explicitly declarepackagingdependencyPython 3.12 compatibility fixes:
test/test_mv.py: replacedistutils.version(removed in 3.12) withpackaging.versionexamples/primer/cm3.ipynb,gprint.ipynb,h3.ipynb,primer.ipynb,sp2.ipynb,sp2g3.ipynb,spacetime.ipynbandexamples/ipython/lt.ipynb: addr-prefix to LaTeX string literals — Python 3.12 promotes unrecognized escape sequences fromDeprecationWarningtoSyntaxWarning, causing unexpected stderr output that breaks nbvalTest results
Local CI on Python 3.11 and 3.12: 551 passed, 2 skipped, 0 failures. flake8 clean on both.