Files
gentoo/dev-python/pip/files/pip-19.3-disable-version-check.patch
T
Maxim Koltsov 5f2e46d039 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>
2019-10-22 23:37:55 +03:00

25 lines
872 B
Diff

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):