Skip to content

Commit

Permalink
linux: use Python 3.9 in before_all
Browse files Browse the repository at this point in the history
Also use Python 3.9 for utility python in oci_container.
  • Loading branch information
mayeut committed Oct 1, 2024
1 parent 8987b70 commit 27021d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cibuildwheel/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,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(
Expand Down
2 changes: 1 addition & 1 deletion cibuildwheel/oci_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,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]
Expand Down

0 comments on commit 27021d3

Please sign in to comment.