Skip to content

Fix aiohttp resolver conflict with Isaac Sim 6.2 - #8056

Merged
kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:codex/fix-aiohttp-resolver
Sep 26, 2026
Merged

kellyguo11 merged 1 commit into
isaac-sim:developfrom
kellyguo11:codex/fix-aiohttp-resolver

Conversation

@kellyguo11

@kellyguo11 kellyguo11 commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Description

uv run isaaclab train can fail before launch because the curated all extra requires aiohttp==3.14.1 through RL-Games while isaacsim-kernel>=6.2.0rc2 requires aiohttp==3.14.3.

This changes the RL-Games requirement to aiohttp>=3.14.1. The security floor remains in place, while an enabled Isaac Sim kernel can select its required patch version. It also adds regression coverage for both the 6.1 and 6.2 kernel selections and regenerates uv.lock.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Screenshots

Not applicable.

Validation

  • Regression test failed with the original exact pin and passed with the fix.
  • uv run --no-project --with pytest --with packaging python -m pytest source/isaaclab/test/cli/test_uv_run_pyproject.py -q — 12 passed
  • uv lock --check
  • Full pre-commit suite, including changelog and Git LFS pointer checks

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks
  • Documentation is not required for this dependency-only fix
  • My changes generate no new warnings
  • I have added tests that prove the fix is effective
  • I have added a changelog fragment under source/isaaclab/changelog.d/
  • My name already exists in CONTRIBUTORS.md

@kellyguo11
kellyguo11 requested a review from a team September 26, 2026 04:20
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team infrastructure labels Sep 26, 2026
@greptile-apps

greptile-apps Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

[Medium risk] Relaxes aiohttp version constraint in RL-Games extra.

The PR appears safe to merge; the remaining concern is non-blocking regression-test coverage.

Findings

  1. P2 Resolver coverage is incomplete ▶

Summary

The PR relaxes the RL-Games aiohttp requirement to accommodate kernel-specific patch versions, updates the lock metadata, and adds a changelog and regression test.

  • The new test checks permitted versions but does not verify that the combined extras resolve.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[RL-Games extra] --> C[aiohttp resolution]
  B[Optional Isaac Sim kernel] --> C
  C --> D[uv run environment]
Loading

Reviews (1) · Last reviewed commit: "Relax aiohttp pin for Isaac Sim kernels"

Comment on lines +203 to +207
optional = _root_pyproject(source_checkout_root)["project"]["optional-dependencies"]
aiohttp = next(Requirement(dependency) for dependency in optional["rl-games"] if dependency.startswith("aiohttp"))

assert Version("3.14.1") in aiohttp.specifier
assert Version("3.14.3") in aiohttp.specifier

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.

P2 Resolver coverage is incomplete. This test checks only whether the RL-Games requirement accepts two aiohttp versions. Isaac Sim is a separate extra, and the test never checks whether its kernel requirement resolves alongside RL-Games. The test could therefore pass while the combined environment still fails to resolve, leaving the reported regression undetected. Please cover the combined selections.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@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 PR minimally resolves the RL-Games/Isaac Sim dependency conflict by widening the RL-Games aiohttp requirement from ==3.14.1 to >=3.14.1, updating lock metadata, adding a focused regression assertion, and documenting the user-visible fix.

  • Design and architecture: The conflict is addressed at the owning rl-games extra rather than through a uv override or an extra-conflict fork, preserving the centralized extras model and allowing the aggregate environment to select the Isaac Sim kernel’s required patch version.
  • API: The dependency contract is widened compatibly: aiohttp 3.14.1 remains accepted while 3.14.3 becomes valid. No extra names or public interfaces are removed or renamed, and the lock metadata matches the project declaration.
  • Implementation: The pyproject declaration, regression test, changelog fragment, and lock metadata are consistent. The other lock changes refresh editable workspace package versions without changing their dependency specifications. A non-blocking tradeoff is that the unbounded lower-bound requirement could admit a future incompatible aiohttp major release.

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.

@kellyguo11

Copy link
Copy Markdown
Contributor Author

run-ci

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 26, 2026
@kellyguo11
kellyguo11 merged commit b830eb6 into isaac-sim:develop Sep 26, 2026
54 checks passed
kellyguo11 added a commit that referenced this pull request Sep 26, 2026
… 6.2 (#8062)

# Description

Backports #8056 to `release/3.0.0`.

This relaxes the RL-Games requirement from `aiohttp==3.14.1` to
`aiohttp>=3.14.1`, allowing supported Isaac Sim kernels to select their
required patch version while retaining the security floor. It includes
the source regression test and `isaaclab` changelog fragment.

The source cherry-pick conflicted only in `uv.lock`. The resolution
preserves the release branch’s package versions and regenerates their
stale workspace metadata at the current release versions instead of
importing develop’s newer versions.

The automatic backport reached conflict resolution but stopped because
the lockfile context exceeded the inference resolver’s
1,500,000-character limit.

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Release backport

- [x] Not applicable: this PR targets `release/3.0.0` directly.

## Screenshots

Not applicable.

## Validation

- The dependency assertion fails on the pre-backport release state and
passes with this change.
- `uv run --no-project --with pytest --with packaging python -m pytest
source/isaaclab/test/cli/test_uv_run_pyproject.py -q` — 12 passed.
- `uv lock --check` passed.
- Repository backport validation accepted exactly the four source paths.
- Changelog fragment validation passed against the current release base.
- Ruff, format check, codespell, and `git diff --check` passed.
- The full `uv run isaaclab -f` command cannot run on this macOS ARM64
host because the project environment excludes this platform; CI is
authoritative for the full gate.

## Checklist

- [x] I have read and understood the contribution guidelines.
- [ ] I have run the full pre-commit command (platform-incompatible;
focused checks passed).
- [x] Documentation is not required for this dependency-only fix.
- [x] My focused checks generate no new warnings.
- [x] The regression test covers both supported aiohttp patch versions.
- [x] I have included the required `isaaclab` changelog fragment.
- [x] Contributor attribution is preserved by the cherry-pick.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants