Repository navigation
[CI] Cap pip-licenses and restore the missing required check names - #7015
Conversation
pip-licenses 6.0.0a1 was published to PyPI on 2026-08-10, and ``[tool.uv.pip] prerelease = "allow"`` let the unpinned install float onto it, turning the license check red on every PR opened afterwards. 6.0.0a1 reports an empty License string where 5.x reports ``UNKNOWN`` for packages that ship no license metadata. license-exceptions.json keys on the literal ``UNKNOWN``, so cmeel-qhull, egl_probe, osqp, pyglet, rl_games, and robomimic were all flagged despite having reviewed exceptions. 6.0.0a1 also joins multi-license strings from an unordered set, so docutils, hidapi, and python-dateutil come out in a different order between runs of the same environment, which makes the report unreproducible. No dependency needs 6.x, so cap below 6.0 until it ships stable and the behaviour change can be reviewed on its own.
There was a problem hiding this comment.
Isaac Lab Review Bot
The workflow now caps pip-licenses below 6.0 at the CI installation boundary, preserving the 5.x output behavior expected by the existing license gate without changing exception data or gate logic.
- Design and architecture: The workaround is localized to CI dependency resolution, where prerelease exposure originates. This is a proportionate, minimal change that leaves the downstream license policy and reviewed exceptions intact.
- API: No Isaac Lab package, public symbol, CLI, or user-facing behavior changes. The relevant compatibility surface is the
pip-licenses --from=mixed --format=jsonreport consumed by the existing shell andjqchecks, and the cap retains the compatible 5.x format. - Implementation: The version specifier is correctly shell-quoted, and
<6.0excludes6.0.0a1even with prereleases enabled. Residual CI-tool drift remains: future eligible 5.x prereleases may still resolve, andpipdeptreeremains unpinned, although it is used only for the separate visibility step.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
Greptile SummaryCaps the CI-only
Confidence Score: 5/5The PR appears safe to merge because the new bound directly excludes the incompatible prerelease without conflicting with repository dependencies or workflow conventions. The constrained installation remains compatible with the existing workflow and requirements, and no concrete blocking or non-blocking defect was identified. Important Files Changed
Reviews (1): Last reviewed commit: "[CI] Cap pip-licenses below 6.0 in the d..." | Re-trigger Greptile |
Branch protection matches a required status check by its literal name. GitHub only expands a matrix when it schedules the job, so a skipped matrix job publishes its check run with the matrix expression unexpanded. On a docs-only pull request the three required contexts `standalone demos (headless, Kit)`, `standalone demos (headless, non-Kit)` and `rendering-correctness-kitless (legacy)` were therefore never published at all, leaving them in `Expected` and blocking the merge. Write both matrix jobs out per variant so each name is static and is published whether the job runs or is skipped. Kit no longer carries the non-Kit OVPhysX pin step, and the kitless variants drop the synthetic `event_name` matrix axis and its `exclude` entry in favour of a plain `if:` on the post-merge-only ovstage job. Co-authored-by: AntoineRichard <[email protected]>
…jichuanh/pin-pip-licenses
Summary
Two independent CI defects, both blocking pull requests that have nothing wrong with them.
1. The license check floats onto a prerelease
pip-licenses 6.0.0a1was published 2026-08-10.[tool.uv.pip] prerelease = "allow"lets theunpinned install in
license-check.yamlfloat onto it, so the dependency license check has beenred on every PR opened since.
6.0.0a1 dropped 5.x's blanket
pkg_info[field] = value or LICENSE_UNKNOWNfallback, so theLicensecolumn is empty rather thanUNKNOWNfor packages shipping no license metadata.license-exceptions.jsonkeys 44 entries on the literal"UNKNOWN", so six packages withreviewed exceptions were flagged:
cmeel-qhull,egl_probe,osqp,pyglet,rl_games,robomimic. It also joins the license set unsorted, so multi-license strings reorder run to run.Change:
pip-licenses→"pip-licenses<6.0", which resolves to 5.5.5 even under--prerelease=allowsince PEP 440 excludes prereleases of the capped version.2. Required check names are never published on docs-only PRs
Branch protection matches a required status check by its literal name, and GitHub only expands a
matrix when it schedules the job. A skipped matrix job therefore publishes its check run with
the expression unexpanded:
So on a docs-only PR the required contexts
standalone demos (headless, Kit),standalone demos (headless, non-Kit)andrendering-correctness-kitless (legacy)are neverpublished at all — they stay in
Expectedand the PR cannot merge. The other 20 requiredcontexts publish as
skipped, which satisfies the rule. The two matrices arrived with #6704and #6767.
Change: both matrix jobs are written out per variant, so each name is static and is published
whether the job runs or is skipped. Job bodies are otherwise unchanged — Kit drops the non-Kit
OVPhysX pin step, and the kitless variants replace the synthetic
event_nameaxis and itsexcludeentry with a plainif:on the post-merge-only ovstage job. No branch protection changeis needed.
Supersedes #6960 — diagnosis by @AntoineRichard, folded in here at his request.
Validation
All packages were checked, exit 0build.yamljob graphneeds:resolves, no matrix jobs remainuv run isaaclab -f