Repository navigation
bump gymnasium to 1.2.2 - #59607
bump gymnasium to 1.2.2#59607
Conversation
Signed-off-by: Kamil Kaczmarek <[email protected]>
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
| 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 |
## 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]>
This reverts commit d1b36f7.
Description
bump gymnasium to 1.2.2 in byod-rllib
follow up on:
related: