Repository navigation
Closed
Labels
bugSomething isn't workinghelp wantedExtra attention is neededhigh impactClosing this helps wheelgap the most right now
Description
Paste a repo whose root has a pyproject.toml and no lockfile beside it, and the checker picks that pyproject.toml. If the file has a [tool.uv.sources] table or a [[tool.uv.index]], which most uv projects do, every dependency is skipped and the verdict is a dead end:
# pyproject.toml at the repo root; the uv.lock is in backend/, or isn't committed
[project]
name = "myapp"
dependencies = ["fastapi", "numpy", "mylib"]
[tool.uv.sources]
mylib = { workspace = true }The page shows:
No packages were checked
Not checked: pyproject.toml names an index or source other than PyPI (an --index-url or --extra-index-url line, a [tool.uv] index or sources setting, a Pipfile source), so these may not be PyPI's packages ...
The visitor gets no result and no next step. Often the same repo has a uv.lock or a requirements.txt one folder down that the checker could read in full.
Why
_private()insite/check/driver.pytreats every package of a requirements file,pyproject.tomlorPipfile.lockas private when wheelgap says the input isn't PyPI-only (source.pypi_only). For apyproject.toml, anysourceskey under[tool.uv]is enough (_UV_INDEX_KEYSin wheelgap'ssources.py), even when it only names a workspace member.unreadableReason()insite/check/check-logic.mjsmoves on from an auto-pickedpyproject.tomlonly when wheelgap couldn't read it or it lists no dependencies. Its comment says: "One whose packages were all skipped ... is an answer."verdictText()then says "No packages were checked".
What to do
- Fall through: in
unreadableReason(), also give a reason when apyproject.tomlwas read, lists dependencies, and every one of them was skipped as a private index (result.private.length === result.listed, or the equivalent from the fieldscheck()returns).withoutUnreadable()then tries the repo's next file, exactly as it does for apyproject.tomlwith no dependencies. This only applies to a file the page picked itself. - When there is no other file, or the visitor chose the file, explain better. Replace the verdict with one that says what happened and what to do, for example: "pyproject.toml wasn't checked: it sets [tool.uv] sources, so this page can't tell which packages are PyPI's" and, under it, the command that does check it (
uvx wheelgap pyproject.toml ..., which the page already builds withcliCommand()), and "or commit a uv.lock: the checker reads it in full, with no lookups". - Say in the "What was read" list which file was skipped and why, as it does for a
pyproject.tomlwith no dependencies. - Later (needs a change in wheelgap first, so not this issue): with only
[tool.uv.sources]set and no index setting, the dependencies not named insourcescan only come from PyPI, and could be checked.
Done when:
-
tests/site/check-logic.test.mjscoversunreadableReason()andwithoutUnreadable()for: an auto-pickedpyproject.tomlwith all packages private and another file in the repo (moves on); the same with no other file (stays, with the new verdict text); the same file chosen by the visitor (stays); apyproject.tomlwith some private and some checked packages (stays: it's an answer). -
tests/test_check_driver.pyhas a case for thepyproject.tomlabove that pins whatcheck()returns (listed,packages,private,skipped), so the page's rule has something stable to read. -
tests/site/check-page.test.mjsshows the new verdict and that the CLI command is on the page. - In the PR: a public repo that showed "No packages were checked" before and shows a result now, with before and after screenshots.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workinghelp wantedExtra attention is neededhigh impactClosing this helps wheelgap the most right now
Activity
dianatofficial commentedon Nov 21, 2026
I'll take this on! Working on the fallback in \unreadableReason()\ and \withoutUnreadable()\ when an auto-picked \pyproject.toml\ has all packages skipped as private, the improved verdict explaining [tool.uv] sources\ with the CLI command and uv.lock recommendation, the 'What was read' list, and test coverage across \check-logic.test.mjs, \ est_check_driver.py, and \check-page.test.mjs\ with before/after screenshots.
patrickballard commentedon Nov 21, 2026
Thanks for jumping on this, @dianatofficial, and for the clear plan! #223 is already open for this one, though, so it's the one we'll review.
If you'd like another repo checker issue, #214 is free: when the Fix column says "no newer release has a wheel", the checker could link the package's own tracker page (
p/<name>/) so the visitor has somewhere to go next. It's right next to the code you were looking at insite/app.js.(Reply assisted by Claude.)