]> granicus.if.org Git - python/commit
[2.7] bpo-31351: Set return code in ensurepip when pip fails (GH-3734)
authorIgor Filatov <iafilatov@users.noreply.github.com>
Mon, 25 Sep 2017 01:03:24 +0000 (04:03 +0300)
committerNick Coghlan <ncoghlan@gmail.com>
Mon, 25 Sep 2017 01:03:24 +0000 (11:03 +1000)
commitcf7197ae43767c4346864e5b41246f628edd9b51
tree31b2ad79968e1509a5b09ced5fc344346700640d
parentda86874a3d8f882d6aedd882b2e27f59b59d6798
[2.7] bpo-31351: Set return code in ensurepip when pip fails (GH-3734)

Previously ensurepip would always report success, even if the
pip installation failed.

(cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1)
Doc/library/ensurepip.rst
Lib/ensurepip/__init__.py
Lib/ensurepip/__main__.py
Lib/ensurepip/_uninstall.py
Lib/test/test_ensurepip.py
Misc/NEWS.d/next/Library/2017-09-17-15-24-25.bpo-31351.yQdKv-.rst [new file with mode: 0644]