diff options
author | 2019-10-21 23:56:25 +0300 | |
---|---|---|
committer | 2019-10-22 23:37:55 +0300 | |
commit | 5f2e46d039297e9f87ced2545b19d8161e3ab89e (patch) | |
tree | 19194a65fae5572bd75b4ff49e67e53444373523 /dev-python/pip/files | |
parent | net-p2p/vuze-coreplugins-5.7.6.0: bump (diff) | |
download | gentoo-5f2e46d039297e9f87ced2545b19d8161e3ab89e.tar.gz gentoo-5f2e46d039297e9f87ced2545b19d8161e3ab89e.tar.bz2 gentoo-5f2e46d039297e9f87ced2545b19d8161e3ab89e.zip |
dev-python/pip: bump to 19.3.1
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Maxim Koltsov <maksbotan@gentoo.org>
Diffstat (limited to 'dev-python/pip/files')
-rw-r--r-- | dev-python/pip/files/pip-19.3-disable-version-check.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/pip/files/pip-19.3-disable-version-check.patch b/dev-python/pip/files/pip-19.3-disable-version-check.patch new file mode 100644 index 000000000000..e8fe868431d1 --- /dev/null +++ b/dev-python/pip/files/pip-19.3-disable-version-check.patch @@ -0,0 +1,24 @@ +diff --git a/src/pip/_internal/cli/req_command.py b/src/pip/_internal/cli/req_command.py +index 203e86a4..a2183f10 100644 +--- a/src/pip/_internal/cli/req_command.py ++++ b/src/pip/_internal/cli/req_command.py +@@ -129,17 +129,8 @@ class IndexGroupCommand(Command, SessionCommandMixin): + # Make sure the index_group options are present. + assert hasattr(options, 'no_index') + +- if options.disable_pip_version_check or options.no_index: +- return +- +- # Otherwise, check if we're using the latest version of pip available. +- session = self._build_session( +- options, +- retries=0, +- timeout=min(5, options.timeout) +- ) +- with session: +- pip_self_version_check(session, options) ++ # Disabled on Gentoo ++ return + + + class RequirementCommand(IndexGroupCommand): |