From 02ad77d944ea48aa41fce34de209d3f6027d0486 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com> Date: Wed, 29 Jul 2020 09:28:58 +0530 Subject: [PATCH] Merge pull request #8603 from tekumara/pip-list-ignore-require-venv --- news/8603.feature | 1 + src/pip/_internal/commands/list.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 news/8603.feature diff --git a/news/8603.feature b/news/8603.feature new file mode 100644 index 00000000000..1f8480baaa2 --- /dev/null +++ b/news/8603.feature @@ -0,0 +1 @@ +Ignore require-virtualenv in ``pip list`` diff --git a/src/pip/_internal/commands/list.py b/src/pip/_internal/commands/list.py index a67d0f8d4ab..20e9bff2b71 100644 --- a/src/pip/_internal/commands/list.py +++ b/src/pip/_internal/commands/list.py @@ -39,6 +39,7 @@ class ListCommand(IndexGroupCommand): Packages are listed in a case-insensitive sorted order. """ + ignore_require_venv = True usage = """ %prog [options]"""