From 2a7874370736ad92e55d19a0946db600633a743b Mon Sep 17 00:00:00 2001 From: mayeut Date: Sun, 15 Sep 2024 10:33:13 +0200 Subject: [PATCH] linux: use Python 3.9 in before_all Also use Python 3.9 for utility python in oci_container. --- cibuildwheel/linux.py | 2 +- cibuildwheel/oci_container.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 90be452fd..fe26eba95 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -180,7 +180,7 @@ def build_in_container( log.step("Running before_all...") env = container.get_environment() - env["PATH"] = f'/opt/python/cp38-cp38/bin:{env["PATH"]}' + env["PATH"] = f'/opt/python/cp39-cp39/bin:{env["PATH"]}' env["PIP_DISABLE_PIP_VERSION_CHECK"] = "1" env["PIP_ROOT_USER_ACTION"] = "ignore" env = before_all_options.environment.as_dictionary( diff --git a/cibuildwheel/oci_container.py b/cibuildwheel/oci_container.py index 1505e00b2..ad19d0588 100644 --- a/cibuildwheel/oci_container.py +++ b/cibuildwheel/oci_container.py @@ -167,7 +167,7 @@ class OCIContainer: ... print(self.debug_info()) """ - UTILITY_PYTHON = "/opt/python/cp38-cp38/bin/python" + UTILITY_PYTHON = "/opt/python/cp39-cp39/bin/python" process: PopenBytes bash_stdin: IO[bytes]