Skip to content

Commit

Permalink
Ignore PIP_REQUIRE_VIRTUALENV for pip index (#11671)
Browse files Browse the repository at this point in the history
Ignore PIP_REQUIRE_VIRTUALENV in `pip index`
  • Loading branch information
tekumara authored and pradyunsg committed Feb 17, 2023
1 parent 0138bd5 commit 864fd77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/11671.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ignore PIP_REQUIRE_VIRTUALENV for ``pip index``
1 change: 1 addition & 0 deletions src/pip/_internal/commands/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class IndexCommand(IndexGroupCommand):
Inspect information available from package indexes.
"""

ignore_require_venv = True
usage = """
%prog versions <package>
"""
Expand Down

0 comments on commit 864fd77

Please sign in to comment.