linux: use Python 3.9 in before_all (#2043)

Also use Python 3.9 for utility python in oci_container.
This commit is contained in:
Matthieu Darbois
2024-10-17 01:25:09 -04:00
committed by GitHub
parent ddbd67cbde
commit 5b7119ecef
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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(
+1 -1
View File
@@ -168,7 +168,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]