Open maarten-betman opened 22 hours ago
Does the username need to be VssSessionToken
instead of token
?
Have you considered switching to our new index settings and using UV_INDEX_<NAME>_PASSWORD
instead?
Haven't tried the new index settings yet, will try tomorrow.
VssSessionToken
should be present in the url when using the artifacts-keyring
auth provider. This auth mechanism can't be used in github actions as far as I'm aware.
Dear Astral team,
First of all thanks for the awesome tools you guys make š
I'm having issue getting authenticated with a private Azure Artifacts feed in GitHub Actions.
In local development we use artifacts keyring as explained in the uv docs. See below snip of
pyproject.toml
which successfully installs the internal dependency.However when running the tests in github actions I get a 401 Unauthorized error from my organizational feed. I've now set UV_EXTRA_INDEX_URL including a PAT token, but no success unfortunately. See below snip from the github actions file Used several flags after the
uv sync
command:--no-cache
--index-strategy unsafe-first-match
andunsafe-best-match
RUST_LOG uv=trace: github-actions-log.log
understand it's hard to debug given you don't have access to the feed, but hope the log clarifies a bit where things are going wrong for me š¤š»