Skip to content

Commit a4b080f

Browse files
committed
Pin pyglet to solve glPush bug
1 parent 26cd166 commit a4b080f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ def get_local_version(version: "ScmVersion", time_format="%Y%m%d") -> str:
193193
# for our users.
194194
install_requires=[
195195
"gym[classic_control]" + GYM_VERSION_SPECIFIER,
196+
# TODO(adam): remove pyglet dependency once Gym upgraded to >0.21
197+
# Workaround for https://github.com/openai/gym/issues/2986
198+
# Discussed in https://github.com/HumanCompatibleAI/imitation/pull/603
199+
"pyglet==1.5.27",
196200
"matplotlib",
197201
"numpy>=1.15",
198202
"torch>=1.4.0",

0 commit comments

Comments
 (0)