gh-action-pypi-publish
gh-action-pypi-publish copied to clipboard
Test.pypi.org returning 500
I am not sure if this belongs here, but I am having an issue when using this Github Action.
This is the link to the github run that failed: https://github.com/jampp/migratron/pull/25/checks?check_run_id=456554120
and the content is:
Uploading distributions to https://test.pypi.org/legacy/
Uploading migratron-1.1.0-py3-none-any.whl
0%| | 0.00/30.5k [00:00<?, ?B/s]
100%|██████████| 30.5k/30.5k [00:00<00:00, 135kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 1 of 5
Uploading migratron-1.1.0-py3-none-any.whl
0%| | 0.00/30.5k [00:00<?, ?B/s]
100%|██████████| 30.5k/30.5k [00:00<00:00, 177kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 2 of 5
Uploading migratron-1.1.0-py3-none-any.whl
0%| | 0.00/30.5k [00:00<?, ?B/s]
100%|██████████| 30.5k/30.5k [00:00<00:00, 187kB/s]
Received "500: Internal Server Error" Package upload appears to have failed. Retry 3 of 5
Uploading migratron-1.1.0-py3-none-any.whl
0%| | 0.00/30.5k [00:00<?, ?B/s]
100%|██████████| 30.5k/30.5k [00:00<00:00, 276kB/s]
Post actions/checkout@v2
If I run:
TWINE_USERNAME="__token__" \
TWINE_PASSWORD="pypi-foobar" \
TWINE_REPOSITORY_URL="https://test.pypi.org/legacy/" \
twine upload dist/*
with a valid TWINE_PASSWORD that works ok. If I use an invalid password ir returns a 403 and not a 500
Let's ask @ewdurbin to check. Because HTTP 500 is a server error. But in general it seems to belong to the warehouse repo.
This may be related to https://github.com/pypa/warehouse/issues/7298
@ewdurbin do you want to transfer this issue there? Should I try stripping off the newlines here?
https://github.com/pypa/warehouse/issues/7298 has been closed (by https://github.com/pypa/warehouse/pull/7424).
OK to close this one?
Not sure, maybe we should do a better job stripping the input.