]> granicus.if.org Git - python/commit
bpo-31351: Set return code in ensurepip when pip fails (GH-3626) (GH-3683)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 Sep 2017 13:45:37 +0000 (06:45 -0700)
committerMariatta <Mariatta@users.noreply.github.com>
Fri, 22 Sep 2017 13:45:37 +0000 (06:45 -0700)
commiteef49f5dd021d15396551880cf451042a79a1107
treee6032d3589e0e8600929cba82a5adbff1d3d0f63
parent0c4997f1919d8583353b12537a63dcbe7b9d280f
bpo-31351: Set return code in ensurepip when pip fails (GH-3626) (GH-3683)

Previously ensurepip would always report success, even if the
pip installation failed.
(cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1)

* Update version changed notice for backport
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]