Skip to content

bump gymnasium to 1.2.2 - #59607

Merged
ArturNiederfahrenhorst merged 2 commits into
masterfrom
byod-rllib-bump-gymnasium
Dec 29, 2025
Merged

ArturNiederfahrenhorst merged 2 commits into
masterfrom
byod-rllib-bump-gymnasium

Conversation

@kamil-kaczmarek

Copy link
Copy Markdown
Contributor

Description

bump gymnasium to 1.2.2 in byod-rllib
follow up on:

related:

Signed-off-by: Kamil Kaczmarek <[email protected]>
@kamil-kaczmarek kamil-kaczmarek self-assigned this Dec 20, 2025
@kamil-kaczmarek kamil-kaczmarek added rllib RLlib related issues go add ONLY when ready to merge, run all tests labels Dec 20, 2025

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request bumps the version of gymnasium to 1.2.2 in the byod_rllib.sh script. My review focuses on ensuring dependency consistency. I've suggested explicitly pinning the mujoco version to align with the project's test requirements, which will improve maintainability and prevent potential environment discrepancies.

set -exo pipefail

pip3 install -U "gymnasium[mujoco]"==1.1.1 ale_py==0.10.1 imageio==2.34.2 opencv-python-headless==4.9.0.80
pip3 install -U "gymnasium[mujoco]"==1.2.2 ale_py==0.10.1 imageio==2.34.2 opencv-python-headless==4.9.0.80

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.

medium

To ensure dependency consistency across different environments, it's better to explicitly pin the mujoco version. The rllib-test-requirements.txt file pins mujoco==3.2.4. This script should do the same to avoid potential discrepancies.

Installing gymnasium and mujoco separately ensures that the correct version of mujoco is used, matching the one specified in the test requirements.

Suggested change
pip3 install -U "gymnasium[mujoco]"==1.2.2 ale_py==0.10.1 imageio==2.34.2 opencv-python-headless==4.9.0.80
pip3 install -U gymnasium==1.2.2 mujoco==3.2.4 ale_py==0.10.1 imageio==2.34.2 opencv-python-headless==4.9.0.80

@ArturNiederfahrenhorst
ArturNiederfahrenhorst merged commit d1b36f7 into master Dec 29, 2025
@ArturNiederfahrenhorst
ArturNiederfahrenhorst deleted the byod-rllib-bump-gymnasium branch December 29, 2025 12:37
AYou0207 pushed a commit to AYou0207/ray that referenced this pull request Jan 13, 2026
## Description
bump gymnasium to 1.2.2 in byod-rllib
follow up on:
* ray-project#59530

related:
* ray-project#59572

Signed-off-by: Kamil Kaczmarek <[email protected]>
Signed-off-by: jasonwrwang <[email protected]>
ZacAttack added a commit to ZacAttack/ray that referenced this pull request Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests rllib RLlib related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants