-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Trusted publishing support for GitHub Actions + TestPyPI via uv publish
#8584
Comments
The trusted publishing support exists for both TestPyPI and PyPI, is there anything specific not working? |
OK, that's great to hear, I guess in that case I just haven't worked out how to set up trusted publishing properly yet. I'm experimenting here: I get errors about missing credentials:
I don't actually know where the TestPyPI upload endpoint is, I've tried manually using API tokens but I get the following:
Probably I need to do more work to diagnose my issue, so I'm closing for now. Any support appreciated but not expected. |
The publish endpoint for TestPyPI is https://test.pypi.org/legacy/ |
To help with debugging trusted publishing, I recommend |
Thanks, great to know the endpoint and the suggestion to
This was a tad cryptic without knowing the ins-and-outs of trusted publishing, but the issue was that I had not set Thank you so much for your help. |
Currently,
uv publish
supports trusted publishing support via GitHub Actions with PyPI, but not with TestPyPI. For testing purposes, it would be great if support could be extended to TestPyPI.The text was updated successfully, but these errors were encountered: