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

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

Merged
merged 1 commit into from May 28, 2020

Conversation

@uriariel
Copy link
Contributor

uriariel commented May 27, 2020

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
1 check was pending
1 check was pending
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.