Remove NumPy from editable test (#2473)

This commit is contained in:
Charlie Marsh 2024-03-15 07:41:52 -07:00 committed by GitHub
parent bd3c577883
commit fdee1e2299
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 72 additions and 38 deletions

View file

@ -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(())

View file

@ -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

View file

@ -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 -----
"###

View file

@ -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 -----
"###