Instead of using joerick/cibuildwheel@v1.9.0, we now use the cibuildwheel package directly. It allowed us to get rid of the manual include and exclude in the matrix for the build_wheels job
As a bonus, now wheels for Python v3.9 on Windows.
We explicitly ask not to build wheels
for Python v3.10
for PyPy
We manually force a version (and avoid building local wheels, the ones with 0.1.dev1 prefix)
We added a immediate test of the built wheels (feature offered by cibuildwheel via CIBW_TEST_REQUIRES and CIBW_TEST_COMMAND
We switch from actions/checkout@v1 to actions/checkout@v2
Removed an incompatible pytest option in pyproject.toml
GHActions supposed to build and upload both the wheels and SDist to Pypi failed (timeout after 6 hours) : https://github.com/deepcharles/ruptures/actions/runs/1291048776 failed
joerick/cibuildwheel@v1.9.0
, we now use thecibuildwheel
package directly. It allowed us to get rid of the manualinclude
andexclude
in the matrix for thebuild_wheels
job0.1.dev1
prefix)cibuildwheel
viaCIBW_TEST_REQUIRES
andCIBW_TEST_COMMAND
actions/checkout@v1
toactions/checkout@v2
pytest
option inpyproject.toml