Skip to content

Expand to cover more test platforms, and other test cleanups - #616

Open
jholveck wants to merge 1 commit into
BoboTiG:mainfrom
jholveck:expand-test-matrix
Open

jholveck wants to merge 1 commit into
BoboTiG:mainfrom
jholveck:expand-test-matrix

Conversation

@jholveck

@jholveck jholveck commented Dec 5, 2026

Copy link
Copy Markdown
Contributor
  • 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.

  • Tests added/updated (or your review concluded: not needed)
  • Documentation updated (or your review concluded: not needed)
  • Release notes added (or your review concluded: not needed)
  • ./check.sh (or ./check.ps1) passed

AI assistance disclosure

  • AI was partially used to create this change.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant