Skip to content

Commit 95ee42d

Browse files
committed
linux: use Python 3.9 in before_all
Also use Python 3.9 for utility python in oci_container.
1 parent d4f764b commit 95ee42d

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
@@ -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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class OCIContainer:
167167
... print(self.debug_info())
168168
"""
169169

170-
UTILITY_PYTHON = "/opt/python/cp38-cp38/bin/python"
170+
UTILITY_PYTHON = "/opt/python/cp39-cp39/bin/python"
171171

172172
process: PopenBytes
173173
bash_stdin: IO[bytes]

0 commit comments

Comments
 (0)