Repository navigation
build: python 3.12 / 3.13 test environments, tests independent of scipy / numpy versions - #192
Merged
Merged
Conversation
- Compare rotations via composed rotation matrices, as the return type annotation of scipy's Rotation.__mul__ differs between scipy versions - Convert numpy polynomial evaluations to floats before comparisons - Cast random float32 test data explicitly instead of passing dtype to Generator.random Preparation for test environments with more recent python versions.
- Add python 3.12 and 3.13 toolchains and pip hubs with zarr-python 2.18.7 (the first version with the correct numcodecs<0.16 restriction) - torch: python 3.12 uses the same version as python 3.11 (2.7.0), python 3.13 the most recent version (2.14.1). Both use CPU-only wheels on purpose (CUDA is tested with python 3.11) - Import torch.version explicitly in the sensor tests (the warning suppression of its implicit import is unused with torch 2.14) - Run all pytest targets with python 3.8, 3.11, 3.12 and 3.13 by default (the dataset converter tests remain python 3.11 only) Prepares testing with the most recent numpy / scipy / torch releases.
janickm
added this pull request to the merge queue
Oct 13, 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.
Summary
Adds python 3.12 / 3.13 test environments, and makes the tests independent of the scipy / numpy versions they run with. Factored out of #68.
test: compare rotations via composed rotation matrices (the return type of scipy'sRotation.__mul__differs between scipy versions), convert numpy polynomial evaluations to floats before comparisons, and cast random float32 test data explicitlybuild: python 3.12 / 3.13 toolchains and pip hubs, all pytest targets run with python 3.8, 3.11, 3.12 and 3.13 by default (dataset converter tests remain python 3.11 only)_3_8_3_11_3_12_3_13The python 3.12 / 3.13 environments use CPU-only torch wheels on purpose (CUDA is tested with python 3.11). zarr-python 2.18.7 is the first version with the correct
numcodecs<0.16restriction.No changes to the library itself.