[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 Mingwei Tian
parent c0afd1cd03
commit c8e76f9b92
No known key found for this signature in database
GPG key ID: 0BE002D6A9F508EB
3 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ smart_open
## 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

@ -240,7 +240,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?