@@ -2,11 +2,11 @@ only_if: changesInclude('.cirrus.yml') || ($CIRRUS_BRANCH == "main" && !changesI
2
2
3
3
run_tests : &RUN_TESTS
4
4
install_cibuildwheel_script :
5
+ - python -V
5
6
- python -m pip install -e ".[dev]" pytest-custom-exit-code
6
7
run_cibuildwheel_tests_script :
7
8
- python ./bin/run_tests.py
8
9
9
-
10
10
linux_x86_task :
11
11
timeout_in : 120m
12
12
compute_engine_instance :
@@ -15,9 +15,14 @@ linux_x86_task:
15
15
platform : linux
16
16
cpu : 8
17
17
memory : 8G
18
-
18
+ env :
19
+ VENV_ROOT : ${HOME}/venv-cibuildwheel
20
+ PATH : ${VENV_ROOT}/bin:${PATH}
19
21
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}
21
26
<< : *RUN_TESTS
22
27
23
28
linux_aarch64_task :
@@ -28,9 +33,14 @@ linux_aarch64_task:
28
33
platform : linux
29
34
cpu : 4
30
35
memory : 4G
31
-
36
+ env :
37
+ VENV_ROOT : ${HOME}/venv-cibuildwheel
38
+ PATH : ${VENV_ROOT}/bin:${PATH}
32
39
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}
34
44
<< : *RUN_TESTS
35
45
36
46
windows_x86_task :
@@ -51,22 +61,24 @@ windows_x86_task:
51
61
macos_arm64_task :
52
62
macos_instance :
53
63
image : ghcr.io/cirruslabs/macos-sonoma-xcode
54
-
55
64
env :
56
- PATH :
/opt/homebrew/opt/[email protected] /libexec/bin:$PATH
65
+ VENV_ROOT : ${HOME}/venv-cibuildwheel
66
+ PATH : ${VENV_ROOT}/bin:${PATH}
57
67
install_pre_requirements_script :
58
68
69
+ - python3.12 -m venv ${VENV_ROOT}
59
70
<< : *RUN_TESTS
60
71
61
72
macos_arm64_cp38_task :
62
73
macos_instance :
63
74
image : ghcr.io/cirruslabs/macos-sonoma-xcode
64
-
65
75
env :
66
- PATH :
/opt/homebrew/opt/[email protected] /libexec/bin:$PATH
76
+ VENV_ROOT : ${HOME}/venv-cibuildwheel
77
+ PATH : ${VENV_ROOT}/bin:${PATH}
67
78
PYTEST_ADDOPTS : --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto'
68
79
install_pre_requirements_script :
69
80
81
+ - python3.12 -m venv ${VENV_ROOT}
70
82
- curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
71
83
- sudo installer -pkg python-3.8.10-macos11.pkg -target /
72
84
- rm python-3.8.10-macos11.pkg
0 commit comments