diff --git a/pyproject.toml b/pyproject.toml index f95f680..6e83ecb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,11 +32,11 @@ dependencies = [ # wheels for >=0.7), so the markers let Intel Macs resolve to the # NumPy-only path instead of failing at install. jax_wrapper warns loudly # at import when JAX is absent. - # Cap stays <0.11: jax 0.11.1 breaks autofit's beta/gamma message - # log_partition under jit ('tuple' object has no attribute 'shape') — - # widen only together with that fix (tracked from PyAutoLens#702). - 'jax>=0.7.0,<0.11.0; sys_platform != "darwin" or platform_machine == "arm64"', - 'jaxlib>=0.7.0,<0.11.0; sys_platform != "darwin" or platform_machine == "arm64"', + # jax 0.11 note: 0.11 requires numpy>=2.1 and scipy>=1.15, so this cap + # widen also raises those effective floors for every install that + # resolves jax (PyAutoFit#1510). + 'jax>=0.7.0,<0.12.0; sys_platform != "darwin" or platform_machine == "arm64"', + 'jaxlib>=0.7.0,<0.12.0; sys_platform != "darwin" or platform_machine == "arm64"', 'jaxnnls==1.0.1; sys_platform != "darwin" or platform_machine == "arm64"' ]