Skip to content

Commit 9f9353b

Browse files
committed
Add ensurepip run in tests/run.py
1 parent 13ad6d6 commit 9f9353b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/run.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ def install_distrib(build_dir: Path, distrib_subdir: str) -> Path:
134134
).returncode
135135
!= 0
136136
):
137+
cmd = [str(python_path), "-m", "ensurepip"]
138+
print(" ".join(cmd))
139+
subprocess.check_call(cmd)
137140
cmd = [str(python_path), "-m", "pip", "install", "cython"]
138141
print(" ".join(cmd))
139142
subprocess.check_call(cmd)

0 commit comments

Comments
 (0)