Repository navigation
chore: remove leftover networkx installs, pin and comments (post-#3041) - #3056
Merged
Merged
Conversation
#3054 removed networkx from the engine; these still installed or cited it. - action.yml full_precision step + description, templates/{azure,bitbucket, github,gitlab}, templates/scan.yml, azure-/bitbucket-pipelines.yml: stop installing networkx. - rosetta-audit baseline venv: drop networkx (the baseline is post-#3041 main now). - gitgalaxy/requirements.txt: drop the networkx==3.6.1 pin. - Comments and test docstrings: None now means "past its work budget" or "a failed computation", never "no networkx". Kept: networkx in the smoke/full-suite test installs (the parity oracle). numpy stays: the ML threat model (pandas/xgboost) requires it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.
Follow-up to #3054 (#3041, the native graph engine epic #3033). #3054 removed networkx from the engine, but several install lines, a pin and comments still referred to it. This PR cleans those up. It changes no engine behaviour or output.
What changed
action.yml'sfull_precisionstep and its input description, plus the CI templates intemplates/{azure,bitbucket,github,gitlab}/andtemplates/scan.yml, no longerpip install networkx. The action's description no longer says Blast Radius needs an optional engine.azure-pipelines.ymlandbitbucket-pipelines.yml(two lines) drop networkx.gitgalaxy/requirements.txt: drops thenetworkx==3.6.1pin. Nothing installs from this file: CI'sif [ -f requirements.txt ]looks at the repo root.galaxyscope.py,record_keeper.pyandllm_recorder.pyand test docstrings no longer name "no networkx" as a reason a metric can be None. The real reasons now are "past its work budget" or "a failed computation".Kept on purpose
tests/tools/graph_parity.py, and without it the parity tests would skip instead of run.security_auditor.py(the feature matrix'slog1p/nan/argmax). Both pandas and xgboost require numpy themselves, so it stays in thefullextra. The graph engine never needed it.Verification
pytestpasses on the touched test files (220 passed), includingtest_no_networkx_runtime.py.audit_check.py: all clear.safe_load_all.🤖 Generated with Claude Code