Repository navigation
Lock CI OVRTX installs to the pyproject version pin - #6630
Conversation
This commit introduces a new GitHub Action that reads the OV runtime pins from the repository's pyproject.toml file. The action ensures that the installed versions of OVRTX and OVPhysX are consistent with the specified versions, providing a single source of truth for versioning in CI workflows. The action is integrated into the build and daily compatibility workflows, replacing hardcoded version specifications with dynamic outputs from the action.
Greptile SummaryThis PR fixes a CI version-pinning bug where
Confidence Score: 5/5Safe to merge; the core fix correctly enforces the pyproject.toml version ceiling across all three CI jobs that previously used bare package names. The action uses set -euo pipefail and sys.exit to fail loudly on any missing key, so a rename or deletion in pyproject.toml will break the CI step rather than silently install an unconstrained version. The workflow changes are straightforward substitutions, and the new test correctly validates the build.yaml regression. No data-loss or correctness risks exist in the changed paths. The regression test in source/isaaclab/test/cli/test_uv_run_pyproject.py does not cover daily-compatibility.yml, leaving that workflow unguarded by automated checks if it were later modified. Important Files Changed
Sequence Diagram%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant WF as CI Workflow Job
participant Action as resolve-ov-pins action
participant PY as pyproject.toml
participant GHO as $GITHUB_OUTPUT
participant PIP as pip install
WF->>Action: uses: ./.github/actions/resolve-ov-pins
Action->>PY: tomllib.load("pyproject.toml")
PY-->>Action: [tool.isaaclab.versions] dict
Note over Action: spec("ovrtx") → "ovrtx>=0.3.0,<0.4.0"<br/>spec("ovphysx") → "ovphysx==0.4.13"
Action->>GHO: "echo "ovrtx=ovrtx>=0.3.0,<0.4.0""
Action->>GHO: "echo "ovphysx=ovphysx==0.4.13""
WF->>WF: extra-pip-packages: steps.ov_pins.outputs.ovrtx
WF->>PIP: "pip install ovrtx>=0.3.0,<0.4.0"
Note over PIP: Version ceiling enforced ✓
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant WF as CI Workflow Job
participant Action as resolve-ov-pins action
participant PY as pyproject.toml
participant GHO as $GITHUB_OUTPUT
participant PIP as pip install
WF->>Action: uses: ./.github/actions/resolve-ov-pins
Action->>PY: tomllib.load("pyproject.toml")
PY-->>Action: [tool.isaaclab.versions] dict
Note over Action: spec("ovrtx") → "ovrtx>=0.3.0,<0.4.0"<br/>spec("ovphysx") → "ovphysx==0.4.13"
Action->>GHO: "echo "ovrtx=ovrtx>=0.3.0,<0.4.0""
Action->>GHO: "echo "ovphysx=ovphysx==0.4.13""
WF->>WF: extra-pip-packages: steps.ov_pins.outputs.ovrtx
WF->>PIP: "pip install ovrtx>=0.3.0,<0.4.0"
Note over PIP: Version ceiling enforced ✓
Reviews (2): Last reviewed commit: "Fix formatting" | Re-trigger Greptile |
AntoineRichard
left a comment
There was a problem hiding this comment.
It looks reasonable. Note there is this PR on the ovphysx side: #6388
|
This is upgraded version of #6620 and uses pyproject as single source of truth. |
## Description Refreshes all 18 Dexsuite Kuka-homo kitless golden images for the Newton physics combinations using the OVRTX and Newton Warp renderers. #6457 corrected the object cube dimensions without regenerating these baselines, leaving a deterministic rendering mismatch that became visible after #6630 restored the intended OVRTX version. Related to #6457 and #6630. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Screenshots The updated golden image assets capture the corrected cube dimensions. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
# Description CI was installing OVRTX through the `extra-pip-packages` input, which runs a bare `./isaaclab.sh -p -m pip install ovrtx` inside the test container. A bare package name is resolved against the index and does **not** consult the repo's `pyproject.toml` — so it ignored the `ovrtx>=0.3.0,<0.4.0` ceiling in `[tool.isaaclab.versions]` (and the `rtx` extra) and pulled OVRTX 0.4. Fixes # (issue) <!-- As a practice, it is recommended to open an issue to have discussions on the proposed pull request. This makes it easier for the community to keep track of what is being developed or added, and if a given feature is demanded by more than one party. --> ## Type of change <!-- As you go through the list, delete the ones that are not applicable. --> - Bug fix (non-breaking change which fixes an issue) - New feature (non-breaking change which adds functionality) - Breaking change (existing functionality will not work without user modification) - Documentation update ## Screenshots Please attach before and after screenshots of the change if applicable. <!-- Example: | Before | After | | ------ | ----- | | _gif/png before_ | _gif/png after_ | To upload images to a PR -- simply drag and drop an image while in edit mode and it should upload the image directly. You can then paste that source into the above before/after sections. --> ## Checklist - [ ] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [ ] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [ ] I have made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [ ] I have added my name to the `CONTRIBUTORS.md` or my name already exists there <!-- As you go through the checklist above, you can mark something as done by putting an x character in it For example, - [x] I have done this task - [ ] I have not done this task --> --------- Co-authored-by: Kelly Guo <[email protected]> Co-authored-by: AntoineRichard <[email protected]>
## Description Refreshes all 18 Dexsuite Kuka-homo kitless golden images for the Newton physics combinations using the OVRTX and Newton Warp renderers. isaac-sim#6457 corrected the object cube dimensions without regenerating these baselines, leaving a deterministic rendering mismatch that became visible after isaac-sim#6630 restored the intended OVRTX version. Related to isaac-sim#6457 and isaac-sim#6630. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Screenshots The updated golden image assets capture the corrected cube dimensions. ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
Description
CI was installing OVRTX through the
extra-pip-packagesinput, which runs a bare./isaaclab.sh -p -m pip install ovrtxinside the test container. A bare packagename is resolved against the index and does not consult the repo's
pyproject.toml— so it ignored theovrtx>=0.3.0,<0.4.0ceiling in[tool.isaaclab.versions](and thertxextra) and pulled OVRTX 0.4.Fixes # (issue)
Type of change
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there