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

Unable to publish package #15902

Open
snmishra opened this issue May 3, 2024 · 6 comments
Open

Unable to publish package #15902

snmishra opened this issue May 3, 2024 · 6 comments
Labels
awaiting-response PRs and issues that are awaiting author response bug 🐛

Comments

@snmishra
Copy link

snmishra commented May 3, 2024

Describe the bug

I'm unable to publish a new release of my package ftd2xx either via trusted publisher from GitHub actions or from command line using twine.

$ twine upload --verbose dist\ftd2xx-1.3.7-py3-none-any.whl
INFO     Using configuration from C:\Users\satya\.pypirc
Uploading distributions to https://upload.pypi.org/legacy/
INFO     dist\ftd2xx-1.3.7-py3-none-any.whl (40.1 KB)
INFO     Querying keyring for password
Enter your API token:
INFO     username: __token__
INFO     password: <hidden>
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ---------------------------------------- 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 1 of 5.
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ---------------------------------------- 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 2 of 5.
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ---------------------------------------- 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 3 of 5.
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ---------------------------------------- 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 4 of 5.
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ---------------------------------------- 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 5 of 5.
INFO     Response from https://upload.pypi.org/legacy/:
         500 Internal Server Error
INFO     <html>
           <head>
             <title>Internal Server Error</title>
           </head>
           <body>
             <h1><p>Internal Server Error</p></h1>

           </body>
         </html>

ERROR    HTTPError: 500 Internal Server Error from https://upload.pypi.org/legacy/
         Internal Server Error

Expected behavior
Upload should succeed

To Reproduce

https://github.com/ftd2xx/ftd2xx/actions/runs/8802766482/job/24539615217

My Platform

GitHub actions and twine on Windows 11

Additional context

My GitHub actions with trusted publisher used to work until January.

@snmishra snmishra added bug 🐛 requires triaging maintainers need to do initial inspection of issue labels May 3, 2024
@snmishra
Copy link
Author

snmishra commented May 7, 2024

Still not working

@woodruffw
Copy link
Member

@snmishra, could you retry again and re-share the error message you're seeing? That should help with triage here.

@woodruffw woodruffw added awaiting-response PRs and issues that are awaiting author response and removed requires triaging maintainers need to do initial inspection of issue labels Jun 10, 2024
@snmishra
Copy link
Author

No luck. Error message seems unchanged from initial error.

INFO     Using configuration from C:\Users\satya\.pypirc
Uploading distributions to https://upload.pypi.org/legacy/
INFO     dist\ftd2xx-1.3.7-py3-none-any.whl (40.1 KB)
INFO     Querying keyring for password
Enter your API token:
INFO     username: __token__
INFO     password: <hidden>
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 1 of 5.
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 2 of 5.
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 3 of 5.
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 4 of 5.
Uploading ftd2xx-1.3.7-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB • 00:00 • ?
WARNING  Received "500: Internal Server Error"
         Package upload appears to have failed. Retry 5 of 5.
INFO     Response from https://upload.pypi.org/legacy/:
         500 Internal Server Error
INFO     <html>
           <head>
             <title>Internal Server Error</title>
           </head>
           <body>
             <h1><p>Internal Server Error</p></h1>

           </body>
         </html>

ERROR    HTTPError: 500 Internal Server Error from https://upload.pypi.org/legacy/
         Internal Server Error

@woodruffw
Copy link
Member

Thanks, appreciated. Am I right that this is the repo: https://github.com/ftd2xx/ftd2xx and this is the publishing workflow: https://github.com/ftd2xx/ftd2xx/blob/master/.github/workflows/python-package.yml?

(I don't have access to Sentry to see the server-side error; just collecting the public states.)

@snmishra
Copy link
Author

Yes that's right. I did try using twine from my laptop and the result was the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-response PRs and issues that are awaiting author response bug 🐛
Projects
None yet
Development

No branches or pull requests

3 participants