Skip to content

build: raise astropy cap, update JAX Partial imports for 0.5+ compat#344

Merged
Jammy2211 merged 1 commit intomainfrom
feature/dependency-sweep
Apr 12, 2026
Merged

build: raise astropy cap, update JAX Partial imports for 0.5+ compat#344
Jammy2211 merged 1 commit intomainfrom
feature/dependency-sweep

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Raise astropy cap from <=6.1.2 to <=7.2.0. Replace deprecated jax.tree_util.Partial with functools.partial in jax_utils.py, and add fallback import in lens_calc.py for forward compatibility with JAX 0.5+.

Part of cross-ecosystem dependency sweep (PyAutoLabs/PyAutoConf#87).

API Changes

None — internal changes only.

Test Plan

  • PyAutoGalaxy unit tests pass (822/822)
  • Full stack tests pass (3,070 across 5 repos)
  • CI green
Full API Changes (for automation & release notes)

Changed (internal only)

  • autogalaxy.profiles.mass.total.jax_utils.omega() — uses functools.partial instead of jax.tree_util.Partial
  • autogalaxy.operate.lens_calc.LensCalc._make_eigen_fn()Partial import has fallback to functools.partial

No public API impact — internal JAX wiring changes.

🤖 Generated with Claude Code

Raise astropy cap from <=6.1.2 to <=7.2.0. Replace deprecated
jax.tree_util.Partial with functools.partial in jax_utils.py, and
add fallback import in lens_calc.py for forward compatibility.

Part of cross-ecosystem dependency sweep (PyAutoLabs/PyAutoConf#87).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit 9c6577d into main Apr 12, 2026
2 checks passed
@Jammy2211 Jammy2211 deleted the feature/dependency-sweep branch April 12, 2026 15:28
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