@@ -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,10 +15,15 @@ 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
22
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
21
- - 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}
22
27
<< : *RUN_TESTS
23
28
24
29
linux_aarch64_task :
@@ -29,10 +34,15 @@ linux_aarch64_task:
29
34
platform : linux
30
35
cpu : 4
31
36
memory : 4G
32
-
37
+ env :
38
+ VENV_ROOT : ${HOME}/venv-cibuildwheel
39
+ PATH : ${VENV_ROOT}/bin:${PATH}
33
40
install_pre_requirements_script :
34
41
- docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
35
- - 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}
36
46
<< : *RUN_TESTS
37
47
38
48
windows_x86_task :
@@ -45,30 +55,32 @@ windows_x86_task:
45
55
memory : 8G
46
56
47
57
install_pre_requirements_script :
48
- - choco install -y --no-progress python3 --version 3.10.6
58
+ - choco install -y --no-progress python3 --version 3.12.4
49
59
- refreshenv
50
60
- echo PATH=%PATH% >> "%CIRRUS_ENV%"
51
61
<< : *RUN_TESTS
52
62
53
63
macos_arm64_task :
54
64
macos_instance :
55
65
image : ghcr.io/cirruslabs/macos-sonoma-xcode
56
-
57
66
env :
58
- PATH :
/opt/homebrew/opt/[email protected] /libexec/bin:$PATH
67
+ VENV_ROOT : ${HOME}/venv-cibuildwheel
68
+ PATH : ${VENV_ROOT}/bin:${PATH}
59
69
install_pre_requirements_script :
60
-
70
+
71
+ - python3.12 -m venv ${VENV_ROOT}
61
72
<< : *RUN_TESTS
62
73
63
74
macos_arm64_cp38_task :
64
75
macos_instance :
65
76
image : ghcr.io/cirruslabs/macos-sonoma-xcode
66
-
67
77
env :
68
- PATH :
/opt/homebrew/opt/[email protected] /libexec/bin:$PATH
78
+ VENV_ROOT : ${HOME}/venv-cibuildwheel
79
+ PATH : ${VENV_ROOT}/bin:${PATH}
69
80
PYTEST_ADDOPTS : --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto'
70
81
install_pre_requirements_script :
71
-
82
+
83
+ - python3.12 -m venv ${VENV_ROOT}
72
84
- curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
73
85
- sudo installer -pkg python-3.8.10-macos11.pkg -target /
74
86
- rm python-3.8.10-macos11.pkg
0 commit comments