Repository navigation
Conversation
Specifically: * Add Windows ARM64. * Add macOS on Intel. * Change the Python 3.15-dev runner environment to 3.15. * Enable PyTorch testing on Python 3.15. * Enable TensorFlow testing on Python 3.13 and 3.14. * Explicitly use the PyTorch CPU wheels unconditionally; no real reason not to. (We never had been using GPU wheels, but previously didn't make it explicit on non-Linux.) * Expand TensorFlow coverage to Python up to 3.14. This required some version bumps: * Bump NumPy tested version to 2.5.5. NumPy doesn't have binary wheels for the previous version on 3.15, and it won't build from source on the Windows ARM64 runner. * Bump Pillow tested version to 13.0.0. 12.3.0's support for Python 3.15 was experimental; 13.0.0 has official support. The NumPy version bump also required some new annotations. Using `follow_imports = "skip"` prevents MyPy from doing the right inference, and it fails. I might address that in a future commit; I don't think we need the `skip` behavior anymore. This commit simplifies the matrix some: it removes some redundancies, and moves the PyTorch and TensorFlow compatibility tests to tags on the jobs. It also adds the use of TF and Torch to the test names; we can back that out if it's just noise. This commit also causes the Quality test to fail if Ruff changes files (through `format` or `check --fix`). This lets us identify and integrate these rewrites in the change that requires them, rather than leaving that for a later developer working on a potentially-unrelated feature.
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.
This required some version bumps:
The NumPy version bump also required some new annotations. Using
follow_imports = "skip"prevents MyPy from doing the right inference, and it fails. I might address that in a future commit; I don't think we need theskipbehavior anymore.This commit simplifies the matrix some: it removes some redundancies, and moves the PyTorch and TensorFlow compatibility tests to tags on the jobs. It also adds the use of TF and Torch to the test names; we can back that out if it's just noise.
This commit also causes the Quality test to fail if Ruff changes files (through
formatorcheck --fix). This lets us identify and integrate these rewrites in the change that requires them, rather than leaving that for a later developer working on a potentially-unrelated feature../check.sh(or./check.ps1) passedAI assistance disclosure