1818
1919# Set options available for all jobs that use cibuildwheel
2020env :
21+ PYBAMM_DISABLE_TELEMETRY : " true"
2122 # Increase pip debugging output, equivalent to `pip -vv`
2223 CIBW_BUILD_VERBOSITY : 2
2324 # Disable build isolation to allow pre-installing build-time dependencies.
7576 run : pipx run cibuildwheel --output-dir wheelhouse
7677 env :
7778 CIBW_ENVIRONMENT : >
79+ PYBAMM_DISABLE_TELEMETRY="true"
7880 PYBAMM_USE_VCPKG=ON
7981 VCPKG_ROOT_DIR=C:\vcpkg
8082 VCPKG_DEFAULT_TRIPLET=x64-windows-static-md
9294 python -c "import pybamm; print(pybamm.IDAKLUSolver())"
9395 python -m pytest -m cibw {project}/tests/unit
9496 - name : Upload Windows wheels
95- uses : actions/upload-artifact@v4.3.6
97+ uses : actions/upload-artifact@v4.4.3
9698 with :
9799 name : wheels_windows
98100 path : ./wheelhouse/*.whl
@@ -116,6 +118,8 @@ jobs:
116118 - name : Build wheels on Linux
117119 run : pipx run cibuildwheel --output-dir wheelhouse
118120 env :
121+ CIBW_ENVIRONMENT : >
122+ PYBAMM_DISABLE_TELEMETRY="true"
119123 CIBW_ARCHS_LINUX : x86_64
120124 CIBW_BEFORE_ALL_LINUX : >
121125 yum -y install openblas-devel lapack-devel &&
@@ -129,7 +133,7 @@ jobs:
129133 python -m pytest -m cibw {project}/tests/unit
130134
131135 - name : Upload wheels for Linux
132- uses : actions/upload-artifact@v4.3.6
136+ uses : actions/upload-artifact@v4.4.3
133137 with :
134138 name : wheels_manylinux
135139 path : ./wheelhouse/*.whl
@@ -242,7 +246,9 @@ jobs:
242246 python scripts/install_KLU_Sundials.py
243247 python -m cibuildwheel --output-dir wheelhouse
244248 env :
245- # 10.13 for Intel (macos-12/macos-13), 11.0 for Apple Silicon (macos-14 and macos-latest)
249+ CIBW_ENVIRONMENT : >
250+ PYBAMM_DISABLE_TELEMETRY="true"
251+ # 10.13 for Intel (macos-13), 11.0 for Apple Silicon (macos-14 and macos-latest)
246252 MACOSX_DEPLOYMENT_TARGET : ${{ matrix.os == 'macos-14' && '11.0' || '10.13' }}
247253 CIBW_ARCHS_MACOS : auto
248254 CIBW_BEFORE_BUILD : python -m pip install cmake casadi setuptools wheel delocate
@@ -261,7 +267,7 @@ jobs:
261267 python -m pytest -m cibw {project}/tests/unit
262268
263269 - name : Upload wheels for macOS (amd64, arm64)
264- uses : actions/upload-artifact@v4.3.6
270+ uses : actions/upload-artifact@v4.4.3
265271 with :
266272 name : wheels_${{ matrix.os }}
267273 path : ./wheelhouse/*.whl
@@ -281,7 +287,7 @@ jobs:
281287 run : pipx run build --sdist
282288
283289 - name : Upload SDist
284- uses : actions/upload-artifact@v4.3.6
290+ uses : actions/upload-artifact@v4.4.3
285291 with :
286292 name : sdist
287293 path : ./dist/*.tar.gz
0 commit comments