Skip to content

Commit

Permalink
add Python 3.11 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Aug 9, 2022
1 parent 4512044 commit a8e4c1a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
25 changes: 19 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ jobs:
parameters:
build:
type: string
skip:
type: string
default: ""
image:
type: string
default: quay.io/pypa/manylinux2014_aarch64

machine:
image: ubuntu-2004:2022.04.1
Expand All @@ -19,9 +25,11 @@ jobs:
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: "pytest -vsx {package}/tools/test_wheel.py"
CIBW_ARCHS: "aarch64"
CIBW_MANYLINUX_AARCH64_IMAGE: quay.io/pypa/manylinux2014_aarch64
CIBW_MANYLINUX_AARCH64_IMAGE: "<< parameters.image >>"
CIBW_MUSLLINUX_AARCH64_IMAGE: quay.io/pypa/musllinux_1_1_aarch64
CIBW_SKIP: "<< parameters.skip >>"
CIBW_BUILD: "<< parameters.build >>"
CIBW_PRERELEASE_PYTHONS: "1"

steps:
- checkout
Expand Down Expand Up @@ -76,8 +84,13 @@ workflows:
# Inside the workflow, you define the jobs you want to run.
jobs:
- arm-wheels:
matrix:
parameters:
build:
- "*manylinux*"
- "*musllinux*"
name: manylinux
build: "*manylinux*"
skip: "cp311*"
- arm-wheels:
name: manylinux-cp311
build: "cp311*manylinux*"
image: manylinux_2_28
- arm-wheels:
name: musllinux
build: "*musllinux*"
13 changes: 11 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
CIBW_MANYLINUX_I686_IMAGE: "${{ matrix.cibw.manylinux_image }}"
CIBW_ARCHS_LINUX: "${{ matrix.cibw.arch || 'auto' }}"
CIBW_ARCHS_MACOS: "${{ matrix.cibw.arch || 'auto' }}"
CIBW_PRERELEASE_PYTHONS: "1"

strategy:
fail-fast: false
Expand All @@ -118,7 +119,8 @@ jobs:
name: mac-arm
cibw:
arch: universal2
build: "cp39* cp310*"
build: "cp*"
skip: "cp38*"

- os: ubuntu-20.04
name: manylinux1
Expand All @@ -137,11 +139,18 @@ jobs:
- os: ubuntu-20.04
name: manylinux2014
cibw:
# cp311 will go here
build: "cp310* pp39*"
skip: "*musllinux*"
manylinux_image: manylinux2014

- os: ubuntu-20.04
name: manylinux_2_28
cibw:
build: "cp311*"
skip: "*musllinux*"
manylinux_image: manylinux_2_28
arch: x86_64

- os: ubuntu-20.04
name: musslinux
cibw:
Expand Down

0 comments on commit a8e4c1a

Please sign in to comment.