[rllib] Upper bound gym version (#22510)

gym had 0.22 release today which is breaking a lot of the rllib tests and examples. Temporarily pins gym version for now.
This commit is contained in:
Amog Kamsetty 2022-02-18 17:39:22 -08:00 committed by GitHub
parent 6a17653ba7
commit 04feea4afe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ virtualenv
## setup.py extras
dm_tree
flask
gym>=0.21.0; python_version >= '3.7'
gym>=0.21.0,<0.22.0; python_version >= '3.7'
gym==0.19.0; python_version < '3.7'
lz4
scikit-image

View file

@ -4,7 +4,7 @@
# ---------------------
# Atari
autorom[accept-rom-license]
gym[atari]>=0.21.0; python_version >= '3.7'
gym[atari]>=0.21.0,<0.22.0; python_version >= '3.7'
gym[atari]==0.19.0; python_version < '3.7'
# Kaggle envs.
kaggle_environments==1.7.11

View file

@ -245,7 +245,7 @@ if setup_spec.type == SetupType.RAY:
setup_spec.extras["rllib"] = setup_spec.extras["tune"] + [
"dm_tree",
"gym",
"gym<0.22",
"lz4",
# matplotlib (dependency of scikit-image) 3.4.3 breaks docker build
# Todo: Remove this when safe?