diff --git a/crates/uv/tests/it/build.rs b/crates/uv/tests/it/build.rs index c7b75a1d0..2c1a027d9 100644 --- a/crates/uv/tests/it/build.rs +++ b/crates/uv/tests/it/build.rs @@ -1553,7 +1553,7 @@ fn sha() -> Result<()> { Building source distribution... error: Failed to install requirements from `build-system.requires` Caused by: Failed to prepare distributions - Caused by: Failed to fetch wheel: setuptools==68.2.2 + Caused by: Failed to download `setuptools==68.2.2` Caused by: Hash mismatch for `setuptools==68.2.2` Expected: diff --git a/crates/uv/tests/it/edit.rs b/crates/uv/tests/it/edit.rs index b82add019..33fc185f3 100644 --- a/crates/uv/tests/it/edit.rs +++ b/crates/uv/tests/it/edit.rs @@ -4593,7 +4593,7 @@ fn fail_to_add_revert_project() -> Result<()> { ----- stderr ----- Resolved 2 packages in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: pytorch==1.0.2 + Caused by: Failed to download and build `pytorch==1.0.2` Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1) [stderr] diff --git a/crates/uv/tests/it/lock.rs b/crates/uv/tests/it/lock.rs index 2ad0211d2..66122fbe5 100644 --- a/crates/uv/tests/it/lock.rs +++ b/crates/uv/tests/it/lock.rs @@ -5298,7 +5298,7 @@ fn lock_invalid_hash() -> Result<()> { ----- stderr ----- error: Failed to prepare distributions - Caused by: Failed to fetch wheel: idna==3.6 + Caused by: Failed to download `idna==3.6` Caused by: Hash mismatch for `idna==3.6` Expected: @@ -6143,7 +6143,7 @@ fn lock_redact_https() -> Result<()> { ----- stderr ----- error: Failed to prepare distributions - Caused by: Failed to fetch wheel: iniconfig==2.0.0 + Caused by: Failed to download `iniconfig==2.0.0` Caused by: HTTP status client error (401 Unauthorized) for url (https://pypi-proxy.fly.dev/basic-auth/files/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl) "###); @@ -6155,7 +6155,7 @@ fn lock_redact_https() -> Result<()> { ----- stderr ----- error: Failed to prepare distributions - Caused by: Failed to fetch wheel: iniconfig==2.0.0 + Caused by: Failed to download `iniconfig==2.0.0` Caused by: HTTP status client error (401 Unauthorized) for url (https://pypi-proxy.fly.dev/basic-auth/files/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl) "###); @@ -6194,7 +6194,7 @@ fn lock_redact_https() -> Result<()> { ----- stderr ----- error: Failed to prepare distributions - Caused by: Failed to fetch wheel: iniconfig==2.0.0 + Caused by: Failed to download `iniconfig==2.0.0` Caused by: HTTP status client error (401 Unauthorized) for url (https://pypi-proxy.fly.dev/basic-auth/files/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl) "###); diff --git a/crates/uv/tests/it/pip_install.rs b/crates/uv/tests/it/pip_install.rs index 864d8b1df..dcd47878e 100644 --- a/crates/uv/tests/it/pip_install.rs +++ b/crates/uv/tests/it/pip_install.rs @@ -2335,7 +2335,7 @@ fn no_prerelease_hint_source_builds() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: project @ file://[TEMP_DIR]/ + Caused by: Failed to build `project @ file://[TEMP_DIR]/` Caused by: Failed to resolve requirements from `setup.py` build Caused by: No solution found when resolving: `setuptools>=40.8.0` Caused by: Because only setuptools<40.8.0 is available and you require setuptools>=40.8.0, we can conclude that your requirements are unsatisfiable. @@ -5731,7 +5731,7 @@ fn require_hashes_mismatch() -> Result<()> { ----- stderr ----- Resolved 3 packages in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio==4.0.0 + Caused by: Failed to download `anyio==4.0.0` Caused by: Hash mismatch for `anyio==4.0.0` Expected: @@ -6216,7 +6216,7 @@ fn verify_hashes_mismatch() -> Result<()> { ----- stderr ----- Resolved 3 packages in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio==4.0.0 + Caused by: Failed to download `anyio==4.0.0` Caused by: Hash mismatch for `anyio==4.0.0` Expected: diff --git a/crates/uv/tests/it/pip_sync.rs b/crates/uv/tests/it/pip_sync.rs index 32c01d0f5..3b0a78510 100644 --- a/crates/uv/tests/it/pip_sync.rs +++ b/crates/uv/tests/it/pip_sync.rs @@ -3574,7 +3574,7 @@ fn require_hashes_wheel_no_binary() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio==4.0.0 + Caused by: Failed to download and build `anyio==4.0.0` Caused by: Hash mismatch for `anyio==4.0.0` Expected: @@ -3668,7 +3668,7 @@ fn require_hashes_source_only_binary() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio==4.0.0 + Caused by: Failed to download `anyio==4.0.0` Caused by: Hash mismatch for `anyio==4.0.0` Expected: @@ -3701,7 +3701,7 @@ fn require_hashes_wrong_digest() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio==4.0.0 + Caused by: Failed to download `anyio==4.0.0` Caused by: Hash mismatch for `anyio==4.0.0` Expected: @@ -3734,7 +3734,7 @@ fn require_hashes_wrong_algorithm() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio==4.0.0 + Caused by: Failed to download `anyio==4.0.0` Caused by: Hash mismatch for `anyio==4.0.0` Expected: @@ -3907,7 +3907,7 @@ fn require_hashes_wheel_url() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio @ https://files.pythonhosted.org/packages/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6/anyio-4.0.0-py3-none-any.whl + Caused by: Failed to download `anyio @ https://files.pythonhosted.org/packages/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6/anyio-4.0.0-py3-none-any.whl` Caused by: Hash mismatch for `anyio @ https://files.pythonhosted.org/packages/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6/anyio-4.0.0-py3-none-any.whl` Expected: @@ -3962,7 +3962,7 @@ fn require_hashes_wheel_url_mismatch() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio @ https://files.pythonhosted.org/packages/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6/anyio-4.0.0-py3-none-any.whl + Caused by: Failed to download `anyio @ https://files.pythonhosted.org/packages/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6/anyio-4.0.0-py3-none-any.whl` Caused by: Hash mismatch for `anyio @ https://files.pythonhosted.org/packages/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6/anyio-4.0.0-py3-none-any.whl` Expected: @@ -4071,7 +4071,7 @@ fn require_hashes_re_download() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio==4.0.0 + Caused by: Failed to download `anyio==4.0.0` Caused by: Hash mismatch for `anyio==4.0.0` Expected: @@ -4163,7 +4163,7 @@ fn require_hashes_wheel_path_mismatch() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: tqdm @ file://[WORKSPACE]/scripts/links/tqdm-1000.0.0-py3-none-any.whl + Caused by: Failed to download `tqdm @ file://[WORKSPACE]/scripts/links/tqdm-1000.0.0-py3-none-any.whl` Caused by: Hash mismatch for `tqdm @ file://[WORKSPACE]/scripts/links/tqdm-1000.0.0-py3-none-any.whl` Expected: @@ -4440,7 +4440,7 @@ fn require_hashes_repeated_hash() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: anyio @ https://files.pythonhosted.org/packages/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6/anyio-4.0.0-py3-none-any.whl + Caused by: Failed to download `anyio @ https://files.pythonhosted.org/packages/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6/anyio-4.0.0-py3-none-any.whl` Caused by: Hash mismatch for `anyio @ https://files.pythonhosted.org/packages/36/55/ad4de788d84a630656ece71059665e01ca793c04294c463fd84132f40fe6/anyio-4.0.0-py3-none-any.whl` Expected: @@ -4572,7 +4572,7 @@ fn require_hashes_find_links_no_hash() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: example-a-961b4c22==1.0.0 + Caused by: Failed to download `example-a-961b4c22==1.0.0` Caused by: Hash mismatch for `example-a-961b4c22==1.0.0` Expected: @@ -4602,7 +4602,7 @@ fn require_hashes_find_links_no_hash() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: example-a-961b4c22==1.0.0 + Caused by: Failed to download `example-a-961b4c22==1.0.0` Caused by: Hash mismatch for `example-a-961b4c22==1.0.0` Expected: @@ -4693,7 +4693,7 @@ fn require_hashes_find_links_invalid_hash() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: example-a-961b4c22==1.0.0 + Caused by: Failed to download `example-a-961b4c22==1.0.0` Caused by: Hash mismatch for `example-a-961b4c22==1.0.0` Expected: @@ -4722,7 +4722,7 @@ fn require_hashes_find_links_invalid_hash() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: example-a-961b4c22==1.0.0 + Caused by: Failed to download `example-a-961b4c22==1.0.0` Caused by: Hash mismatch for `example-a-961b4c22==1.0.0` Expected: @@ -4803,7 +4803,7 @@ fn require_hashes_find_links_invalid_hash() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: example-a-961b4c22==1.0.0 + Caused by: Failed to download and build `example-a-961b4c22==1.0.0` Caused by: Hash mismatch for `example-a-961b4c22==1.0.0` Expected: @@ -4899,7 +4899,7 @@ fn require_hashes_registry_invalid_hash() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: example-a-961b4c22==1.0.0 + Caused by: Failed to download `example-a-961b4c22==1.0.0` Caused by: Hash mismatch for `example-a-961b4c22==1.0.0` Expected: @@ -4929,7 +4929,7 @@ fn require_hashes_registry_invalid_hash() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: example-a-961b4c22==1.0.0 + Caused by: Failed to download `example-a-961b4c22==1.0.0` Caused by: Hash mismatch for `example-a-961b4c22==1.0.0` Expected: @@ -5013,7 +5013,7 @@ fn require_hashes_registry_invalid_hash() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: example-a-961b4c22==1.0.0 + Caused by: Failed to download and build `example-a-961b4c22==1.0.0` Caused by: Hash mismatch for `example-a-961b4c22==1.0.0` Expected: @@ -5101,7 +5101,7 @@ fn require_hashes_url_invalid() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: iniconfig @ https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl#sha256=c6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 + Caused by: Failed to download `iniconfig @ https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl#sha256=c6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374` Caused by: Hash mismatch for `iniconfig @ https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl#sha256=c6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374` Expected: @@ -5135,7 +5135,7 @@ fn require_hashes_url_ignore() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: iniconfig @ https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl#sha256=b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 + Caused by: Failed to download `iniconfig @ https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl#sha256=b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374` Caused by: Hash mismatch for `iniconfig @ https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl#sha256=b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374` Expected: @@ -5496,7 +5496,7 @@ fn incompatible_build_constraint() -> Result<()> { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: requests==1.2.0 + Caused by: Failed to download and build `requests==1.2.0` Caused by: Failed to resolve requirements from `setup.py` build Caused by: No solution found when resolving: `setuptools>=40.8.0` Caused by: Because you require setuptools>=40.8.0 and setuptools==1, we can conclude that your requirements are unsatisfiable. diff --git a/crates/uv/tests/it/sync.rs b/crates/uv/tests/it/sync.rs index 5bbb5a393..095c0b4fe 100644 --- a/crates/uv/tests/it/sync.rs +++ b/crates/uv/tests/it/sync.rs @@ -575,7 +575,7 @@ fn sync_build_isolation_package() -> Result<()> { ----- stderr ----- Resolved 2 packages in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: source-distribution @ https://files.pythonhosted.org/packages/10/1f/57aa4cce1b1abf6b433106676e15f9fa2c92ed2bd4cf77c3b50a9e9ac773/source_distribution-0.0.1.tar.gz + Caused by: Failed to download and build `source-distribution @ https://files.pythonhosted.org/packages/10/1f/57aa4cce1b1abf6b433106676e15f9fa2c92ed2bd4cf77c3b50a9e9ac773/source_distribution-0.0.1.tar.gz` Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1) [stderr] @@ -666,7 +666,7 @@ fn sync_build_isolation_extra() -> Result<()> { ----- stderr ----- Resolved [N] packages in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: source-distribution @ https://files.pythonhosted.org/packages/10/1f/57aa4cce1b1abf6b433106676e15f9fa2c92ed2bd4cf77c3b50a9e9ac773/source_distribution-0.0.1.tar.gz + Caused by: Failed to download and build `source-distribution @ https://files.pythonhosted.org/packages/10/1f/57aa4cce1b1abf6b433106676e15f9fa2c92ed2bd4cf77c3b50a9e9ac773/source_distribution-0.0.1.tar.gz` Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1) [stderr] @@ -685,7 +685,7 @@ fn sync_build_isolation_extra() -> Result<()> { ----- stderr ----- Resolved [N] packages in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: source-distribution @ https://files.pythonhosted.org/packages/10/1f/57aa4cce1b1abf6b433106676e15f9fa2c92ed2bd4cf77c3b50a9e9ac773/source_distribution-0.0.1.tar.gz + Caused by: Failed to download and build `source-distribution @ https://files.pythonhosted.org/packages/10/1f/57aa4cce1b1abf6b433106676e15f9fa2c92ed2bd4cf77c3b50a9e9ac773/source_distribution-0.0.1.tar.gz` Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1) [stderr] diff --git a/crates/uv/tests/it/tool_install.rs b/crates/uv/tests/it/tool_install.rs index f6c80d03f..c827e3bc9 100644 --- a/crates/uv/tests/it/tool_install.rs +++ b/crates/uv/tests/it/tool_install.rs @@ -1413,7 +1413,7 @@ fn tool_install_uninstallable() { .arg("pyenv") .env(EnvVars::UV_TOOL_DIR, tool_dir.as_os_str()) .env(EnvVars::XDG_BIN_HOME, bin_dir.as_os_str()) - .env(EnvVars::PATH, bin_dir.as_os_str()), @r##" + .env(EnvVars::PATH, bin_dir.as_os_str()), @r###" success: false exit_code: 2 ----- stdout ----- @@ -1421,7 +1421,7 @@ fn tool_install_uninstallable() { ----- stderr ----- Resolved 1 package in [TIME] error: Failed to prepare distributions - Caused by: Failed to fetch wheel: pyenv==0.0.1 + Caused by: Failed to download and build `pyenv==0.0.1` Caused by: Build backend failed to build wheel through `build_wheel` (exit status: 1) [stdout] @@ -1440,7 +1440,7 @@ fn tool_install_uninstallable() { # - "##); + "###); // Ensure the tool environment is not created. tool_dir.child("pyenv").assert(predicate::path::missing());