diff --git a/.github/workflows/buildwheels.yml b/.github/workflows/buildwheels.yml index 0150d38e..ecf97649 100644 --- a/.github/workflows/buildwheels.yml +++ b/.github/workflows/buildwheels.yml @@ -41,7 +41,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, ubuntu-24.04-arm, macos-13, macos-latest, windows-latest] + os: [ubuntu-latest, ubuntu-24.04-arm, macos-15, macos-15-intel, windows-latest] steps: - uses: actions/checkout@v4 @@ -74,7 +74,7 @@ jobs: CIBW_BEFORE_BUILD_WINDOWS: pip install delvewheel CIBW_ENVIRONMENT_WINDOWS: CMAKE_ARGS="-DCMAKE_MAKE_PROGRAM=D:/a/_temp/msys64/mingw64/bin/ninja.exe" CMAKE_PROGRAM_PATH="D:/a/_temp/msys64/usr/bin" CMAKE_GENERATOR="Ninja" TEMP="D:/a/_temp/" CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: delvewheel repair -w {dest_dir} {wheel} - CIBW_BEFORE_BUILD_MACOS: brew reinstall gcc + CIBW_BEFORE_BUILD_MACOS: brew reinstall gcc; pip install --only-binary=llvmlite llvmlite CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=`sw_vers -productVersion` SYSTEM_VERSION_COMPAT=0 CIBW_TEST_REQUIRES: pytest pytest-order CIBW_TEST_COMMAND: pytest -v -s -We -p no:unraisableexception {package}/tests @@ -92,7 +92,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, ubuntu-24.04-arm, macos-13, macos-latest, windows-latest] + os: [ubuntu-latest, ubuntu-24.04-arm, macos-15, macos-15-intel, windows-latest] steps: - uses: actions/checkout@v4 @@ -102,7 +102,7 @@ jobs: - uses: actions/setup-python@v5.0.0 with: - python-version: "3.13" + python-version: "3.12" - uses: actions/download-artifact@v4 with: @@ -113,13 +113,14 @@ jobs: - if: startsWith(matrix.os, 'macos-') run: | brew reinstall gcc + pip install --only-binary=llvmlite numba llvmlite!=0.46.0b1 # TODO #440 - if: startsWith(matrix.os, 'windows-') run: echo 'PYTEST_SKIP_ARGS=-k "not camp"' >> $GITHUB_ENV - run: | - temp=`find dist/ -name "*cp313*.whl"` + temp=`find dist/ -name "*cp312*.whl"` python -m pip install $temp[examples] ex -sc 'g/^PyPartMC/d' -cx .binder/requirements.txt python -m pip install --force-reinstall --no-deps $PIP_INSTALL_OPTS -r .binder/requirements.txt @@ -217,4 +218,4 @@ jobs: path: dist merge-multiple: true - - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + - uses: pypa/gh-action-pypi-publish@release/v1