Skip to content

Commit d582ecf

Browse files
authored
Merge pull request #688 from PyAutoLabs/feature/intra-family-dep-floors
fix: floor intra-family deps so autolens[optional] imports
2 parents cb937d8 + c538165 commit d582ecf

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ classifiers = [
2424
]
2525
keywords = ["cli"]
2626
dependencies = [
27-
"autogalaxy",
27+
# Floor, not a pin. Without one, pip backtracking the extras chain
28+
# (autolens[jax] -> autogalaxy[jax] -> autofit[jax] -> autonerves[jax]) may
29+
# walk the release history to 2022: "version X does not provide the extra
30+
# 'jax'" is a pip *warning*, not an error, so a pre-extras release is a
31+
# legal solution. That is how `autolens[optional]` came to install autofit
32+
# 2026.4.30.582 and fail on `af.Latent` (#687).
33+
"autogalaxy>=2026.7.29.2",
2834
"nautilus-sampler==1.0.5"
2935
]
3036

@@ -43,7 +49,7 @@ local_scheme = "no-local-version"
4349

4450

4551
[project.optional-dependencies]
46-
jax = ["autogalaxy[jax]"]
52+
jax = ["autogalaxy[jax]>=2026.7.29.2"]
4753
coolest = ["coolest"]
4854
optional = [
4955
"autolens[jax]",

0 commit comments

Comments
 (0)