Skip to content

refactor!: reference the renamed autonerves package (autoconf → autonerves)#22

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/pyautoconf-pyautonerves-rename-ik0cgu
Jul 19, 2026
Merged

refactor!: reference the renamed autonerves package (autoconf → autonerves)#22
Jammy2211 merged 1 commit into
mainfrom
claude/pyautoconf-pyautonerves-rename-ik0cgu

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Problem

HowToFit was missed in the PyAutoConf → PyAutoNerves / autoconf → autonerves rename, so main still imports the removed autoconf package. Its smoke suite fails on all chapter-3 tutorials (both Python 3.12 and 3.13):

File ".../scripts/simulators/util.py", line 1
    from autoconf.dictable import to_dict
ModuleNotFoundError: No module named 'autoconf'

Every chapter-3 tutorial subprocesses scripts/simulators/simulators.py, which imports util.py, so the whole run fails once autoconf no longer exists on the released/source stack.

Fix

Sweep the leftover references, matching the conventions used in the already-merged autofit_workspace and HowToLens:

  • from autoconf.dictable import to_dictfrom autofit import to_dict (scripts + notebooks)
  • commented Colab bootstrap from autoconf import setup_notebookfrom autofit import setup_notebook
  • CI chain (.github): clone PyAutoNerves instead of PyAutoConf
  • config/general.yaml + generated markdown: autoconf/workspace.pyautonerves/workspace.py, PyAutoConfPyAutoNerves

No 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

…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
@Jammy2211
Jammy2211 merged commit 3086b3c into main Jul 19, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants