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

HTTPError: 500 Internal Server Error #17389

Closed
AnthonyLim23 opened this issue Jan 10, 2025 · 1 comment · Fixed by #17390
Closed

HTTPError: 500 Internal Server Error #17389

AnthonyLim23 opened this issue Jan 10, 2025 · 1 comment · Fixed by #17390
Labels

Comments

@AnthonyLim23
Copy link

Describe the bug

My github action for automatically uploading my project to PyPi used to work (Oct/Nov). However, it now produces the error HTTPError: 500 Internal Server Error https://github.com/ISISMuon/MuonDataLib/actions/runs/12713026079/job/35440721845?pr=37

I updated the upload/download versions as part of a PR, but I cannot see why my workflow is failing.

Expected behavior

I expect the workflow to publish the package on PyPi

To Reproduce

https://github.com/ISISMuon/MuonDataLib/blob/42afbc12acf7d953985ee5c288e0b2325201f39e/.github/workflows/merge.yml is the file in the PR https://github.com/ISISMuon/MuonDataLib/pull/37/files#diff-bdb37b2ad65e049a0fc043e88813fdcf7ca0118abc11d99bbda676adfcbbb5a1
My Platform

Additional context

@di
Copy link
Member

di commented Jan 10, 2025

Hi, thanks for the issue. Looks like this is ultimately due to a bug in setuptools (pypa/setuptools#4797) but we should be producing a reasonable error message here. We're looking into it, in the meantime you can pin back your setuptools version here to setuptools<=75.7.0.

@di di removed the requires triaging maintainers need to do initial inspection of issue label Jan 10, 2025
miketheman added a commit to miketheman/warehouse that referenced this issue Jan 10, 2025
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants