Repository navigation
fix: crucible_check.py zero-dep venv missing PyYAML - #727
Merged
Merged
Conversation
Found while verifying #617 (yaml strict-parsing) end-to-end: the zero-dep venv path never ran a plain `pip install -e .`, only the --no-deps refresh step, so it never picked up pyproject.toml's core dependencies (PyYAML is a hard requirement, not a "full-precision" extra like networkx/tiktoken). This produced a spurious single-field golden_crucible diff ("Missing Dependencies/pyyaml": expected False, got True) unrelated to any real code change -- caught immediately by using the script against a clean main checkout, i.e. exactly the kind of drift this script exists to catch. Fix: run one full (non --no-deps) install at venv-creation time so core deps land, before the "full precision" extras (if any) go on top. The always-run refresh step stays --no-deps, since core deps are already satisfied after creation. Co-Authored-By: Claude Sonnet 5 <[email protected]>
29 tasks
Contributor
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
crucible_check.py's zero-dep venv path never ran a plainpip install -e ., only the--no-depsrefresh, so it never picked uppyproject.toml's core dependencies (PyYAML is ahard requirement, not a full-precision extra). Caught immediately dogfooding the script
against a clean
mainwhile verifying #617 -- produced a spurious single-field diff(
Missing Dependencies/pyyaml) with no real code behind it.Test plan
.crucible_venvs/zero_dependency--crucible_check.py --mode bothnow reports clean PASS on both legs against unmodified
main.🤖 Generated with Claude Code