Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI error due to gym's version #159

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

muupan
Copy link
Member

@muupan muupan commented Sep 7, 2021

Resolves #158

Why this PR resolves the issue:

  • Since gym==0.19.0, pip install gym no longer install pyglet, which causes this error since the monitor functionality of classic control envs requires pyglet.
  • Now users need to install gym[classic_control] so that pyglet is also installed.

Both atari_py and opencv-python are included in gym[atari], so it must be safe to stop installing them manually. See https://github.com/openai/gym/blob/a4c3f15e9b0c7525ec9006e92a3bf6bc8bd0a798/setup.py#L11-L19

both atari_py and opencv-python are included in gym[atari].
@muupan
Copy link
Member Author

muupan commented Sep 7, 2021

/test

@pfn-ci-bot
Copy link

Successfully created a job for commit a628a7c:

@muupan muupan changed the title [WIP] Fix CI error due to gym's version Fix CI error due to gym's version Sep 7, 2021
Copy link
Contributor

@marioyc marioyc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marioyc marioyc merged commit edc5a35 into pfnet:master Sep 7, 2021
@muupan muupan deleted the fix-ci-monitor-test branch September 8, 2021 02:11
@muupan muupan added this to the v0.4.0 milestone Jul 16, 2023
@muupan muupan added the testing Changes related to testing/reviewing/CI label Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Changes related to testing/reviewing/CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pfrl/tests/wrappers_tests/test_monitor.py fails in pfn-public-ci/pfrl.cpu
3 participants