Skip to content

Only check for .dist-info directories at the top-level #7519

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

Conversation

chrahunt
Copy link
Member

Previously we were restricting to a single .dist-info directory anywhere
in the unpacked wheel directory. That was incorrect since only a
top-level .dist-info directory indicates a contained "package". Now we
limit our restriction to top-level .dist-info directories, which was the intent in #7494.

As mentioned in #7494 (comment).

Marking as trivial since this prior change was unreleased.

@chrahunt chrahunt added skip news Does not need a NEWS file entry (eg: trivial changes) type: bugfix labels Dec 28, 2019
Copy link
Member

@sbidoul sbidoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, works fine.

Previously we were restricting to a single .dist-info directory anywhere
in the unpacked wheel directory. That was incorrect since only a
top-level .dist-info directory indicates a contained "package". Now we
limit our restriction to top-level .dist-info directories.
@chrahunt chrahunt force-pushed the bugfix/restrict-two-dist-info-dirs-toplevel-only branch from 22f5136 to 93900e1 Compare December 28, 2019 20:49
@chrahunt chrahunt marked this pull request as ready for review December 28, 2019 22:36
@chrahunt chrahunt merged commit dc860e8 into pypa:master Dec 29, 2019
@chrahunt chrahunt deleted the bugfix/restrict-two-dist-info-dirs-toplevel-only branch December 29, 2019 12:16
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jan 28, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jan 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants