From 73cade13862c88bf2d5344759e9b1b7035b63743 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 15 Jan 2025 17:33:27 -0600 Subject: [PATCH] Drop expensive packages `numpy` and `boltons` from `sync_editable` test (#10647) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These were introduced in https://github.com/astral-sh/uv/pull/587 but are now showing up in our slow test list (#878) and we previously pared down the `poetry_editable` test case dependencies — I think these were just missed. --- crates/uv/tests/it/pip_sync.rs | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/crates/uv/tests/it/pip_sync.rs b/crates/uv/tests/it/pip_sync.rs index e9ab95686..a54d87721 100644 --- a/crates/uv/tests/it/pip_sync.rs +++ b/crates/uv/tests/it/pip_sync.rs @@ -2247,9 +2247,7 @@ fn sync_editable() -> Result<()> { let requirements_txt = context.temp_dir.child("requirements.txt"); requirements_txt.write_str(&indoc::formatdoc! {r" - boltons==23.1.1 - numpy==1.26.2 - # via poetry-editable + anyio==3.7.0 -e file://{poetry_editable} ", poetry_editable = poetry_editable.display() @@ -2263,11 +2261,10 @@ fn sync_editable() -> Result<()> { ----- stdout ----- ----- stderr ----- - Resolved 3 packages in [TIME] - Prepared 3 packages in [TIME] - Installed 3 packages in [TIME] - + boltons==23.1.1 - + numpy==1.26.2 + Resolved 2 packages in [TIME] + Prepared 2 packages in [TIME] + Installed 2 packages in [TIME] + + anyio==3.7.0 + poetry-editable==0.1.0 (from file://[TEMP_DIR]/poetry_editable) "### ); @@ -2280,8 +2277,8 @@ fn sync_editable() -> Result<()> { ----- stdout ----- ----- stderr ----- - Resolved 3 packages in [TIME] - Audited 3 packages in [TIME] + Resolved 2 packages in [TIME] + Audited 2 packages in [TIME] "### ); @@ -2295,7 +2292,7 @@ fn sync_editable() -> Result<()> { ----- stdout ----- ----- stderr ----- - Resolved 3 packages in [TIME] + Resolved 2 packages in [TIME] Prepared 1 package in [TIME] Uninstalled 1 package in [TIME] Installed 1 package in [TIME] @@ -2345,8 +2342,8 @@ fn sync_editable() -> Result<()> { ----- stdout ----- ----- stderr ----- - Resolved 3 packages in [TIME] - Audited 3 packages in [TIME] + Resolved 2 packages in [TIME] + Audited 2 packages in [TIME] "### ); @@ -2366,7 +2363,7 @@ fn sync_editable() -> Result<()> { ----- stdout ----- ----- stderr ----- - Resolved 3 packages in [TIME] + Resolved 2 packages in [TIME] Prepared 1 package in [TIME] Uninstalled 1 package in [TIME] Installed 1 package in [TIME] @@ -2391,7 +2388,7 @@ fn sync_editable() -> Result<()> { ----- stdout ----- ----- stderr ----- - Resolved 3 packages in [TIME] + Resolved 2 packages in [TIME] Prepared 1 package in [TIME] Uninstalled 1 package in [TIME] Installed 1 package in [TIME]