-
Notifications
You must be signed in to change notification settings - Fork 972
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid enforcing URL check on initial publish (#10182)
## Summary Closes #10174.
- Loading branch information
1 parent
b52d489
commit 2f5badd
Showing
3 changed files
with
27 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -241,8 +241,9 @@ fn check_keyring_behaviours() { | |
----- stderr ----- | ||
warning: `uv publish` is experimental and may change without warning | ||
Publishing 1 file to https://test.pypi.org/legacy/?ok | ||
error: Failed to query check URL | ||
Caused by: Package `ok` was not found in the registry | ||
Uploading ok-1.0.0-py3-none-any.whl ([SIZE]) | ||
error: Failed to publish `../../scripts/links/ok-1.0.0-py3-none-any.whl` to https://test.pypi.org/legacy/?ok | ||
Caused by: Upload failed with status code 403 Forbidden. Server says: 403 Username/Password authentication is no longer supported. Migrate to API Tokens or Trusted Publishers instead. See https://test.pypi.org/help/#apitoken and https://test.pypi.org/help/#trusted-publishers | ||
"### | ||
); | ||
|
||
|
@@ -265,7 +266,7 @@ fn check_keyring_behaviours() { | |
----- stderr ----- | ||
warning: `uv publish` is experimental and may change without warning | ||
Publishing 1 file to https://test.pypi.org/legacy/?ok | ||
warning: Using `--keyring-provider` with a password or token and no check url has no effect | ||
warning: Using `--keyring-provider` with a password or token and no check URL has no effect | ||
Uploading ok-1.0.0-py3-none-any.whl ([SIZE]) | ||
error: Failed to publish `../../scripts/links/ok-1.0.0-py3-none-any.whl` to https://test.pypi.org/legacy/?ok | ||
Caused by: Upload failed with status code 403 Forbidden. Server says: 403 Username/Password authentication is no longer supported. Migrate to API Tokens or Trusted Publishers instead. See https://test.pypi.org/help/#apitoken and https://test.pypi.org/help/#trusted-publishers | ||
|
@@ -295,8 +296,11 @@ fn check_keyring_behaviours() { | |
Request for dummy@https://test.pypi.org/legacy/?ok | ||
Request for [email protected] | ||
warning: Keyring has no password for URL `https://test.pypi.org/legacy/?ok` and username `dummy` | ||
error: Failed to query check URL | ||
Caused by: Package `ok` was not found in the registry | ||
Uploading ok-1.0.0-py3-none-any.whl ([SIZE]) | ||
Request for dummy@https://test.pypi.org/legacy/?ok | ||
Request for [email protected] | ||
error: Failed to publish `../../scripts/links/ok-1.0.0-py3-none-any.whl` to https://test.pypi.org/legacy/?ok | ||
Caused by: Upload failed with status code 403 Forbidden. Server says: 403 Username/Password authentication is no longer supported. Migrate to API Tokens or Trusted Publishers instead. See https://test.pypi.org/help/#apitoken and https://test.pypi.org/help/#trusted-publishers | ||
"### | ||
); | ||
|
||
|