Skip to content

Commit

Permalink
Merge pull request #20 from google/py312-wheels
Browse files Browse the repository at this point in the history
Build wheels for Python 3.12; disable PyPy wheels
  • Loading branch information
anthrotype authored Sep 5, 2023
2 parents c7db335 + f098a83 commit d11ce13
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
os: [macos-latest, windows-latest]
arch: [auto64]
build: ["*"]
# temporarily disable building wheels for PyPy until this gets fixed:
# https://github.com/google/brotli-wheels/issues/19
skip: ["pp*"]
include:
# the manylinux1 docker images only contain from python3.6 to 3.9
- os: ubuntu-latest
Expand All @@ -61,28 +64,30 @@ jobs:
build: "cp{36,37,38,39}-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1
# the manylinux2010 image also contains python 3.10 and pypy3.7 and 3.8
# the manylinux2010 image also contains python 3.10
- os: ubuntu-latest
arch: auto
type: manylinux2010
build: "pp{37,38}-* cp310-*"
build: "cp310-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010
CIBW_MANYLINUX_I686_IMAGE: manylinux2010
# the manylinux2014 image also contains python 3.11 and pypy3.9
# the manylinux2014 image also contains python 3.11 and 3.12
- os: ubuntu-latest
arch: auto
type: manylinux2014
build: "pp39-* cp311-*"
build: "cp311-* cp312-*"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014

- os: macos-latest
arch: universal2
build: "*"
skip: "pp*"

- os: windows-latest
arch: auto32
build: "*"
skip: "pp*"
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -97,6 +102,7 @@ jobs:
run: python -m cibuildwheel --output-dir wheelhouse "${PACKAGE_DIR}"
env:
CIBW_BUILD: ${{ matrix.build }}
CIBW_SKIP: ${{ matrix.skip }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.CIBW_MANYLINUX_X86_64_IMAGE }}
CIBW_ARCHS: ${{ matrix.arch }}
Expand All @@ -110,7 +116,7 @@ jobs:
strategy:
matrix:
# aarch64 uses qemu so it's slow, build each py version in parallel jobs
python: [36, 37, 38, 39, 310, 311]
python: [36, 37, 38, 39, 310, 311, 312]
arch: [aarch64, ppc64le]
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit d11ce13

Please sign in to comment.