Skip to content

Commit

Permalink
Drop expensive packages numpy and boltons from sync_editable te…
Browse files Browse the repository at this point in the history
…st (#10647)

These were introduced in #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.
  • Loading branch information
zanieb authored Jan 15, 2025
1 parent ee6ba41 commit 73cade1
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions crates/uv/tests/it/pip_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)
"###
);
Expand All @@ -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]
"###
);

Expand All @@ -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]
Expand Down Expand Up @@ -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]
"###
);

Expand All @@ -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]
Expand All @@ -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]
Expand Down

0 comments on commit 73cade1

Please sign in to comment.