From ba9bbb2a66fbceff64f17a7f4019490dca15e917 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 3 Dec 2021 14:30:16 -0500 Subject: [PATCH] Also build Python 3.10 wheels (#292) * Also build Python 3.10 wheels * Test all Python versions * Use cibuildwheel 2.2.2 * Skip musllinux for now * Add CPython $v to now-matrixed test jobs * add 3.10 builds to AARCH64 * break out testing of all pythons to another PR * Skip musllinux on aarch64 --- .github/workflows/build-aarch64.yml | 6 +++--- .github/workflows/build-wheels.yml | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-aarch64.yml b/.github/workflows/build-aarch64.yml index 3f007a04d..91f3bd32b 100644 --- a/.github/workflows/build-aarch64.yml +++ b/.github/workflows/build-aarch64.yml @@ -30,7 +30,7 @@ jobs: python3 -m venv venv source venv/bin/activate python -m pip install --upgrade pip - python -m pip install cibuildwheel==1.10.0 + python -m pip install cibuildwheel==2.2.2 - name: Lint source with flake8 run: | @@ -49,8 +49,8 @@ jobs: source venv/bin/activate python -m cibuildwheel --output-dir dist env: - # build python 3.7 and 3.8 - CIBW_BUILD: cp37-* cp38-* cp39-* + CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* + CIBW_SKIP: '*-musllinux_*' CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014 CIBW_BUILD_VERBOSITY_LINUX: 0 CIBW_BEFORE_BUILD_LINUX: > diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index ef38eebfc..e433605f4 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -46,16 +46,15 @@ jobs: python -m build --sdist --outdir dist . - name: Build ${{ matrix.os }} wheels and test - uses: joerick/cibuildwheel@v1.10.0 + uses: joerick/cibuildwheel@v2.2.2 with: output-dir: dist env: CIBW_BUILD_VERBOSITY_MACOS: 0 CIBW_BUILD_VERBOSITY_LINUX: 0 CIBW_BUILD_VERBOSITY_WINDOWS: 0 - # Python 3.7 and 3.8 - CIBW_BUILD: cp37-* cp38-* cp39-* - CIBW_SKIP: '*-manylinux_i686 *-win32' + CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* + CIBW_SKIP: '*-manylinux_i686 *-win32 *-musllinux_*' CIBW_TEST_REQUIRES: pytest CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010 CIBW_ENVIRONMENT_LINUX: "PATH=/project/cmake-3.17.3-Linux-`uname -m`/bin:$PATH"