Repository navigation
fix: point Colab links at main so the #63 dependency stopgap reaches readers - #64
Merged
Merged
Conversation
The Colab badge and tutorial links in README.md all pointed at the release tag 2026.9.15.1. The lazy-dependency stopgap added in #63 landed on main only, so an attendee clicking a README link got the tagged notebook, which has no stopgap, and tutorial 5 still died with `No module named 'corner'` after its emcee search completed. The released autonerves (2026.9.15.1) is also still missing the four packages from its `_SHARED_EXTRAS` bootstrap list — PyAutoNerves#168 fixed that on main but has not been released — so the tagged notebooks have no other route to the dependencies. Repointing the links at main is the only change that reaches a workshop attendee today. main is the tagged release plus the #63 insertion and nothing else, so the notebooks are otherwise identical to the tag. Also adds the same stopgap to the root start_here.ipynb, which #63 missed (it only walked notebooks/). It runs no fits so it did not crash, but it is the notebook the top README badge opens. Revert both once autonerves > 2026.9.15.1 is on PyPI. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PGmwRWuiKbxf8PKpCJoA96
This was referenced Sep 15, 2026
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.
Why
#63 added the lazy-dependency stopgap (
corner,optax,xxhash,blackjax) to every notebook undernotebooks/— onmain. But every Colab link inREADME.mdpoints at the release tag2026.9.15.1, so a reader clicking a badge opens the tagged notebook, which has no stopgap. Tutorial 5 still dies withNo module named 'corner'after its emcee search completes.#63 said this itself ("the Colab badge links point at release tags, not
main, so a notebook edit alone cannot reach an attendee clicking a README badge") and left the retroactive fix to PyAutoNerves#167/#168. That landed on PyAutoNervesmainbut is not released — PyPI's latestautonervesis2026.9.15.1, whose_SHARED_EXTRASstill lacks all four packages (verified against the published wheel). So the tagged notebooks currently have no route to the dependencies at all.What this does
README.md— repoints all 20 Colab links fromblob/2026.9.15.1/toblob/main/.mainis the tagged release plus fix: install autofit's lazily-imported deps in the Colab setup cell #63's insertion and nothing else (git diff 2026.9.15.1 mainis 19 notebooks, 257 insertions, 0 deletions, plus one README prose paragraph), so the notebooks a reader lands on are otherwise identical to the tag.start_here.ipynb— adds the same stopgap to the root notebook, which fix: install autofit's lazily-imported deps in the Colab setup cell #63 missed because it only walkednotebooks/. It runs no fits so it was not crashing, but it is what the top README badge opens.Verification
Reproduced and fixed in a Python 3.12 environment mirroring Colab's bootstrap (base scientific stack preinstalled, then the released
autonervespackage list installed--no-deps):import autofit2026.9.15.1cornerModuleNotFoundError2.2.2optaxModuleNotFoundError0.2.8xxhashModuleNotFoundErrorblackjaxModuleNotFoundError1.6.2The call paths the tutorials actually hit all import cleanly afterwards:
aplt.corner_cornerpy, themulti_start_gradient(optax) search, the BlackJAX NUTS search, andgraphical/factor_graphs/factor(xxhash).anesthetic,emcee,dynesty,nautilusandpyviswere already covered by the bootstrap list.Notebook edit is a pure insertion: 14 lines added, 0 removed, JSON valid, cell count unchanged, and the install confirmed by
astto sit in thetry/except'selsebranch so it only ever runs on Colab.Note for follow-up
optaxandblackjaxinstalled--no-depsneedabsl-py, which is not in the stopgap list. Colab preinstalls it (via tensorboard) so this works, but the list carries an unstated reliance on Colab's base image. Adding"absl-py"would close that; left out here to avoid touching 19 notebooks immediately before a workshop.Revert conditions
Both changes are stopgaps. Once
autonerves > 2026.9.15.1is on PyPI, the bootstrap installs all four itself, every published notebook is fixed retroactively including tag-pinned ones, and the README links should go back to tag-pinning.🤖 Generated with Claude Code
https://claude.ai/code/session_01PGmwRWuiKbxf8PKpCJoA96
Generated by Claude Code