Skip to content

Rename mlagents.envs to mlagents_envs #3083

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

Merged
merged 8 commits into from
Dec 14, 2019

Conversation

chriselion
Copy link
Contributor

@chriselion chriselion commented Dec 12, 2019

#2902, take two. Motivation from the original PR:

The old naming scheme relied on PEP420 which was causing problems with pylint (had to disable a warning) and mypy (couldn't enable --namespace-packages without hitting python/mypy#7510, but this missed some errors).

I've since enabled mypy --namespace-packages and fixed the errors.

One thing I need to check is that the we can still build packages with this.

Will also drop a note in the migration guide.

@chriselion chriselion changed the title Develop mla 426 rename mlagents.envs Rename mlagents.envs to mlagents_envs Dec 12, 2019
@chriselion chriselion requested review from ervteng and harperj and removed request for ervteng December 12, 2019 22:59
packages=[
"mlagents_envs",
"mlagents_envs.communicator_objects",
], # Required # TODO SIDE CHANNELS
Copy link
Contributor Author

@chriselion chriselion Dec 12, 2019

Choose a reason for hiding this comment

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

This was a bug waiting to happen - side_channels directory wasn't in the built packages. I'm switching it to automatically find the directories.

Copy link
Contributor

@ervteng ervteng left a comment

Choose a reason for hiding this comment

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

Seems good, nothing weird as far as I can tell

@chriselion chriselion merged commit 54125ef into master Dec 14, 2019
@delete-merged-branch delete-merged-branch bot deleted the develop-MLA-426-rename-mlagents.envs branch December 14, 2019 22:56
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants