Skip to content

Support packages that are using the new importlib.metadata api #808

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 1 commit into from
May 28, 2020

Conversation

uriariel
Copy link
Contributor

Fix issue #807 that I've opened.
The bug is as follows:
Some new python3.8 compatible packages are using the new importlib.metadata package instead of the now-old pkg_resources.
it has a new api, and it breaks inside bpython if "self.watcher" isn't None.
(Frankly I didn't invest the time to look what this "self.watcher" is.
I've just added the required api functionality for the imports to work.

@sebastinas sebastinas merged commit 6ff3d1b into bpython:master May 28, 2020
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