mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
- Bump EAPI to 7 - Fix completion file installation Closes: https://bugs.gentoo.org/671286 Package-Manager: Portage-2.3.63, Repoman-2.3.12 Signed-off-by: Maxim Koltsov <maksbotan@gentoo.org>
20 lines
782 B
Diff
20 lines
782 B
Diff
Don't check for new versions of pip.
|
|
|
|
--- pip-19.1/src/pip/_internal/cli/base_command.py
|
|
+++ pip-19.1/src/pip/_internal/cli/base_command.py
|
|
@@ -213,12 +213,8 @@ class Command(object):
|
|
|
|
return UNKNOWN_ERROR
|
|
finally:
|
|
- allow_version_check = (
|
|
- # Does this command have the index_group options?
|
|
- hasattr(options, "no_index") and
|
|
- # Is this command allowed to perform this check?
|
|
- not (options.disable_pip_version_check or options.no_index)
|
|
- )
|
|
+ # Disabled on Gentoo
|
|
+ allow_version_check = False
|
|
# Check if we're using the latest version of pip available
|
|
if allow_version_check:
|
|
session = self._build_session(
|