Skip to content

Commit c240ee8

Browse files
committed
Update
[ghstack-poisoned]
1 parent 9df6d74 commit c240ee8

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/unittest/linux_libs/scripts_gym/run_all.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -185,20 +185,22 @@ printf "* Testing gym 0.13\n"
185185
run_tests
186186
uv pip uninstall gym atari-py
187187

188-
# Test gym 0.19 (broken metadata, use pip instead of uv)
188+
# Test gym 0.19 (broken metadata, use pip with --no-build-isolation)
189189
printf "* Testing gym 0.19\n"
190-
pip install wheel==0.38.4
191-
pip install gym==0.19
190+
pip install wheel==0.38.4 setuptools==65.3.0
191+
pip install gym==0.19 --no-build-isolation
192192
run_tests
193193
pip uninstall -y gym wheel
194+
uv pip install setuptools wheel # restore latest versions
194195

195196
# Test gym 0.20
196197
printf "* Testing gym 0.20\n"
197-
pip install wheel==0.38.4
198-
pip install 'gym[atari]==0.20'
198+
pip install wheel==0.38.4 setuptools==65.3.0
199+
pip install 'gym[atari]==0.20' --no-build-isolation
199200
pip install ale-py==0.7
200201
run_tests
201202
pip uninstall -y gym ale-py wheel
203+
uv pip install setuptools wheel # restore latest versions
202204

203205
# Test gym 0.25
204206
printf "* Testing gym 0.25\n"

0 commit comments

Comments
 (0)