Repository navigation
docs: remove early development warning - #3631
Merged
Merged
Conversation
Signed-off-by: Chris Wing <[email protected]>
cwing-nvidia
force-pushed
the
docs/remove-early-warning
branch
from
September 22, 2026 21:33
3ec4dbc to
0154c02
Compare
sephmard
approved these changes
Sep 22, 2026
Contributor
|
🔄 Merge queue validation started! You can track the progress here: https://github.com/NVIDIA-NeMo/Gym/actions/runs/35788674613 |
cmunley1
pushed a commit
that referenced
this pull request
Sep 23, 2026
## What does this PR do? Fix the OSWorld agent's Python 3.13 dependency-resolution failure by correcting the OSWorld package metadata at its source, rather than adding another NumPy override or changing Gym's shared installer. - Update both OSWorld consumers to [JeffPengCoder/OSWorld@f32ab2b7](JeffPengCoder/OSWorld@f32ab2b), now published on `nv-gym`. - Remove the redundant NumPy overrides from the agent and resources server. Their normal `numpy>=2.1,<2.5` requirements remain unchanged. - Update revision documentation and dependency-policy tests. No Gym Core, CI workflow, root dependency, or other-agent changes. The fork commit synchronizes `pyproject.toml`, `requirements.txt`, and `setup.py`: Python <3.13 retains NumPy 1.26/OpenCV 4.8; Python >=3.13 declares NumPy >=2.1,<3 with headless OpenCV >=4.10.0.84,<5. It adds 18 marker/ABI-pair regression cases. These are compatibility ranges, not experimental version locks. ## Why is this needed? The [scheduled server-suite failure](https://github.com/NVIDIA-NeMo/Gym/actions/runs/35816620013/job/107039403224) occurs before OSWorld tests run: ```text osworld==0.1.0 depends on numpy<2 the agent requires numpy>=2.1,<2.5 No solution found ``` #3592 introduced the agent's NumPy 2 requirement while its pinned OSWorld archive still declared `numpy<2`. `osworld==0.1.0` is the fork package's metadata version; CI already downloads our explicit GitHub archive, not an unrelated PyPI package. The later README-only #3631 did not introduce this regression. The role's `uv.toml` NumPy override depended on explicit config loading in the still-open #3591. Current main's generated requirements install does not load that role config in this checkout layout. Fixing the fork metadata removes this particular dependency on #3591. Its other runtime/embedded-Ray changes remain separate and are not claimed fixed here. ## Validation - Reproduced the original NumPy resolver conflict on the old archive. - Real Linux x86_64 / Python 3.13.14 dependency resolution passed for both agent and resources server using the published new archive, without NumPy overrides. - Gym's actual generated agent install command also passed with only `--dry-run` and a Linux target added, in a fresh temporary venv and including the parent's Ray 2.56.1/OpenAI 2.44.0 requirements: **350 packages resolved**. - OSWorld agent, resources-server, and benchmark regression suites: **353 passed**, run in the existing development venv. - Fork regression suite: **18 passed**; it failed against the old metadata. Built the fork wheel and inspected the emitted conditional `Requires-Dist` entries. - Isolated CPython 3.13.14 NumPy/OpenCV imports and PNG encode/decode passed for NumPy 2.1.0 and 2.4.6, both with OpenCV 4.10.0.84, on macOS ARM64. - `pre-commit run --all-files` and `git diff --check`: passed. The full eight-shard server suite and a fresh Linux managed-venv installation are left to CI; resolver checks are not a claim that those runs completed locally. ## Compatibility and benchmark impact The fork's `desktop_env`, `mm_agents`, and `evaluation_examples` Git tree IDs are byte-identical to the previous pinned revision. Tasks, evaluators, prompts, parser, history policy, and exact-trace behavior are unchanged. Existing Gym role runtime ranges are also unchanged; only their upstream metadata conflict is removed. Model rollout: **N/A for this metadata-only fix**. No new model score or training result is claimed. Other stale dependency overrides are intentionally retained; this is not a general OSWorld packaging migration. Signed-off-by: Jeff Peng <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove the early-development warning from the README.
Testing
Not run (documentation-only change).