diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8f619a1..3424b55 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 35f3211..a2abe2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]