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

Replace pkg_resource based config source with importlib_resources based one #681

Merged
merged 5 commits into from
Jun 26, 2020

Conversation

omry
Copy link
Collaborator

@omry omry commented Jun 15, 2020

pkg_resources has some issues with pytest plugins and is generally considered slow.
This replaces it with the future compatible importlib_resources package (which will be a part of Python 3.9 as importlib.resources).

In addition, this kills the hydra-pytest-plugin and makes hydra-core provide the fixtures directly (this is now possible due to using importlib_resources).

Closes #719
Closes #717

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 15, 2020
@omry omry changed the title Importlib resources Importlib resources : WIP Jun 17, 2020
@omry omry force-pushed the importlib-resources branch 2 times, most recently from fed8381 to 89fd7ae Compare June 25, 2020 06:58
@omry omry force-pushed the importlib-resources branch 2 times, most recently from 0e9ee23 to bc1471b Compare June 25, 2020 16:37
@omry omry changed the title Importlib resources : WIP Replace pkg_resource based config source with importlib_resources based one Jun 25, 2020
@omry omry force-pushed the importlib-resources branch 3 times, most recently from f601511 to 91de44f Compare June 26, 2020 01:35
@omry omry merged commit e44d11e into master Jun 26, 2020
@omry omry deleted the importlib-resources branch July 12, 2020 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
2 participants