From b9af863ebe893ff57e86c7acfd70fb4070d57b9e Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 20 May 2026 20:21:50 +0100 Subject: [PATCH] Pin nufftax >=0.4.0,<0.5.0 on Python 3.12+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nufftax under-declares its JAX requirement (its metadata says `jax>=0.4.0` but the 0.4.0 release actually uses Pallas Triton APIs introduced in JAX 0.7.0). Pinning the 0.4.x line and gating to Python 3.12+ — nufftax's own declared `requires-python` — makes pip refuse install combinations that resolve cleanly but blow up at runtime. Applies to both the [optional] and [dev] extras. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.7 (1M context) --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index da3397b5..8053d3e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,12 +56,12 @@ jax = ["autoconf[jax]"] optional = [ "autoarray[jax]", "numba", - "nufftax", + "nufftax>=0.4.0,<0.5.0; python_version >= '3.12'", "pynufft", "tensorflow-probability==0.25.0" ] test = ["pytest"] -dev = ["pytest", "black", "numba", "nufftax", "pynufft==2022.2.2"] +dev = ["pytest", "black", "numba", "nufftax>=0.4.0,<0.5.0; python_version >= '3.12'", "pynufft==2022.2.2"] [tool.pytest.ini_options] testpaths = ["test_autoarray"]