Repository navigation
Support Python 3.10 again - #86
Merged
Merged
Conversation
Lower requires-python to 3.10, add tomli for 3.10 and import it instead of pip's vendored copy, and test 3.10 in CI. diffrax 0.7.0 is the newest on 3.10 and reports a dtmin stop as max_steps_reached, so those two checks need diffrax >= 0.7.1.
rogeriojorge
added a commit
that referenced
this pull request
Oct 25, 2026
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.
#48 raised
requires-pythonto 3.11. We keep 3.10 across the uwplasma codes.requires-python = ">=3.10", plustomli; python_version < '3.11'inpyproject.tomlandrequirements.txt.load_parametersfalls back totomliinstead ofpip._vendor.tomli.dtminstop asmax_steps_reached, so the twodt_min_reachedassertions from Expose dtmin, max_steps and throw so a collapsing step stops, or is reported, instead of crawling #50 run only on diffrax >= 0.7.1.Tests: 19 passed on 3.13. On 3.10 (macOS) the
dtmintests pass.test_perturbation_...[4]segfaults inside jaxlib 0.6.2 on macOS, and the 3.10 CI lane will show whether that also happens on Linux. The Orszag-Tang gradient from #84 also runs on 3.10.