feat(ci): add no-JAX test leg to reusable lib-tests workflow (PyAutoLens#702) - #150
Merged
Conversation
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 a
unittest-nojaxjob to the reusablelib-tests.yml(PyAutoLens#702). JAX is becoming a default dependency of the stack, which means every ordinary environment — including the existing[optional]-extras test install — has jax importable; nothing exercised the jax-NOT-installed environment, even though the NumPy-only path remains fully supported (and is what Intel Macs get via environment markers).The new leg (all stack packages, skipped for standalone autoreduce; Python 3.13 only) installs exactly like the normal job, then strips the jax package family (
jax jaxlib jaxnnls optax chex jax_zero_contour blackjax nufftax tfp-nightly), asserts jax is genuinely gone (so the leg can never green-run with jax present), and re-runs the suite — proving every module imports and the NumPy path passes with jax absent.API Changes
None — CI workflow only.
Test Plan
lib-tests.yml@main)Note: the new job is additive — callers need no changes. It is not yet a required status check on the library repos; make it required once it has a green history.
Part of the six-repo JAX-default-dependency change: PyAutoLens#702.
Generated by the PyAutoLabs agent workflow.