Skip to content

[CI] Cap pip-licenses and restore the missing required check names - #7015

Merged
AntoineRichard merged 6 commits into
isaac-sim:developfrom
hujc7:jichuanh/pin-pip-licenses
Aug 11, 2026
Merged

AntoineRichard merged 6 commits into
isaac-sim:developfrom
hujc7:jichuanh/pin-pip-licenses

Conversation

@hujc7

@hujc7 hujc7 commented Aug 11, 2026 •

Copy link
Copy Markdown
Collaborator

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.0a1 was published 2026-08-10. [tool.uv.pip] prerelease = "allow" lets the
unpinned install in license-check.yaml float onto it, so the dependency license check has been
red on every PR opened since.

6.0.0a1 dropped 5.x's blanket pkg_info[field] = value or LICENSE_UNKNOWN fallback, so the
License column is empty rather than UNKNOWN for packages shipping no license metadata.
license-exceptions.json keys 44 entries on the literal "UNKNOWN", so six packages with
reviewed 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=allow since 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:

skipped   standalone demos (headless, ${{ matrix.runtime-label }})

So on a docs-only PR the required contexts standalone demos (headless, Kit),
standalone demos (headless, non-Kit) and rendering-correctness-kitless (legacy) are never
published at all — they stay in Expected and the PR cannot merge. The other 20 required
contexts publish as skipped, which satisfies the rule. The two matrices arrived with #6704
and #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_name axis and its
exclude entry with a plain if: on the post-merge-only ovstage job. No branch protection change
is needed.

Supersedes #6960 — diagnosis by @AntoineRichard, folded in here at his request.

Validation

Check Result
license gate replayed on the 6.0.0a1 report from the failing run 6 flagged, exit 1 — reproduces CI
license gate replayed on the 5.5.5 report from the last passing run All packages were checked, exit 0
published check names vs develop 2 unexpandable templates → 4 literal names, 25 unchanged
build.yaml job graph 29 jobs parse, every needs: resolves, no matrix jobs remain
uv run isaaclab -f all hooks pass

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.
@hujc7
hujc7 marked this pull request as ready for review August 11, 2026 01:40
@hujc7
hujc7 requested a review from a team August 11, 2026 01:40
@hujc7
hujc7 requested a review from StafaH August 11, 2026 01:40

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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=json report consumed by the existing shell and jq checks, and the cap retains the compatible 5.x format.
  • Implementation: The version specifier is correctly shell-quoted, and <6.0 excludes 6.0.0a1 even with prereleases enabled. Residual CI-tool drift remains: future eligible 5.x prereleases may still resolve, and pipdeptree remains 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-apps

greptile-apps Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Caps the CI-only pip-licenses dependency below 6.0 to prevent prerelease 6.x output changes from breaking dependency-license validation.

  • Adds an upper version bound to the license-reporting tool installation.
  • Documents why prerelease resolution and 6.0.0a1 behavior require the temporary cap.

Confidence Score: 5/5

The 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

Filename Overview
.github/workflows/license-check.yaml The workflow now excludes incompatible 6.x releases while preserving the existing license-check installation and execution flow.

Reviews (1): Last reviewed commit: "[CI] Cap pip-licenses below 6.0 in the d..." | Re-trigger Greptile

@hujc7
hujc7 requested a review from AntoineRichard August 11, 2026 07:04
StafaH and others added 4 commits August 11, 2026 00:36
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]>
@hujc7 hujc7 changed the title [CI] Cap pip-licenses below 6.0 in the dependency license check [CI] Cap pip-licenses and restore the missing required check names Aug 11, 2026
@AntoineRichard
AntoineRichard merged commit 41330c7 into isaac-sim:develop Aug 11, 2026
101 of 103 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants