From 072433388b925331982316f9831c34087717d6f5 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Mon, 3 Aug 2026 19:01:27 +0100 Subject: [PATCH] fix: floor the autofit/autoarray dependencies at 2026.7.29.2 Refs PyAutoLabs/PyAutoLens#687. --- pyproject.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 37b0cb22..5a833bd4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,8 +24,13 @@ classifiers = [ ] keywords = ["cli"] dependencies = [ - "autofit", - "autoarray", + # Floors, not pins. Without them, pip backtracking the extras chain + # (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. + # PyAutoLens#687. + "autofit>=2026.7.29.2", + "autoarray>=2026.7.29.2", "astropy>=5.0,<=7.2.0", "nautilus-sampler==1.0.5" ] @@ -51,7 +56,7 @@ jax = [ # searches (MultiStartAdam / MultiStartProdigy) import. Without it the chain # autolens[jax] -> autogalaxy[jax] stopped at autonerves[jax], so `pip # install autolens[jax]` left those searches raising ImportError. - "autofit[jax]", + "autofit[jax]>=2026.7.29.2", "jax_zero_contour>=2.0.0,<3.0.0" ] optional = [