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

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

Merged
merged 7 commits into from
Feb 26, 2025

Conversation

abravalheri
Copy link
Contributor

@abravalheri abravalheri commented Feb 26, 2025

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
Copy link
Member

di commented Feb 26, 2025

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
Contributor Author

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

@di
Copy link
Member

di commented Feb 26, 2025

@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
Contributor Author

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

@abravalheri abravalheri merged commit c0f39c0 into pypa:main Feb 26, 2025
24 checks passed
@abravalheri abravalheri deleted the issue-4853 branch February 26, 2025 20:40
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