Repository navigation
Name the missing tier3 extra when evaluate runs on a base install - #627
Merged
Merged
Conversation
evaluate and tier3 evaluate turned the ImportError for harbor into a bare 'Error: No module named harbor'. Report the missing tier3 extra instead, as the tier3 PATH workflow already does. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
chrisknvidia
requested review from
mosheabr,
rmalani-nv and
rng1995
as code owners
November 16, 2026 09:15
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
evaluate rewrote every ImportError as the install-skillevaluator[tier3] hint, which would hide an import bug inside Tier 3 code. Check the missing module name against the packages the tier3 extra installs and keep the original error otherwise. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
Keep both missing-extra changelog entries (doctor from main first, then evaluate). The evaluate handlers reuse is_missing_tier3_extra and the same install hint that doctor reports. Signed-off-by: Christopher Kevin <christopherk@nvidia.com>
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
On a base install (
pip install skillevaluator, notier3extra),skillevaluator evaluate PATHandskillevaluator tier3 evaluate PATHprint only:which does not say what to install. The
tier3 PATHworkflow already reportsTier 3 dependencies are not installed. Install skillevaluator[tier3] and try again.;evaluatenow catches theImportErrorand prints the same message (exit 1).Reproduced from a clean base install of the current
mainon Python 3.12; with this change both commands print the install hint.Verification
make lintmake test(rantests/test_cli.py,tests/test_base_install.pyandtests/cli: 232 passed; the new tests fail without the fix)make buildRelease Impact
CHANGELOG.mdCloses #633