Skip to content

Commit 0f1bc46

Browse files
committed
Add --no-deps to request installs to not download unneeded packages
1 parent b53c5e8 commit 0f1bc46

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/functional/test_exclude_newer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def test_exclude_newer_than_with_real_pypi(
4747
result = script.pip(
4848
"install",
4949
"--dry-run",
50+
"--no-deps",
5051
"--exclude-newer-than=2010-01-01T00:00:00",
5152
"requests==2.0.0",
5253
expect_error=True,
@@ -58,6 +59,7 @@ def test_exclude_newer_than_with_real_pypi(
5859
result = script.pip(
5960
"install",
6061
"--dry-run",
62+
"--no-deps",
6163
"--exclude-newer-than=2030-01-01T00:00:00",
6264
"requests==2.0.0",
6365
expect_error=False,
@@ -79,6 +81,7 @@ def test_exclude_newer_than_date_formats(self, script: PipTestEnvironment) -> No
7981
result = script.pip(
8082
"install",
8183
"--dry-run",
84+
"--no-deps",
8285
f"--exclude-newer-than={date_format}",
8386
"requests==2.0.0",
8487
expect_error=False,

0 commit comments

Comments
 (0)