-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
uv publish
giving Missing credentials for https://upload.pypi.org/legacy/
#8023
Comments
\cc @konstin |
I think you need |
Yeah I think you want to set it via the token variable or provide a username ( |
(If that's the issue, we should def have a custom error for this.) |
This worked indeed: - run: uv publish
env:
--- UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
+++ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }} It's slightly strange to me because So yes perhaps |
Okay awesome. Yeah, let's fix up this error message etc. |
it's unfortunate that |
I moved from this GitHub Actions that publishes to PyPI using:
To this with
uv==0.4.20
:However,
uv publish
fails with:What am I doing wrong here? Also, I am thinking perhaps the stack could be made more user friendly
The text was updated successfully, but these errors were encountered: