1212 runs-on : ${{ matrix.os }}
1313 strategy :
1414 matrix :
15- # macos-13 is an intel runner, macos- 14 is apple silicon
16- os : [ubuntu-22.04, macos-13, macos- 14, windows-2022]
15+ # macos-14 is apple silicon
16+ os : [ubuntu-22.04, macos-14, windows-2022]
1717
1818 steps :
1919 - uses : actions/checkout@v4
@@ -38,12 +38,12 @@ jobs:
3838 python-version : ' 3.10'
3939
4040 - name : Install cibuildwheel
41- run : python -m pip install "cibuildwheel>=2.17 ,<2.18 "
41+ run : python -m pip install "cibuildwheel>=2.22 ,<2.23 "
4242
4343 - name : Build wheels
4444 run : python -m cibuildwheel --output-dir wheelhouse
4545 env :
46- CIBW_BUILD : " cp38-* cp39-* cp310-* cp311-* cp312-*"
46+ CIBW_BUILD : " cp39-* cp310-* cp311-* cp312-* cp313 -*"
4747 CIBW_SKIP : " *-win32 pp* *-musllinux_i686" # Skip win32, PyPy and muslinux32 builds
4848 # Build wheels for Apple x86_64 only; we use another workflow for Apple arm64
4949 CIBW_ARCHS_MACOS : " native"
@@ -52,13 +52,14 @@ jobs:
5252 CIBW_MANYLINUX_I686_IMAGE : manylinux2014
5353 # The C libraries (OpenSSL and Zlib) only need to be built once per OS
5454 # as they are not tied to a specific Python version
55- CIBW_BEFORE_ALL : " python -m pip install invoke && invoke build.deps"
55+ CIBW_BEFORE_ALL : " python -m pip install setuptools invoke && invoke build.deps"
5656 CIBW_BEFORE_ALL_WINDOWS : ' "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && python -m pip install invoke && invoke build.deps'
5757 # However the nassl C extension is by design tied to a specific Python version
58- CIBW_BEFORE_BUILD : " python -m pip install invoke && invoke build.nassl"
58+ CIBW_BEFORE_BUILD : " python -m pip install setuptools invoke && invoke build.nassl"
5959 CIBW_TEST_REQUIRES : " pytest"
6060 CIBW_TEST_COMMAND : " python -m pytest {project}/tests"
6161
62- - uses : actions/upload-artifact@v2
62+ - uses : actions/upload-artifact@v4
6363 with :
64+ name : ${{ matrix.os }}-wheels
6465 path : ./wheelhouse/*.whl
0 commit comments