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

Tests: don't use editable mode, use import-mode=append #2429

Merged
merged 1 commit into from
Sep 29, 2021
Merged

Tests: don't use editable mode, use import-mode=append #2429

merged 1 commit into from
Sep 29, 2021

Conversation

JesseFarebro
Copy link
Contributor

Long story short, ale-py uses a namespace package of gym.envs.atari and namespace packages aren't supported by setuptools editable mode. This is being worked on with native editable support in pip. I don't know the reason for having our test Dockerfile install as editable, but this shouldn't matter.

We also have to use --import-mode=append so it'll pick up the installed package instead of the local gym/ directory. We could also just change directories but this will work for now.

@jkterry1 jkterry1 merged commit c755d5c into openai:master Sep 29, 2021
@kir0ul kir0ul mentioned this pull request Apr 23, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants