Drop expensive packages numpy and boltons from sync_editable test (#10647)

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.
This commit is contained in:
Zanie Blue
2025-01-15 17:33:27 -06:00
committed by GitHub
parent ee6ba41d46
commit 73cade1386
+12 -15
View File
@@ -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]