diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs index 42e498cb3..403a3e0ee 100644 --- a/crates/uv/tests/pip_compile.rs +++ b/crates/uv/tests/pip_compile.rs @@ -2553,6 +2553,8 @@ fn compile_editable() -> Result<()> { # via black aiosignal==1.3.1 # via aiohttp + anyio==4.0.0 + # via poetry-editable attrs==23.1.0 # via aiohttp boltons==23.1.1 @@ -2561,13 +2563,15 @@ fn compile_editable() -> Result<()> { # aiohttp # aiosignal idna==3.4 - # via yarl + # via + # anyio + # yarl multidict==6.0.4 # via # aiohttp # yarl - numpy==1.26.2 - # via poetry-editable + sniffio==1.3.0 + # via anyio uvloop==0.19.0 # via black yarl==1.9.2 @@ -2575,7 +2579,7 @@ fn compile_editable() -> Result<()> { ----- stderr ----- Built 3 editables in [TIME] - Resolved 13 packages in [TIME] + Resolved 14 packages in [TIME] "###); Ok(()) diff --git a/crates/uv/tests/pip_install.rs b/crates/uv/tests/pip_install.rs index d0eb9f4a7..e8978555e 100644 --- a/crates/uv/tests/pip_install.rs +++ b/crates/uv/tests/pip_install.rs @@ -527,11 +527,13 @@ fn install_editable() -> Result<()> { ----- stderr ----- Built 1 editable in [TIME] - Resolved 2 packages in [TIME] - Downloaded 1 package in [TIME] - Installed 2 packages in [TIME] - + numpy==1.26.2 + Resolved 4 packages in [TIME] + Downloaded 3 packages in [TIME] + Installed 4 packages in [TIME] + + anyio==4.0.0 + + idna==3.4 + poetry-editable==0.1.0 (from file://[WORKSPACE_DIR]/scripts/editable-installs/poetry_editable) + + sniffio==1.3.0 "### ); @@ -577,7 +579,7 @@ fn install_editable() -> Result<()> { ----- stderr ----- Built 1 editable in [TIME] - Resolved 8 packages in [TIME] + Resolved 10 packages in [TIME] Downloaded 6 packages in [TIME] Installed 7 packages in [TIME] + black==23.11.0 diff --git a/crates/uv/tests/pip_list.rs b/crates/uv/tests/pip_list.rs index 3baa5cef9..15d784c14 100644 --- a/crates/uv/tests/pip_list.rs +++ b/crates/uv/tests/pip_list.rs @@ -126,11 +126,13 @@ fn list_editable() -> Result<()> { ----- stderr ----- Built 1 editable in [TIME] - Resolved 2 packages in [TIME] - Downloaded 1 package in [TIME] - Installed 2 packages in [TIME] - + numpy==1.26.2 + Resolved 4 packages in [TIME] + Downloaded 3 packages in [TIME] + Installed 4 packages in [TIME] + + anyio==4.0.0 + + idna==3.4 + poetry-editable==0.1.0 (from file://[WORKSPACE_DIR]/scripts/editable-installs/poetry_editable) + + sniffio==1.3.0 "### ); @@ -183,8 +185,10 @@ fn list_editable() -> Result<()> { ----- stdout ----- Package Version Editable project location --------------- ------- --------------------------------------------------------- - numpy 1.26.2 + anyio 4.0.0 + idna 3.4 poetry-editable 0.1.0 [WORKSPACE_DIR]/scripts/editable-installs/poetry_editable + sniffio 1.3.0 ----- stderr ----- "### @@ -219,11 +223,13 @@ fn list_editable_only() -> Result<()> { ----- stderr ----- Built 1 editable in [TIME] - Resolved 2 packages in [TIME] - Downloaded 1 package in [TIME] - Installed 2 packages in [TIME] - + numpy==1.26.2 + Resolved 4 packages in [TIME] + Downloaded 3 packages in [TIME] + Installed 4 packages in [TIME] + + anyio==4.0.0 + + idna==3.4 + poetry-editable==0.1.0 (from file://[WORKSPACE_DIR]/scripts/editable-installs/poetry_editable) + + sniffio==1.3.0 "### ); @@ -289,7 +295,9 @@ fn list_editable_only() -> Result<()> { ----- stdout ----- Package Version ------- ------- - numpy 1.26.2 + anyio 4.0.0 + idna 3.4 + sniffio 1.3.0 ----- stderr ----- "### @@ -341,11 +349,13 @@ fn list_exclude() -> Result<()> { ----- stderr ----- Built 1 editable in [TIME] - Resolved 2 packages in [TIME] - Downloaded 1 package in [TIME] - Installed 2 packages in [TIME] - + numpy==1.26.2 + Resolved 4 packages in [TIME] + Downloaded 3 packages in [TIME] + Installed 4 packages in [TIME] + + anyio==4.0.0 + + idna==3.4 + poetry-editable==0.1.0 (from file://[WORKSPACE_DIR]/scripts/editable-installs/poetry_editable) + + sniffio==1.3.0 "### ); @@ -393,7 +403,10 @@ fn list_exclude() -> Result<()> { ----- stdout ----- Package Version Editable project location --------------- ------- --------------------------------------------------------- + anyio 4.0.0 + idna 3.4 poetry-editable 0.1.0 [WORKSPACE_DIR]/scripts/editable-installs/poetry_editable + sniffio 1.3.0 ----- stderr ----- "### @@ -413,7 +426,9 @@ fn list_exclude() -> Result<()> { ----- stdout ----- Package Version ------- ------- - numpy 1.26.2 + anyio 4.0.0 + idna 3.4 + sniffio 1.3.0 ----- stderr ----- "### @@ -433,6 +448,11 @@ fn list_exclude() -> Result<()> { success: true exit_code: 0 ----- stdout ----- + Package Version + ------- ------- + anyio 4.0.0 + idna 3.4 + sniffio 1.3.0 ----- stderr ----- "### @@ -470,11 +490,13 @@ fn list_format_json() -> Result<()> { ----- stderr ----- Built 1 editable in [TIME] - Resolved 2 packages in [TIME] - Downloaded 1 package in [TIME] - Installed 2 packages in [TIME] - + numpy==1.26.2 + Resolved 4 packages in [TIME] + Downloaded 3 packages in [TIME] + Installed 4 packages in [TIME] + + anyio==4.0.0 + + idna==3.4 + poetry-editable==0.1.0 (from file://[WORKSPACE_DIR]/scripts/editable-installs/poetry_editable) + + sniffio==1.3.0 "### ); @@ -526,7 +548,7 @@ fn list_format_json() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - [{"name":"numpy","version":"1.26.2"},{"name":"poetry-editable","version":"0.1.0","editable_project_location":"[WORKSPACE_DIR]/scripts/editable-installs/poetry_editable"}] + [{"name":"anyio","version":"4.0.0"},{"name":"idna","version":"3.4"},{"name":"poetry-editable","version":"0.1.0","editable_project_location":"[WORKSPACE_DIR]/scripts/editable-installs/poetry_editable"},{"name":"sniffio","version":"1.3.0"}] ----- stderr ----- "### @@ -562,7 +584,7 @@ fn list_format_json() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - [{"name":"numpy","version":"1.26.2"}] + [{"name":"anyio","version":"4.0.0"},{"name":"idna","version":"3.4"},{"name":"sniffio","version":"1.3.0"}] ----- stderr ----- "### @@ -617,11 +639,13 @@ fn list_format_freeze() -> Result<()> { ----- stderr ----- Built 1 editable in [TIME] - Resolved 2 packages in [TIME] - Downloaded 1 package in [TIME] - Installed 2 packages in [TIME] - + numpy==1.26.2 + Resolved 4 packages in [TIME] + Downloaded 3 packages in [TIME] + Installed 4 packages in [TIME] + + anyio==4.0.0 + + idna==3.4 + poetry-editable==0.1.0 (from file://[WORKSPACE_DIR]/scripts/editable-installs/poetry_editable) + + sniffio==1.3.0 "### ); @@ -666,8 +690,10 @@ fn list_format_freeze() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - numpy==1.26.2 + anyio==4.0.0 + idna==3.4 poetry-editable==0.1.0 + sniffio==1.3.0 ----- stderr ----- "### @@ -703,7 +729,9 @@ fn list_format_freeze() -> Result<()> { success: true exit_code: 0 ----- stdout ----- - numpy==1.26.2 + anyio==4.0.0 + idna==3.4 + sniffio==1.3.0 ----- stderr ----- "### diff --git a/crates/uv/tests/pip_show.rs b/crates/uv/tests/pip_show.rs index fc591e184..c9c864a97 100644 --- a/crates/uv/tests/pip_show.rs +++ b/crates/uv/tests/pip_show.rs @@ -500,7 +500,7 @@ fn show_editable() -> Result<()> { Name: poetry-editable Version: 0.1.0 Location: [WORKSPACE_DIR]/site-packages - Requires: numpy + Requires: anyio ----- stderr ----- "### diff --git a/scripts/editable-installs/poetry_editable/pyproject.toml b/scripts/editable-installs/poetry_editable/pyproject.toml index 4b78852f9..e6baed40c 100644 --- a/scripts/editable-installs/poetry_editable/pyproject.toml +++ b/scripts/editable-installs/poetry_editable/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Astral Software Inc. "] [tool.poetry.dependencies] python = "^3.10" -numpy = "^1" +anyio = "^4" [build-system] requires = ["poetry-core"]