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 15, 2024
1 parent f14f800 commit 00cdd45
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 @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion cibuildwheel/oci_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 00cdd45

Please sign in to comment.