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

site: use importlib instead of adhoc file searches #3900

Merged
merged 1 commit into from
Apr 10, 2021

Conversation

abn
Copy link
Member

@abn abn commented Apr 8, 2021

This change replaces various cases in which installed distribution and
file look-ups used path searches with importlib.metadata backed
look-ups.

This fixes issues with dist-info lookup for PEP610 implementation as
well as .pth file look-up and dist-info removal.

Resolves: #2918
Resolves: #3289
Resolves: #2855

@abn abn requested a review from a team April 8, 2021 23:22
@sdispater
Copy link
Member

It seems that the CI errors on Cirrus are due to these changes. Could you take a look?

@abn abn force-pushed the fix/pep610-case-sensitivity branch from 1de8de7 to d4c9263 Compare April 9, 2021 14:15
@abn abn changed the title pep610: handle mixed case dist-info names site: use importlib instead of adhoc file searches Apr 9, 2021
@abn abn force-pushed the fix/pep610-case-sensitivity branch 2 times, most recently from 2433f5a to c588f6d Compare April 9, 2021 14:34
This change replaces various cases in which installed distribution and
file look-ups used path searches with importlib.metadata backed
look-ups.

This fixes issues with `dist-info` lookup for PEP610 implementation as
well as `.pth` file look-up and `dist-info` removal.
@abn abn force-pushed the fix/pep610-case-sensitivity branch from c588f6d to b66cd8e Compare April 9, 2021 14:43
@abn
Copy link
Member Author

abn commented Apr 9, 2021

@sdispater this should be good now. Instead of trying to make the previous fix work on freebsd, I ended up fixing the underlying issue. This should be good to review now.

@lkev
Copy link

lkev commented Jul 7, 2022

Hi, is this fix included in the latest version of poetry (1.1.13)?

I'm still running into the issue in #2918.

@simonprovost
Copy link

Same here, running into the issue! @lkev found something?

Copy link

github-actions bot commented Mar 3, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
5 participants