-
Notifications
You must be signed in to change notification settings - Fork 772
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
Ability to set --check-url
option in pyproject.toml
or uv.toml
#9027
Comments
I believe this would be solved by my suggestion at #8531 (comment) |
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 That said, a quick fix for this issue would be valuable pending any discussion planning required for something like the above. |
Fixes astral-sh#9027 Minor enhancement on top of astral-sh#8531 that allows CLI parameter `--check-url` also available as the setting `check-url` in configuration files.
Fixes astral-sh#9027 Minor enhancement on top of astral-sh#8531 that allows CLI parameter `--check-url` also available as the setting `check-url` in configuration files.
Fixes astral-sh#9027 Minor enhancement on top of astral-sh#8531 that makes the CLI parameter `--check-url` also available as the setting `check-url` in configuration files.
Fixes astral-sh#9027 Minor enhancement on top of astral-sh#8531 that makes the CLI parameter `--check-url` also available as the setting `check-url` in configuration files.
@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 #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!
The text was updated successfully, but these errors were encountered: