Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@eff.org>2018-11-17 01:14:57 +0300
committerBrad Warren <bmw@eff.org>2018-11-17 01:14:57 +0300
commit525e39df5e010ec800b2f48e0332d007315321df (patch)
tree4ad157aca7d1ac7c6d2003340e7d5feddb83b92d
parent5073090a20fa59fae45b4d90bfb41635bc181911 (diff)
see what breaks when we revert pipstrap changestest-revert-pipstrap-changes
-rwxr-xr-xletsencrypt-auto-source/letsencrypt-auto9
-rwxr-xr-xletsencrypt-auto-source/pieces/pipstrap.py10
2 files changed, 10 insertions, 9 deletions
diff --git a/letsencrypt-auto-source/letsencrypt-auto b/letsencrypt-auto-source/letsencrypt-auto
index 12be26e19..0cf0300a2 100755
--- a/letsencrypt-auto-source/letsencrypt-auto
+++ b/letsencrypt-auto-source/letsencrypt-auto
@@ -1260,7 +1260,7 @@ except ImportError:
cmd = popenargs[0]
raise CalledProcessError(retcode, cmd)
return output
-from sys import exit, version_info, executable
+from sys import exit, version_info
from tempfile import mkdtemp
try:
from urllib2 import build_opener, HTTPHandler, HTTPSHandler
@@ -1272,7 +1272,7 @@ except ImportError:
from urllib.parse import urlparse # 3.4
-__version__ = 2, 0, 0
+__version__ = 1, 5, 1
PIP_VERSION = '9.0.1'
DEFAULT_INDEX_BASE = 'https://pypi.python.org'
@@ -1365,7 +1365,7 @@ def get_index_base():
def main():
- pip_version = StrictVersion(check_output([executable, '-m', 'pip', '--version'])
+ pip_version = StrictVersion(check_output(['pip', '--version'])
.decode('utf-8').split()[1])
min_pip_version = StrictVersion(PIP_VERSION)
if pip_version >= min_pip_version:
@@ -1378,7 +1378,7 @@ def main():
temp,
digest)
for path, digest in PACKAGES]
- check_output('{0} -m pip install --no-index --no-deps -U '.format(quote(executable)) +
+ check_output('pip install --no-index --no-deps -U ' +
# Disable cache since we're not using it and it otherwise
# sometimes throws permission warnings:
('--no-cache-dir ' if has_pip_cache else '') +
@@ -1397,6 +1397,7 @@ def main():
if __name__ == '__main__':
exit(main())
+
UNLIKELY_EOF
# -------------------------------------------------------------------------
# Set PATH so pipstrap upgrades the right (v)env:
diff --git a/letsencrypt-auto-source/pieces/pipstrap.py b/letsencrypt-auto-source/pieces/pipstrap.py
index f21d36657..d55d5bceb 100755
--- a/letsencrypt-auto-source/pieces/pipstrap.py
+++ b/letsencrypt-auto-source/pieces/pipstrap.py
@@ -45,7 +45,7 @@ except ImportError:
cmd = popenargs[0]
raise CalledProcessError(retcode, cmd)
return output
-from sys import exit, version_info, executable
+from sys import exit, version_info
from tempfile import mkdtemp
try:
from urllib2 import build_opener, HTTPHandler, HTTPSHandler
@@ -57,7 +57,7 @@ except ImportError:
from urllib.parse import urlparse # 3.4
-__version__ = 2, 0, 0
+__version__ = 1, 5, 1
PIP_VERSION = '9.0.1'
DEFAULT_INDEX_BASE = 'https://pypi.python.org'
@@ -150,7 +150,7 @@ def get_index_base():
def main():
- pip_version = StrictVersion(check_output([executable, '-m', 'pip', '--version'])
+ pip_version = StrictVersion(check_output(['pip', '--version'])
.decode('utf-8').split()[1])
min_pip_version = StrictVersion(PIP_VERSION)
if pip_version >= min_pip_version:
@@ -163,7 +163,7 @@ def main():
temp,
digest)
for path, digest in PACKAGES]
- check_output('{0} -m pip install --no-index --no-deps -U '.format(quote(executable)) +
+ check_output('pip install --no-index --no-deps -U ' +
# Disable cache since we're not using it and it otherwise
# sometimes throws permission warnings:
('--no-cache-dir ' if has_pip_cache else '') +
@@ -181,4 +181,4 @@ def main():
if __name__ == '__main__':
- exit(main()) \ No newline at end of file
+ exit(main())