Skip to content

Commit 84e82a2

Browse files
BLD: Add Python 3.11 builds to CI
With cibuildwheel v2.9.0, CPython 3.11 wheels are now built (by default) and as NumPy now has CPython 3.11 wheels out as of NumPy v1.23.2, matplotlib can build CPython 3.11 wheels (though as of 2022-08-16 contourpy does not have 3.11 wheels yet). - c.f. https://github.com/pypa/cibuildwheel/releases/tag/v2.9.0
1 parent 276436a commit 84e82a2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/cibuildwheel.yml

+13
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ jobs:
5252
with:
5353
fetch-depth: 0
5454

55+
- name: Build wheels for CPython 3.11
56+
uses: pypa/cibuildwheel@v2.9.0
57+
env:
58+
CIBW_BUILD: "cp311-*"
59+
CIBW_SKIP: "*-musllinux*"
60+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
61+
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
62+
CIBW_BEFORE_BUILD: >-
63+
pip install certifi oldest-supported-numpy &&
64+
git clean -fxd build
65+
MPL_DISABLE_FH4: "yes"
66+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
67+
5568
- name: Build wheels for CPython 3.10
5669
uses: pypa/cibuildwheel@v2.9.0
5770
env:

0 commit comments

Comments
 (0)