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

legacy: lingering PEP 527 changes #13881

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

woodruffw
Copy link
Member

PEP 527 has been fully implemented as of #6792, meaning that these parts of the file upload logic have been effectively unreachable for a long time (both the form and distribution filename validation prevent any non-PEP 527 filenames/files from reaching this function).

As such, this should (🤞) be just a straightforward deletion. If additional tests are desired, I can add some positive tests that assert that form and filename validation are always performed ahead of this function.

Signed-off-by: William Woodruff <william@trailofbits.com>
@woodruffw woodruffw requested a review from a team as a code owner June 7, 2023 03:51
@woodruffw woodruffw self-assigned this Jun 7, 2023
@ewdurbin ewdurbin merged commit 0e3ac7d into pypi:main Jun 7, 2023
@ewdurbin ewdurbin deleted the ww/pep-527-cleanup branch June 7, 2023 04:04
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.

3 participants