Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18de850

Browse files
committed
Use NumPy 1.25 for PyPy 3.9 wheel builds
1 parent 4f142a0 commit 18de850

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,32 @@ jobs:
145145
MPL_DISABLE_FH4: "yes"
146146
CIBW_ARCHS: ${{ matrix.cibw_archs }}
147147

148-
- name: Build wheels for PyPy
148+
- name: Build wheels for PyPy 3.8
149149
uses: pypa/cibuildwheel@39a63b5912f086dd459cf6fcb13dcdd3fe3bc24d # v2.15.0
150150
env:
151-
CIBW_BUILD: "pp38-* pp39-*"
151+
CIBW_BUILD: "pp38-*"
152152
CIBW_SKIP: "*-musllinux*"
153153
CIBW_BEFORE_BUILD: >-
154154
pip install certifi oldest-supported-numpy &&
155155
git clean -fxd build
156156
CIBW_ARCHS: ${{ matrix.cibw_archs }}
157157
if: matrix.cibw_archs != 'aarch64'
158158

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" "numpy>=1.25" "setuptools>=42" "setuptools_scm>=7" &&
166+
git clean -fxd build
167+
CIBW_BEFORE_BUILD_WINDOWS: >-
168+
pip install certifi delvewheel "pybind11>=2.6" "numpy>=1.25" "setuptools>=42" "setuptools_scm>=7" &&
169+
git clean -fxd build
170+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
171+
CIBW_ENVIRONMENT: PIP_NO_BUILD_ISOLATION=0 PIP_NO_DEPENDENCIES=0
172+
if: matrix.cibw_archs != 'aarch64'
173+
159174
- name: Validate that LICENSE files are included in wheels
160175
run: |
161176
python3 ./ci/check_wheel_licenses.py

0 commit comments

Comments
 (0)