aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-pip/patches/003-disable-pip-version-check.patch
blob: 99a0258aa6088434b6b6ddabd60e44bbf795d364 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Barry Warsaw <barry@python.org>
Date: Fri, 18 Nov 2016 17:07:47 -0500
Subject: Set --disable-pip-version-check=True by default.

Patch-Name: disable-pip-version-check.patch
---
 src/pip/_internal/cli/cmdoptions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/pip/_internal/cli/cmdoptions.py
+++ b/src/pip/_internal/cli/cmdoptions.py
@@ -895,7 +895,7 @@ disable_pip_version_check: Callable[...,
     "--disable-pip-version-check",
     dest="disable_pip_version_check",
     action="store_true",
-    default=False,
+    default=True,
     help="Don't periodically check PyPI to determine whether a new version "
     "of pip is available for download. Implied with --no-index.",
 )