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

Fix build_meta when metadata_directory=='.' #3528

Merged
merged 6 commits into from
Aug 15, 2022

Conversation

abravalheri
Copy link
Contributor

@abravalheri abravalheri commented Aug 15, 2022

PEP 517 does not guarantee that metadata_directory is not used to store other .dist-info directories.

Summary of changes

  • Replace globing with directory walk when looking for .dist-info/.egg-info directories.

Closes #3523

Pull Request Checklist

@abravalheri abravalheri marked this pull request as ready for review August 15, 2022 19:50
@abravalheri abravalheri merged commit bc68a60 into pypa:main Aug 15, 2022
@abravalheri abravalheri deleted the issue-3523 branch August 15, 2022 20:36
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] build_meta glob *.dist-info targets unrelated .dist-info files
1 participant