Skip to content

Update WorkingSet.find to consider standardised .dist-info directory names.#4856

Merged
abravalheri merged 7 commits into
pypa:mainfrom
abravalheri:issue-4853
Feb 26, 2025
Merged

Update WorkingSet.find to consider standardised .dist-info directory names.#4856
abravalheri merged 7 commits into
pypa:mainfrom
abravalheri:issue-4853

Conversation

@abravalheri

@abravalheri abravalheri commented Feb 26, 2025

Copy link
Copy Markdown
Contributor

Summary of changes

Alternative to #4855

Closes #4853.

/cc @di: We wore working kind of in parallel on this. What are your thoughts? I don't have any strong preference regarding the 2 proposed approaches (either #4855 or #4856 are fine to me).

Pull Request Checklist

@di

di commented Feb 26, 2025

Copy link
Copy Markdown
Member

I think changing the key everywhere and not just in find seems like the more consistent approach, but this could possibly be less disruptive? I'll leave it to you to decide.

@abravalheri

Copy link
Copy Markdown
Contributor Author

I will have a look shortly on the windows path normalisation thing going on with the failing test.

@di

di commented Feb 26, 2025

Copy link
Copy Markdown
Member

@abravalheri Looks like this is a better solution, there is a test failing in #4855 that is related to namespace packages that this seems to avoid.

@abravalheri abravalheri marked this pull request as ready for review February 26, 2025 19:35
@abravalheri

Copy link
Copy Markdown
Contributor Author

Thanks @di, let's go with this one then and get it out soon.

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.

[BUG] packages of the form package.something renamed to package_something in 75.8.1

2 participants