Skip to content

Fix build_meta when metadata_directory=='.'#3528

Merged
abravalheri merged 6 commits into
pypa:mainfrom
abravalheri:issue-3523
Aug 15, 2022
Merged

Fix build_meta when metadata_directory=='.'#3528
abravalheri merged 6 commits into
pypa:mainfrom
abravalheri:issue-3523

Conversation

@abravalheri

@abravalheri abravalheri commented Aug 15, 2022

Copy link
Copy Markdown
Contributor

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