-
Notifications
You must be signed in to change notification settings - Fork 900
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 with index name does not read environment credentials #9845
Comments
Oh interesting. Do you expect the credentials for publishing to be the same as the ones for reading? I'd expect them to be used, but I worry a different credential will be required? |
Is the implication that you might want a different environment variable? |
At least for the private PyPI repository we run in my organization, the publishing and reading credentials are the same. But perhaps the UV_INDEX variables could be used in the absence of the UV_PUBLISH variables? |
We can add |
That would be perfect, thank you ! |
I was very excited to see the functionality with
uv publish --index <index>
come out in version0.5.8
with this PR #9694, but I don't think it behaves quite as I expected. It does not appear that publishing reads theUV_INDEX_MYINDEX_USERNAME
andUV_INDEX_MYINDEX_PASSWORD
for credentials when publishing.Is this expected behavior? And if so, would it be possible to add support for reading credentials from those existing environment variables?
The text was updated successfully, but these errors were encountered: