Skip to content

Commit 9c7e3a8

Browse files
committed
linux: use Python 3.9 in before_all
Also use Python 3.9 for utility python in oci_container.
1 parent d2d53c1 commit 9c7e3a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cibuildwheel/linux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def build_in_container(
179179
log.step("Running before_all...")
180180

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

cibuildwheel/oci_container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ class OCIContainer:
146146
... print(self.debug_info())
147147
"""
148148

149-
UTILITY_PYTHON = "/opt/python/cp38-cp38/bin/python"
149+
UTILITY_PYTHON = "/opt/python/cp39-cp39/bin/python"
150150

151151
process: PopenBytes
152152
bash_stdin: IO[bytes]

0 commit comments

Comments
 (0)