Repository navigation
Add scikit-learn to the full extra so the real-model ML test runs (Part of #2986) - #6163
Merged
Merged
Conversation
…rt of #2986) xgboost.XGBClassifier raises ImportError without scikit-learn, so gitgalaxy[full] could not load any model. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 23, 2026 05:30
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 23, 2026 05:34
Contributor
squid-protocol
added a commit
that referenced
this pull request
Oct 24, 2026
…#2986) (#6323) #6163 put scikit-learn in the `full` extra, but CI installs the hash-locked ci/requirements set, which had xgboost without scikit-learn, so test_ml_real_model_2986 still skipped in CI. Pin it in engines.in, relock, and test that the locks carry it. Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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.
Part of #2986.
What
pyproject.toml:scikit-learnadded to thefullextra (XGBClassifierraisesImportErrorwithout it).README.md,docs/zero_dependency_mode.md: install line, ML heading ("all four") and the ai_threat layer unexercised in validation scans (ML deps absent) — provide a full-deps leg or document the boundary #2986 boundary bullet updated.test_ml_boundary_2986.py: new pin test thatfullcarries xgboost, scikit-learn, pandas, numpy.test_ml_real_model_2986.py: skip reason reworded.Class table
pyproject.tomlfull extraci/requirements/engines.in/.txt(golden legs),templates/requirements/full.*full.inisgitgalaxy[full]==2.11.0, so it follows the next releasemissing_dependencieshas no scikit-learn entryCross-repo
None.
Gates
pr_gates --fast7/7; related tests 203 passed; real-model test 9 passed with scikit-learn on a scratch path. No parsing change, golden-neutral.Lessons for agents
ruff format <dir>reformats unrelated files in it: format only the files you changed.🤖 Generated with Claude Code