refactor!: reference the renamed autonerves package (autoconf → autonerves)#22
Merged
Merged
Conversation
…erves) HowToFit was missed in the PyAutoConf → PyAutoNerves / autoconf → autonerves rename sweep, so its `main` still imported the removed `autoconf` package. Every chapter-3 tutorial subprocesses `scripts/simulators/simulators.py`, whose `util.py` did `from autoconf.dictable import to_dict`, so the whole smoke suite failed with `ModuleNotFoundError: No module named 'autoconf'`. - scripts/notebooks: `from autoconf.dictable import to_dict` → `from autofit import to_dict`; the commented Colab bootstrap `from autoconf import setup_notebook` → `from autofit import setup_notebook` (matches autofit_workspace / HowToLens). - CI chain (.github): clone `PyAutoNerves` instead of `PyAutoConf`. - config/general.yaml + generated markdown: `autoconf/workspace.py` → `autonerves/workspace.py`, `PyAutoConf` → `PyAutoNerves`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ciVftxvYpefh59wSkR7jN
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.
Problem
HowToFit was missed in the
PyAutoConf → PyAutoNerves/autoconf → autonervesrename, somainstill imports the removedautoconfpackage. Its smoke suite fails on all chapter-3 tutorials (both Python 3.12 and 3.13):Every chapter-3 tutorial subprocesses
scripts/simulators/simulators.py, which importsutil.py, so the whole run fails onceautoconfno longer exists on the released/source stack.Fix
Sweep the leftover references, matching the conventions used in the already-merged
autofit_workspaceandHowToLens:from autoconf.dictable import to_dict→from autofit import to_dict(scripts + notebooks)from autoconf import setup_notebook→from autofit import setup_notebook.github): clonePyAutoNervesinstead ofPyAutoConfconfig/general.yaml+ generated markdown:autoconf/workspace.py→autonerves/workspace.py,PyAutoConf→PyAutoNervesNo functional/tutorial changes — pure rename. This restores HowToFit smoke to green.
🤖 Generated with Claude Code
https://claude.ai/code/session_013ciVftxvYpefh59wSkR7jN
Generated by Claude Code