@@ -2,11 +2,11 @@ only_if: changesInclude('.cirrus.yml') || ($CIRRUS_BRANCH == "main" && !changesI
22
33run_tests : &RUN_TESTS
44 install_cibuildwheel_script :
5+ - python -V
56 - python -m pip install -e ".[dev]" pytest-custom-exit-code
67 run_cibuildwheel_tests_script :
78 - python ./bin/run_tests.py
89
9-
1010linux_x86_task :
1111 timeout_in : 120m
1212 compute_engine_instance :
@@ -15,9 +15,14 @@ linux_x86_task:
1515 platform : linux
1616 cpu : 8
1717 memory : 8G
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 << : *RUN_TESTS
2227
2328linux_aarch64_task :
@@ -28,9 +33,14 @@ linux_aarch64_task:
2833 platform : linux
2934 cpu : 4
3035 memory : 4G
31-
36+ env :
37+ VENV_ROOT : ${HOME}/venv-cibuildwheel
38+ PATH : ${VENV_ROOT}/bin:${PATH}
3239 install_pre_requirements_script :
33- - apt install -y python3-venv python-is-python3
40+ - add-apt-repository -y ppa:deadsnakes/ppa
41+ - apt-get update
42+ - apt-get install -y python3.12-venv
43+ - python3.12 -m venv ${VENV_ROOT}
3444 << : *RUN_TESTS
3545
3646windows_x86_task :
@@ -43,30 +53,32 @@ windows_x86_task:
4353 memory : 8G
4454
4555 install_pre_requirements_script :
46- - choco install -y --no-progress python3 --version 3.10.6
56+ - choco install -y --no-progress python3 --version 3.12.4
4757 - refreshenv
4858 - echo PATH=%PATH% >> "%CIRRUS_ENV%"
4959 << : *RUN_TESTS
5060
5161macos_arm64_task :
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 << : *RUN_TESTS
6071
6172macos_arm64_cp38_task :
6273 macos_instance :
6374 image : ghcr.io/cirruslabs/macos-sonoma-xcode
64-
6575 env :
66- PATH :
/opt/homebrew/opt/[email protected] /libexec/bin:$PATH 76+ VENV_ROOT : ${HOME}/venv-cibuildwheel
77+ PATH : ${VENV_ROOT}/bin:${PATH}
6778 PYTEST_ADDOPTS : --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto'
6879 install_pre_requirements_script :
69- 80+ 81+ - python3.12 -m venv ${VENV_ROOT}
7082 - curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
7183 - sudo installer -pkg python-3.8.10-macos11.pkg -target /
7284 - rm python-3.8.10-macos11.pkg
0 commit comments