Repository navigation
fix: requirements for tutorials 6/7 + revert workshop Colab stopgap - #66
Merged
Merged
Conversation
…al-dependencies-frmvth" This reverts commit f4bca40, reversing changes made to 1b85e12. The 2026-09-15 workshop is over. The 20 Colab badges return to release-tag pinning: PyAutoHands' bump_colab_urls.sh re-pins only version-shaped tags, so blob/main/ links would never have been updated by a release. start_here.ipynb loses its stopgap install cell. The dependencies themselves are installed by the Colab bootstrap from autonerves > 2026.9.15.1 (PyAutoNerves#168). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…-dep-stopgap" This reverts commit 1b85e12, reversing changes made to bd08343. The 2026-09-15 workshop is over. Removes the Colab-only second pip install (corner, optax, xxhash, blackjax --no-deps) from the 18 tutorial notebooks. The Colab bootstrap installs these itself from autonerves > 2026.9.15.1 (PyAutoNerves#168). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Tutorials 6 and 7 construct af.BlackJAXNUTS (tutorial 6 also af.Nautilus). Both packages sit in PyAutoFit's `optional` extra, so `pip install autofit` never brought them and the tutorials died with ModuleNotFoundError at real settings while the PYAUTO_TEST_MODE=2 smoke gate stayed green. Unpinned, matching the file's existing convention; pinning literals here would recreate the specifier drift PyAutoNerves#168 just fixed in _SHARED_EXTRAS. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
PyAutoFit's `optional` extra pins nautilus-sampler==1.0.5 and floors blackjax>=1.6.2; the unpinned lines resolved nautilus 1.0.6, a version autofit is not tested against. Mirror the library's specifiers here. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two things, both from #65.
Local install route. Tutorials 6 and 7 construct
af.BlackJAXNUTS(tutorial 6 alsoaf.Nautilus), butblackjaxandnautilus-samplerlive in PyAutoFit'soptionalextra, sopip install autofitnever brought them and both tutorials died withModuleNotFoundErrorat real settings. ThePYAUTO_TEST_MODE=2smoke gate bypasses the sampler, so CI stayed green.requirements.txtnow lists both with PyAutoFit's own specifiers (nautilus-sampler==1.0.5,blackjax>=1.6.2), so the tutorial route installs the versions autofit is tested against.Workshop stopgap reverted. The 2026-09-15 workshop is over, so the two Colab stopgaps merged for it are reverted with plain
git revert -m 1commits (no history rewrite):1b85e12) — the Colab-only secondpip install --no-deps corner optax xxhash blackjaxcell in 18 tutorial notebooks.f4bca40) — the 20 README Colab badges repointed toblob/main/, and the same cell instart_here.ipynb. The badges return to release-tag pinning becausePyAutoHands/autohands/bump_colab_urls.shonly re-pins version-shaped tags;blob/main/links would never have been updated by a release.The dependencies the stopgap installed are now installed by the Colab bootstrap itself: PyAutoNerves#168 added them to
_SHARED_EXTRASand is merged onmain.Merge condition
PyAutoNerves#168 is not yet on PyPI — the latest
autonervesis2026.9.15.1, which predates it. Merging this revert before a newerautonervesis released re-opens the Colab dependency gap on every notebook until that release lands. Merge oncepip index versions autonervesshows a version newer than2026.9.15.1, or with the explicit decision to accept the interim gap.Scripts Changed
No
scripts/change. Files touched:requirements.txt— addedblackjaxandnautilus-sampler.README.md,start_here.ipynb,notebooks/**/*.ipynb(18) — restored byte-for-byte to the2026.9.15.1release content by the two reverts. Notebooks were not regenerated: the diff against the tag undernotebooks/andstart_here.ipynbis empty, which is the stronger check for a pure revert.Test Plan
git diff 2026.9.15.1 HEAD --statshows only the pre-existingbd08343docs change plusrequirements.txt.git diff 2026.9.15.1 HEAD -- notebooks/ start_here.ipynbis empty.blob/2026.9.15.1/, 1 ×blob/main/).pip install -r requirements.txtthenimport blackjax, nautilussucceeds.Sibling PRs for the same stopgap: HowToGalaxy (#77 revert) and HowToLens (#85 revert), linked from #65.
/prmcloses #65 once all three are merged.Heart at ship time
STALE —
release validation incomplete: no rehearsal for current source. Heart's freshness tier (an organism-scope evidence gap, not a finding against this branch); the ship gate treats it as passing and lists it here.Generated by the PyAutoLabs agent workflow.
🤖 Generated with Claude Code