Skip to content

site: use importlib instead of adhoc file searches - #3900

Merged
kasteph merged 1 commit into
python-poetry:masterfrom
abn:fix/pep610-case-sensitivity
Apr 10, 2021
Merged

kasteph merged 1 commit into
python-poetry:masterfrom
abn:fix/pep610-case-sensitivity

Conversation

@abn

@abn abn commented Apr 8, 2021 •

Copy link
Copy Markdown
Member

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
Copy Markdown
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

abn commented Apr 9, 2021

Copy link
Copy Markdown
Member Author

@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

lkev commented Jul 7, 2022

Copy link
Copy Markdown

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
Copy Markdown

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

@github-actions

github-actions Bot commented Mar 3, 2024

Copy link
Copy Markdown

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