-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Consider removing hook from CPython PathFinder #88
Comments
In GitLab by @jaraco on Sep 11, 2019, 06:41 mentioned in merge request !92 |
In GitLab by @jaraco on Sep 11, 2019, 06:43 changed the description |
In GitLab by @jaraco on Sep 11, 2019, 10:50 In !92, I've enacted option one. Additionally, I've updated the wiki accordingly. |
In GitLab by @jaraco on Oct 26, 2019, 18:36 closed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In GitLab by @jaraco on Sep 11, 2019, 06:26
Given the complicated interactions between
importlib_metadata
andimportlib.PathFinder
, revealed by #86 and also by the recent complications I discovered today where cherry-picked changes toimportlib.PathFinder
from CPython master no longer apply cleanly to the 3.8 branch (due to the generated C header file frommake regen-importlib
), I'd like to consider:importlib.metadata
. This change would address the latter issue (with cherry picks) but not the interaction issue.importlib.PathFinder
functionality out altogether and install aMetaPathFinder
tosys.meta_path
just asimportlib_metadata
does. This approach would substantially reduce the interactions between importlib_metadata and importlib.metadata, although the two would still interact (as both would install DistributionFinders into sys.meta_path).importlib_metadata
on Python 3.8+, or perhaps another way.importlib.metadata
altogether and rely on pip-installedimportlib_metadata
.I'm not fond of any of these approaches, except maybe the first.
@warsaw Do you have any thoughts on it?
The text was updated successfully, but these errors were encountered: