Skip to content

Commit 864fd77

Browse files
tekumarapradyunsg
authored andcommitted
Ignore PIP_REQUIRE_VIRTUALENV for pip index (pypa#11671)
Ignore PIP_REQUIRE_VIRTUALENV in `pip index`
1 parent 0138bd5 commit 864fd77

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

news/11671.feature.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Ignore PIP_REQUIRE_VIRTUALENV for ``pip index``

src/pip/_internal/commands/index.py

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class IndexCommand(IndexGroupCommand):
2424
Inspect information available from package indexes.
2525
"""
2626

27+
ignore_require_venv = True
2728
usage = """
2829
%prog versions <package>
2930
"""

0 commit comments

Comments
 (0)