build: widen jax/jaxlib cap to <0.12.0 (PyAutoFit#1510) - #152
Merged
Conversation
The <0.11.0 cap guarded the message shape regression fixed in PyAutoFit (jnp.broadcast_arrays list -> tuple); with that fix on PyAutoFit main the cap can widen. jax 0.11 requires numpy>=2.1 and scipy>=1.15, noted at the cap since the widen raises those effective floors for every install that resolves jax. Merge order: PyAutoFit#1510's fix merges first, and PyAutoGalaxy / PyAutoLens must be verified green under jax 0.11 before this merges — their CI resolves jax from this cap, so pre-widen green CI does not cover 0.11; verify via matching-branch CI runs against this branch or forced jax==0.11.1 installs. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EauVX6vD9k1N4PXaEf2wvo
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.
Widens the
jax/jaxlibcap from<0.11.0to<0.12.0and replaces the stale "Cap stays <0.11" comment. The cap was held back by the message shape regression fixed in PyAutoLabs/PyAutoFit#1513 — merge that first (library-first order, tracked in PyAutoFit#1510). The Intel-macOS environment markers and thejaxnnls==1.0.1pin are untouched.Merge gate — satisfied
Every supported environment is Python >=3.12 and jax 0.11 requires >=3.12, so this widen puts jax 0.11 in front of all users with no fallback cohort. Note the downstream CI loop cannot pre-verify this: PyAutoGalaxy/PyAutoLens CI resolves jax from this repo's cap, so their green CI before this merge only exercises 0.10. The gate was therefore run as forced
jax==0.11.1installs against PyAutoFit#1513's branch:test_autofit(with[optional]extras)test_autoarraytest_autogalaxytest_autolenstest_autonervesSide effects of the widen (named in the cap comment)
numpy>=2.1andscipy>=1.15, so those become the effective floors for every install that resolves jax (compatible with the family'snumpy<3/scipy<=1.17.1pins, but numpy 2.0.x users get bumped).broadcast_arrays/meshgrid/ogridcontainer changes (onlybroadcast_arraysbit, fixed in #1513),jnp.emptynow uninitialized and thetake_along_axisnegative-index default flip (no live call sites in the family), and thejax.lax.dce_sink_premoval (unused).🤖 Generated with Claude Code
https://claude.ai/code/session_01EauVX6vD9k1N4PXaEf2wvo
Generated by Claude Code