From 95dfd8b5a7855514c16e5352f5f814c714b62a7e Mon Sep 17 00:00:00 2001 From: Oliver Mannion <125105+tekumara@users.noreply.github.com> Date: Sun, 19 Jul 2020 15:49:41 +1000 Subject: [PATCH] Ignore require-virtualenv in `pip list` --- 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]"""