From b81b880d406ce0f9baa5af5f1b5cc03ff9ad9106 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Fri, 29 May 2026 09:57:14 +0100 Subject: [PATCH] chore(deps): bump anesthetic>=2.9.0 to unblock jax>=0.7 / numpy>=2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous `anesthetic==2.8.14` pin (for python<3.13) transitively required `numpy<2`, which forced pip's resolver to backsolve `jax` to 0.4.28 in the release.yml install chain. JAX 0.7+ requires numpy>=2. After this bump: - Local resolution: anesthetic 2.14.6, numpy 2.2.6, jax 0.9.2 - The split python-version branches collapse to a single line — 2.9.0+ supports python>=3.9 so the conditional pin is no longer needed. Comment around the nss/blackjax notes updated: the prior "bump only after both pins move together" constraint is now resolved. Co-Authored-By: Claude Opus 4.7 --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8416dacf8..1fa53dc55 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,8 +28,7 @@ keywords = ["cli"] dependencies = [ "autoconf", "array_api_compat", - "anesthetic==2.8.14; python_version < '3.13'", - "anesthetic>=2.9.0; python_version >= '3.13'", + "anesthetic>=2.9.0", "corner==2.2.2", "decorator>=4.2.1", "dill>=0.3.1.1", @@ -94,10 +93,11 @@ optional = [ # # blackjax SHA `ef45acd2` is the May 2026 "Merge PR #60 — double_compile" # revision, locally validated against the Phase 1-3 work. blackjax HEAD -# (5dbf89a9 at pin time) introduced `numpy>=1.25`, which conflicts with -# autofit's `anesthetic==2.8.14` (numpy<2.0) — bump only after both pins -# move together. See PyAutoPrompt/issued/nss_install_simplification.md -# notes #3-4 for context. +# (5dbf89a9 at pin time) introduced `numpy>=1.25`. autofit's anesthetic +# pin has since been bumped to `>=2.9.0` (numpy>=2 compatible) so the +# previous "bump only after both pins move together" constraint is now +# resolved. See PyAutoPrompt/issued/nss_install_simplification.md notes +# #3-4 for the historic context. # # `fastprogress<1.1` stays here as a regular PyPI dep — it keeps fastprogress # from pulling `python-fasthtml` (1.1.5 transitively requires it).