69
69
curl -Lo LICENSE/LICENSE_QHULL
70
70
https://github.com/qhull/qhull/raw/2020.2/COPYING.txt
71
71
72
+ - name : Build wheels for CPython 3.12
73
+ uses : pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d # v2.15.0
74
+ env :
75
+ CIBW_BUILD : " cp312-*"
76
+ CIBW_SKIP : " *-musllinux* *i686* *win32*"
77
+ CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
78
+ CIBW_MANYLINUX_I686_IMAGE : manylinux2014
79
+ MPL_DISABLE_FH4 : " yes"
80
+ CIBW_ARCHS : ${{ matrix.cibw_archs }}
81
+ # Remove this once NumPy with Python 3.12 wheels is not pre-release.
82
+ CIBW_BEFORE_BUILD : >-
83
+ pip install certifi "Cython>=0.29.34,<3.1" "pybind11>=2.6" "pyproject-metadata >= 0.7.1" "setuptools>=60" "setuptools_scm>=7" &&
84
+ pip install --pre "numpy>=1.25" &&
85
+ rm -rf {package}/build
86
+ CIBW_BEFORE_BUILD_WINDOWS : >-
87
+ pip install certifi colorama "Cython>=0.29.34,<3.1" delvewheel "pybind11>=2.6" "pyproject-metadata >= 0.7.1" "setuptools>=60" "setuptools_scm>=7" &&
88
+ pip install --pre "numpy>=1.25" &&
89
+ rm -rf {package}/build
90
+ CIBW_ENVIRONMENT : PIP_NO_BUILD_ISOLATION=0
91
+ # Remove this once contourpy has Python 3.12 wheels.
92
+ CIBW_BEFORE_TEST : >-
93
+ pip install "meson>=1.2.0" "meson-python>=0.13.1" "ninja" "pybind11>=2.10.4" &&
94
+ pip install --pre "numpy>=1.25"
95
+
72
96
- name : Build wheels for CPython 3.11
73
- uses : pypa/cibuildwheel@v2.12.1
97
+ uses : pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d # v2.15.0
74
98
env :
75
99
CIBW_BUILD : " cp311-*"
76
100
CIBW_SKIP : " *-musllinux*"
83
107
CIBW_ARCHS : ${{ matrix.cibw_archs }}
84
108
85
109
- name : Build wheels for CPython 3.10
86
- uses : pypa/cibuildwheel@v2.12.1
110
+ uses : pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d # v2.15.0
87
111
env :
88
112
CIBW_BUILD : " cp310-*"
89
113
CIBW_SKIP : " *-musllinux*"
96
120
CIBW_ARCHS : ${{ matrix.cibw_archs }}
97
121
98
122
- name : Build wheels for CPython 3.9
99
- uses : pypa/cibuildwheel@v2.12.1
123
+ uses : pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d # v2.15.0
100
124
env :
101
125
CIBW_BUILD : " cp39-*"
102
126
CIBW_SKIP : " *-musllinux*"
@@ -109,7 +133,7 @@ jobs:
109
133
CIBW_ARCHS : ${{ matrix.cibw_archs }}
110
134
111
135
- name : Build wheels for CPython 3.8
112
- uses : pypa/cibuildwheel@v2.12 .0
136
+ uses : pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d # v2.15 .0
113
137
env :
114
138
CIBW_BUILD : " cp38-*"
115
139
CIBW_SKIP : " *-musllinux*"
@@ -121,17 +145,34 @@ jobs:
121
145
MPL_DISABLE_FH4 : " yes"
122
146
CIBW_ARCHS : ${{ matrix.cibw_archs }}
123
147
124
- - name : Build wheels for PyPy
125
- uses : pypa/cibuildwheel@v2.12.1
148
+ - name : Build wheels for PyPy 3.8
149
+ uses : pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d # v2.15.0
126
150
env :
127
- CIBW_BUILD : " pp38-* pp39-* "
151
+ CIBW_BUILD : " pp38-*"
128
152
CIBW_SKIP : " *-musllinux*"
129
153
CIBW_BEFORE_BUILD : >-
130
154
pip install certifi oldest-supported-numpy &&
131
155
git clean -fxd build
132
156
CIBW_ARCHS : ${{ matrix.cibw_archs }}
133
157
if : matrix.cibw_archs != 'aarch64'
134
158
159
+ - name : Build wheels for PyPy 3.9
160
+ uses : pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d # v2.15.0
161
+ env :
162
+ CIBW_BUILD : " pp39-*"
163
+ CIBW_SKIP : " *-musllinux*"
164
+ CIBW_BEFORE_BUILD : >-
165
+ pip install certifi "Cython>=0.29.34,<3.0" "pybind11>=2.6" "setuptools>=42" "setuptools_scm>=7" &&
166
+ pip install "numpy>=1.25" &&
167
+ git clean -fxd build
168
+ CIBW_BEFORE_BUILD_WINDOWS : >-
169
+ pip install certifi delvewheel "pybind11>=2.6" "setuptools>=42" "setuptools_scm>=7" &&
170
+ pip install "numpy>=1.25" &&
171
+ git clean -fxd build
172
+ CIBW_ARCHS : ${{ matrix.cibw_archs }}
173
+ CIBW_ENVIRONMENT : PIP_NO_BUILD_ISOLATION=0 PIP_NO_DEPENDENCIES=0
174
+ if : matrix.cibw_archs != 'aarch64'
175
+
135
176
- name : Validate that LICENSE files are included in wheels
136
177
run : |
137
178
python3 ./ci/check_wheel_licenses.py
0 commit comments