Skip to content

Commit 012813b

Browse files
authored
Merge pull request #450 from PyAutoLabs/feature/jax-default-dependency
feat: [jax] extra becomes no-op alias, JAX default via autonerves (PyAutoLens#702)
2 parents 74cf5a0 + 9530529 commit 012813b

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ classifiers = [
2424
]
2525
keywords = ["cli"]
2626
dependencies = [
27-
# Floor, not a pin. Without one, pip backtracking the extras chain
28-
# (autoarray[jax] -> autonerves[jax]) may walk the release history to 2022:
29-
# "version X does not provide the extra 'jax'" is a pip *warning*, not an
30-
# error, so a pre-extras release is a legal solution. PyAutoLens#687.
27+
# Floor, not a pin (PyAutoLens#687) — bump to the first release with JAX
28+
# in autonerves' base dependencies once it exists (PyAutoLens#702), so
29+
# backtracking cannot pair this autoarray with a jax-optional autonerves.
3130
"autonerves>=2026.7.29.2",
3231
"astropy>=5.0",
3332
"decorator>=4.0.0",
@@ -54,7 +53,11 @@ local_scheme = "no-local-version"
5453

5554

5655
[project.optional-dependencies]
57-
jax = ["autonerves[jax]>=2026.7.29.2"]
56+
# JAX moved into autonerves' base dependencies (PyAutoLens#702). Kept as a
57+
# declared no-op so `pip install autoarray[jax]` keeps resolving
58+
# (PyAutoLens#687). The interferometer JAX extras (nufftax, tfp-nightly)
59+
# deliberately stay in `optional` — they are NOT part of the default install.
60+
jax = []
5861
optional = [
5962
"autoarray[jax]",
6063
"numba",

0 commit comments

Comments
 (0)