blob: 99a0258aa6088434b6b6ddabd60e44bbf795d364 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From: Barry Warsaw <barry@python.org>
2Date: Fri, 18 Nov 2016 17:07:47 -0500
3Subject: Set --disable-pip-version-check=True by default.
4
5Patch-Name: disable-pip-version-check.patch
6---
7 src/pip/_internal/cli/cmdoptions.py | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10--- a/src/pip/_internal/cli/cmdoptions.py
11+++ b/src/pip/_internal/cli/cmdoptions.py
12@@ -895,7 +895,7 @@ disable_pip_version_check: Callable[...,
13 "--disable-pip-version-check",
14 dest="disable_pip_version_check",
15 action="store_true",
16- default=False,
17+ default=True,
18 help="Don't periodically check PyPI to determine whether a new version "
19 "of pip is available for download. Implied with --no-index.",
20 )