@@ -15,9 +15,14 @@ linux_x86_task:
1515 platform : linux
1616 cpu : 4
1717 memory : 4G
18-
18+ env :
19+ VENV_ROOT : ${HOME}/venv-cibuildwheel
20+ PATH : ${VENV_ROOT}/bin:${PATH}
1921 install_pre_requirements_script :
20- - apt install -y python3-venv python-is-python3
22+ - add-apt-repository -y ppa:deadsnakes/ppa
23+ - apt-get update
24+ - apt-get install -y python3.12-venv
25+ - python3.12 -m venv ${VENV_ROOT}
2126 << : *BUILD_AND_STORE_WHEELS
2227
2328linux_aarch64_task :
@@ -29,9 +34,14 @@ linux_aarch64_task:
2934 platform : linux
3035 cpu : 4
3136 memory : 4G
32-
37+ env :
38+ VENV_ROOT : ${HOME}/venv-cibuildwheel
39+ PATH : ${VENV_ROOT}/bin:${PATH}
3340 install_pre_requirements_script :
34- - apt install -y python3-venv python-is-python3
41+ - add-apt-repository -y ppa:deadsnakes/ppa
42+ - apt-get update
43+ - apt-get install -y python3.12-venv
44+ - python3.12 -m venv ${VENV_ROOT}
3545 << : *BUILD_AND_STORE_WHEELS
3646
3747windows_x86_task :
@@ -42,7 +52,7 @@ windows_x86_task:
4252 memory : 4G
4353
4454 install_pre_requirements_script :
45- - choco install -y --no-progress python3 --version 3.10.6
55+ - choco install -y --no-progress python3 --version 3.12.4
4656 - refreshenv
4757 - echo PATH=%PATH% >> "%CIRRUS_ENV%"
4858 << : *BUILD_AND_STORE_WHEELS
@@ -51,9 +61,10 @@ macos_arm64_task:
5161 name : Build macOS arm64 wheels.
5262 macos_instance :
5363 image : ghcr.io/cirruslabs/macos-sonoma-xcode
54-
5564 env :
56- PATH :
/opt/homebrew/opt/[email protected] /libexec/bin:$PATH 65+ VENV_ROOT : ${HOME}/venv-cibuildwheel
66+ PATH : ${VENV_ROOT}/bin:${PATH}
5767 install_pre_requirements_script :
58- 68+ 69+ - python3.12 -m venv ${VENV_ROOT}
5970 << : *BUILD_AND_STORE_WHEELS
0 commit comments