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: handle incoming invalid dynamic metadata #17390

Merged

Conversation

miketheman
Copy link
Member

@miketheman miketheman commented Jan 10, 2025

Not currently validated by packaging library.
Provides the user a better error message than a 500 response.

Fixes: #17389
Fixes WAREHOUSE-PRODUCTION-252

Not currently validated by `packaging` library.
Provides the user a better error message than a 500 response.

Fixes: pypi#17389

Signed-off-by: Mike Fiedler <[email protected]>
@miketheman miketheman requested a review from a team as a code owner January 10, 2025 19:53
@miketheman miketheman requested a review from ewdurbin January 10, 2025 20:04
Just in case the underlying library changes

Signed-off-by: Mike Fiedler <[email protected]>
@miketheman miketheman merged commit f6161cc into pypi:main Jan 10, 2025
20 checks passed
@miketheman miketheman deleted the miketheman/handle-invalid-dynamic-fields branch January 10, 2025 21:50
di added a commit to di/warehouse that referenced this pull request Jan 14, 2025
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.

HTTPError: 500 Internal Server Error
2 participants