-
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
Authentication error to Google Artifactory with custom index and env variables #8324
Comments
Can you try providing both the username and password via the env vars, rather than one in the URL and one in the env var? |
Yeah i have tried that, but it does not work. I get the error with skipping the keyring |
Oh sorry, I misread the issue. This may be a bug -- we'll take a look. |
I'm observing the same behavior with |
Sounds like we're missing something in the credential attachment here. Thanks! |
Working on it and It's strange but I guess |
I believe this is closed by #8345. |
Thanks a lot for the quick response and fix! |
Hi team, thanks for all your hard work, uv is amazing!
We are currently trying to migrate to uv from poetry. We awaited the update to uv version 0.4.24 for the environmental variables and custom indexes but we have issues with the authentication to our private Google Artifactory.
The problem is as follows:
We have setup uv with keyring for Google Artifactory as follows:
We have our custom index defined as follows in our
pyproject.toml
We have also set our env variable (discussed here for Google Artifactory auth)
Running
uv sync --verbose
in this way returnsOn the other hard when we change our
pyproject.toml
to include the username in the url uv successfully pulls the credentials from the artifactory and installs the dependenciesFrom my tests it seems that the env variable is either not read or appended to the URL causing the artifactory to not work.
Could you please take a look at it, as it seems to me as a possible bug.
Thanks a lot!
uv version:
uv 0.4.24 (b9cd54913 2024-10-17)
system platform
Apple Silicon macOS
The text was updated successfully, but these errors were encountered: