File tree 4 files changed +10
-14
lines changed 4 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 1
- only_if : changesInclude('.cirrus.yml') || ($BRANCH == "main" && !changesIncludeOnly('docs/*', '.pre-commit-config.yaml'))
1
+ only_if : changesInclude('.cirrus.yml') || ($CIRRUS_BRANCH == "main" && !changesIncludeOnly('docs/*', '.pre-commit-config.yaml')) || $CIRRUS_BRANCH =~ 'cirrus.*'
2
2
3
3
run_tests : &RUN_TESTS
4
4
install_cibuildwheel_script :
@@ -50,25 +50,23 @@ windows_x86_task:
50
50
51
51
macos_arm64_task :
52
52
macos_instance :
53
- image : ghcr.io/cirruslabs/macos-monterey -xcode
53
+ image : ghcr.io/cirruslabs/macos-sonoma -xcode
54
54
55
55
env :
56
- PATH : /opt/homebrew/opt/python@3.10/bin:$PATH
56
+ PATH : /opt/homebrew/opt/python@3.10/libexec/ bin:$PATH
57
57
install_pre_requirements_script :
58
58
- brew install python@3.10
59
- - ln -s python3 /opt/homebrew/opt/python@3.10/bin/python
60
59
<< : *RUN_TESTS
61
60
62
61
macos_arm64_cp38_task :
63
62
macos_instance :
64
- image : ghcr.io/cirruslabs/macos-monterey -xcode
63
+ image : ghcr.io/cirruslabs/macos-sonoma -xcode
65
64
66
65
env :
67
- PATH : /opt/homebrew/opt/python@3.10/bin:$PATH
66
+ PATH : /opt/homebrew/opt/python@3.10/libexec/ bin:$PATH
68
67
PYTEST_ADDOPTS : --run-cp38-universal2 -k 'test_cp38_arm64_testing_universal2_installer or test_arch_auto'
69
68
install_pre_requirements_script :
70
69
- brew install python@3.10
71
- - ln -s python3 /opt/homebrew/opt/python@3.10/bin/python
72
70
- curl -fsSLO https://www.python.org/ftp/python/3.8.10/python-3.8.10-macos11.pkg
73
71
- sudo installer -pkg python-3.8.10-macos11.pkg -target /
74
72
- rm python-3.8.10-macos11.pkg
Original file line number Diff line number Diff line change @@ -10,12 +10,11 @@ build_and_store_wheels: &BUILD_AND_STORE_WHEELS
10
10
macos_task :
11
11
name : Build macOS x86_64 and arm64 wheels.
12
12
macos_instance :
13
- image : ghcr.io/cirruslabs/macos-monterey -xcode
13
+ image : ghcr.io/cirruslabs/macos-sonoma -xcode
14
14
15
15
env :
16
- PATH : /opt/homebrew/opt/python@3.10/bin:$PATH
16
+ PATH : /opt/homebrew/opt/python@3.10/libexec/ bin:$PATH
17
17
CIBW_ARCHS_MACOS : x86_64 arm64
18
18
install_pre_requirements_script :
19
19
- brew install python@3.10
20
- - ln -s python3 /opt/homebrew/opt/python@3.10/bin/python
21
20
<< : *BUILD_AND_STORE_WHEELS
Original file line number Diff line number Diff line change @@ -50,11 +50,10 @@ windows_x86_task:
50
50
macos_arm64_task :
51
51
name : Build macOS arm64 wheels.
52
52
macos_instance :
53
- image : ghcr.io/cirruslabs/macos-monterey -xcode
53
+ image : ghcr.io/cirruslabs/macos-sonoma -xcode
54
54
55
55
env :
56
- PATH : /opt/homebrew/opt/python@3.10/bin:$PATH
56
+ PATH : /opt/homebrew/opt/python@3.10/libexec/ bin:$PATH
57
57
install_pre_requirements_script :
58
58
- brew install python@3.10
59
- - ln -s python3 /opt/homebrew/opt/python@3.10/bin/python
60
59
<< : *BUILD_AND_STORE_WHEELS
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def test_simple(tmp_path):
69
69
assert os.path.exists('{package}/setup.py')
70
70
""" ,
71
71
)
72
- setup_py_assertion_cmd = f'python3 -c "{ setup_py_assertion_snippet !s} "'
72
+ setup_py_assertion_cmd = f'python -c "{ setup_py_assertion_snippet !s} "'
73
73
74
74
# build the wheels from sdist
75
75
actual_wheels = cibuildwheel_from_sdist_run (
You can’t perform that action at this time.
0 commit comments