Skip to content

Commit 4caba7a

Browse files
bpo-33131: Upgrade ensurepip to bundle pip 10.0.1 (GH-6546)
Upgrade ensurepip to bundle pip 10.0.1 (cherry picked from commit 0399cf9) Co-authored-by: Paul Moore <p.f.moore@gmail.com>
1 parent 7a45eb9 commit 4caba7a

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Lib/ensurepip/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
_SETUPTOOLS_VERSION = "39.0.1"
1616

17-
_PIP_VERSION = "9.0.3"
17+
_PIP_VERSION = "10.0.1"
1818

1919
_PROJECTS = [
2020
("setuptools", _SETUPTOOLS_VERSION),
@@ -28,8 +28,8 @@ def _run_pip(args, additional_paths=None):
2828
sys.path = additional_paths + sys.path
2929

3030
# Install the bundled software
31-
import pip
32-
return pip.main(args)
31+
import pip._internal
32+
return pip._internal.main(args)
3333

3434

3535
def version():
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade bundled version of pip to 10.0.1.

0 commit comments

Comments
 (0)