From c5381651c91b676dbd7acbf5466113b2a0891fa7 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Mon, 3 Aug 2026 19:01:28 +0100 Subject: [PATCH] fix: floor the autogalaxy dependency at 2026.7.29.2 Refs PyAutoLabs/PyAutoLens#687. --- pyproject.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5f91a8443..fe893c2e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,13 @@ classifiers = [ ] keywords = ["cli"] dependencies = [ - "autogalaxy", + # Floor, not a pin. Without one, pip backtracking the extras chain + # (autolens[jax] -> autogalaxy[jax] -> autofit[jax] -> autonerves[jax]) may + # walk the release history to 2022: "version X does not provide the extra + # 'jax'" is a pip *warning*, not an error, so a pre-extras release is a + # legal solution. That is how `autolens[optional]` came to install autofit + # 2026.4.30.582 and fail on `af.Latent` (#687). + "autogalaxy>=2026.7.29.2", "nautilus-sampler==1.0.5" ] @@ -43,7 +49,7 @@ local_scheme = "no-local-version" [project.optional-dependencies] -jax = ["autogalaxy[jax]"] +jax = ["autogalaxy[jax]>=2026.7.29.2"] coolest = ["coolest"] optional = [ "autolens[jax]",