diff --git a/crates/uv/tests/pip_install.rs b/crates/uv/tests/pip_install.rs index b636c5c48bbb..2205ef3c4570 100644 --- a/crates/uv/tests/pip_install.rs +++ b/crates/uv/tests/pip_install.rs @@ -848,11 +848,6 @@ fn install_git_public_https() { let mut command = command(&context); command.arg("uv-public-pypackage @ git+https://github.com/astral-test/uv-public-pypackage"); - if cfg!(all(windows, debug_assertions)) { - // TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the - // default windows stack of 1MB - command.env("UV_STACK_SIZE", (2 * 1024 * 1024).to_string()); - } uv_snapshot!(command , @r###" @@ -945,11 +940,6 @@ fn install_git_private_https_pat() { command.arg(format!( "uv-private-pypackage @ git+https://{token}@github.com/astral-test/uv-private-pypackage" )); - if cfg!(all(windows, debug_assertions)) { - // TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the - // default windows stack of 1MB - command.env("UV_STACK_SIZE", (2 * 1024 * 1024).to_string()); - } uv_snapshot!(filters, command , @r###" @@ -988,11 +978,6 @@ fn install_git_private_https_pat_at_ref() { let mut command = command(&context); command.arg(format!("uv-private-pypackage @ git+https://{user}{token}@github.com/astral-test/uv-private-pypackage@6c09ce9ae81f50670a60abd7d95f30dd416d00ac")); - if cfg!(all(windows, debug_assertions)) { - // TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the - // default windows stack of 1MB - command.env("UV_STACK_SIZE", (2 * 1024 * 1024).to_string()); - } uv_snapshot!(filters, command, @r###" success: true @@ -1027,11 +1012,6 @@ fn install_git_private_https_pat_and_username() { let mut command = command(&context); command.arg(format!("uv-private-pypackage @ git+https://{user}:{token}@github.com/astral-test/uv-private-pypackage")); - if cfg!(all(windows, debug_assertions)) { - // TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the - // default windows stack of 1MB - command.env("UV_STACK_SIZE", (2 * 1024 * 1024).to_string()); - } uv_snapshot!(filters, command , @r###" @@ -1091,11 +1071,6 @@ fn reinstall_no_binary() { // The first installation should use a pre-built wheel let mut command = command(&context); command.arg("anyio").arg("--strict"); - if cfg!(all(windows, debug_assertions)) { - // TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the - // default windows stack of 1MB - command.env("UV_STACK_SIZE", (2 * 1024 * 1024).to_string()); - } uv_snapshot!(command, @r###" success: true exit_code: 0 @@ -1121,11 +1096,6 @@ fn reinstall_no_binary() { .arg("--no-binary") .arg(":all:") .arg("--strict"); - if cfg!(all(windows, debug_assertions)) { - // TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the - // default windows stack of 1MB - command.env("UV_STACK_SIZE", (2 * 1024 * 1024).to_string()); - } uv_snapshot!(command, @r###" success: true exit_code: 0 @@ -1157,11 +1127,6 @@ fn reinstall_no_binary() { .arg("--reinstall-package") .arg("anyio") .arg("--strict"); - if cfg!(all(windows, debug_assertions)) { - // TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the - // default windows stack of 1MB - command.env("UV_STACK_SIZE", (2 * 1024 * 1024).to_string()); - } uv_snapshot!(filters, command, @r###" success: true exit_code: 0 @@ -1613,14 +1578,7 @@ fn direct_url_zip_file_bunk_permissions() -> Result<()> { "opensafely-pipeline @ https://github.com/opensafely-core/pipeline/archive/refs/tags/v2023.11.06.145820.zip", )?; - let mut command = command(&context); - if cfg!(all(windows, debug_assertions)) { - // TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the - // default windows stack of 1MB - command.env("UV_STACK_SIZE", (2 * 1024 * 1024).to_string()); - } - - uv_snapshot!(command + uv_snapshot!(command(&context) .arg("-r") .arg("requirements.txt") .arg("--strict"), @r###"