Open bruckner opened 3 days ago
I believe this would be solved by my suggestion at https://github.com/astral-sh/uv/pull/8531#issuecomment-2442698889
Oh that's a nice solution.
@zanieb thanks for the super quick uptake. I like the suggestion to consolidate under the Index config, partly for reasons tangential to this issue. I use Google Artifact Registry and have to configure auth two distinct ways for read and write (username in the URL for reads, username via --username
for writes). This was confusing to get working initially—would be really nice to consolidate all URLs and auth config under one localized umbrella for the Index.
That said, a quick fix for this issue would be valuable pending any discussion planning required for something like the above.
@konstin - when I looked at your code I saw this appears to be a trivial extension so I put up a PR ^
I'm using the new
--check-url
feature introduced in https://github.com/astral-sh/uv/pull/8531 to support to ability touv publish
skip uploads when an artifact already exists. It's great!This is a request for a minor enhancement: to be able to set
check-url
in a configuration file instead of only on the command line.Running with the parameter set on the command line I get the expected behavior:
But when I tried moving it to my
pyproject.toml
:And got the warning message:
The expected behavior for this enhancement would be that setting
check-url
in a configuration file has the same effect as if it were set on the command line.For reference, I've seen the behavior described above with uv
0.5.0
and0.5.1
on macos and ubuntu.Thank you!