Skip to content

Make PyPy wheels work #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,11 @@ jobs:
# Architectures to build specified in matrix
CIBW_ARCHS: ${{ matrix.cibw_archs }}

# No 32-bit builds, no musllinux, no PyPy aarch64 (only due to build speed, numpy does not ship aarch64 pypy wheels)
CIBW_SKIP: "*-win32 *_i686 *musl* pp*aarch64"
# No 32-bit builds
# no musllinux
# no PyPy aarch64 (only due to build speed, numpy does not ship aarch64 pypy wheels)
# as of writing numpy does not support pypy 3.10
CIBW_SKIP: "*-win32 *_i686 *musl* pp*aarch64 pp310*"

# Use delvewheel on Windows.
# This copies graphblas.dll into the wheel. "repair" in cibuildwheel parlance includes copying any shared
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ requires = [
"wheel",
"cffi>=1.11,<1.16",
"cython",
"oldest-supported-numpy",
"oldest-supported-numpy; platform_python_implementation != 'PyPy'",
# Inspired by SciPy: unpin numpy version for PyPy builds,
# as oldest-supported-numpy does not take PyPy into account.
"numpy; platform_python_implementation=='PyPy'",
]

[project]
Expand Down