@@ -7,7 +7,6 @@ run_tests: &RUN_TESTS
77 run_cibuildwheel_tests_script :
88 - python ./bin/run_tests.py
99
10-
1110linux_x86_task :
1211 timeout_in : 120m
1312 compute_engine_instance :
@@ -16,10 +15,15 @@ linux_x86_task:
1615 platform : linux
1716 cpu : 8
1817 memory : 8G
19-
18+ env :
19+ VENV_ROOT : ${HOME}/venv-cibuildwheel
20+ PATH : ${VENV_ROOT}/bin:${PATH}
2021 install_pre_requirements_script :
2122 - docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
22- - apt install -y python3-venv python-is-python3
23+ - add-apt-repository -y ppa:deadsnakes/ppa
24+ - apt-get update
25+ - apt-get install -y python3.12-venv
26+ - python3.12 -m venv ${VENV_ROOT}
2327 << : *RUN_TESTS
2428
2529linux_aarch64_task :
@@ -30,10 +34,15 @@ linux_aarch64_task:
3034 platform : linux
3135 cpu : 4
3236 memory : 4G
33-
37+ env :
38+ VENV_ROOT : ${HOME}/venv-cibuildwheel
39+ PATH : ${VENV_ROOT}/bin:${PATH}
3440 install_pre_requirements_script :
3541 - docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
36- - apt install -y python3-venv python-is-python3
42+ - add-apt-repository -y ppa:deadsnakes/ppa
43+ - apt-get update
44+ - apt-get install -y python3.12-venv
45+ - python3.12 -m venv ${VENV_ROOT}
3746 << : *RUN_TESTS
3847
3948windows_x86_task :
@@ -46,30 +55,32 @@ windows_x86_task:
4655 memory : 8G
4756
4857 install_pre_requirements_script :
49- - choco install -y --no-progress python3 --version 3.10.6
58+ - choco install -y --no-progress python3 --version 3.12.4
5059 - refreshenv
5160 - echo PATH=%PATH% >> "%CIRRUS_ENV%"
5261 << : *RUN_TESTS
5362
5463macos_arm64_task :
5564 macos_instance :
5665 image : ghcr.io/cirruslabs/macos-runner:sonoma
57-
5866 env :
59- PATH : /opt/homebrew/opt/python@3.10/libexec/bin:$PATH
67+ VENV_ROOT : ${HOME}/venv-cibuildwheel
68+ PATH : ${VENV_ROOT}/bin:${PATH}
6069 install_pre_requirements_script :
61- - brew install python@3.10
70+ - brew install python@3.12
71+ - python3.12 -m venv ${VENV_ROOT}
6272 << : *RUN_TESTS
6373
6474macos_arm64_cp38_task :
6575 macos_instance :
6676 image : ghcr.io/cirruslabs/macos-runner:sonoma
67-
6877 env :
69- PATH : /opt/homebrew/opt/python@3.10/libexec/bin:$PATH
78+ VENV_ROOT : ${HOME}/venv-cibuildwheel
79+ PATH : ${VENV_ROOT}/bin:${PATH}
7080 PYTEST_ADDOPTS : --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto'
7181 install_pre_requirements_script :
72- - brew install python@3.10
82+ - brew install python@3.12
83+ - python3.12 -m venv ${VENV_ROOT}
7384 - curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
7485 - sudo installer -pkg python-3.8.10-macos11.pkg -target /
7586 - rm python-3.8.10-macos11.pkg
0 commit comments