Skip to content

Commit 5b7119e

Browse files
authored
linux: use Python 3.9 in before_all (#2043)
Also use Python 3.9 for utility python in oci_container.
1 parent ddbd67c commit 5b7119e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cibuildwheel/linux.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def build_in_container(
180180
log.step("Running before_all...")
181181

182182
env = container.get_environment()
183-
env["PATH"] = f'/opt/python/cp38-cp38/bin:{env["PATH"]}'
183+
env["PATH"] = f'/opt/python/cp39-cp39/bin:{env["PATH"]}'
184184
env["PIP_DISABLE_PIP_VERSION_CHECK"] = "1"
185185
env["PIP_ROOT_USER_ACTION"] = "ignore"
186186
env = before_all_options.environment.as_dictionary(

cibuildwheel/oci_container.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ class OCIContainer:
168168
... print(self.debug_info())
169169
"""
170170

171-
UTILITY_PYTHON = "/opt/python/cp38-cp38/bin/python"
171+
UTILITY_PYTHON = "/opt/python/cp39-cp39/bin/python"
172172

173173
process: PopenBytes
174174
bash_stdin: IO[bytes]

0 commit comments

Comments
 (0)