From e7f7b8633c92cfc390890a5cb8bfce9aee800e6c Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 21 Aug 2024 10:38:12 -0400 Subject: [PATCH] Add PyPy 3.10 wheels (#182) * Skip setuptools 72.2.0 on PyPy This is needed due to https://github.com/pypa/setuptools/issues/4571. * Add PyPy 3.10 wheels --- .github/workflows/release.yml | 2 +- pyproject.toml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 29d734d..6f4efc7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -139,7 +139,7 @@ jobs: pip install delvewheel CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >- delvewheel repair -w {dest_dir} {wheel} - CIBW_BUILD: "cp312-* cp311-* pp39-*" + CIBW_BUILD: "cp312-* cp311-* pp39-* pp310-*" CIBW_ARCHS_MACOS: x86_64 universal2 arm64 CIBW_ARCHS_LINUX: ${{ matrix.archs }} CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 diff --git a/pyproject.toml b/pyproject.toml index fbd0d47..50e2d0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,12 @@ changelog = "https://github.com/nucleic/kiwi/blob/main/releasenotes.rst" [build-system] - requires = ["setuptools>=61.2", "wheel", "setuptools_scm[toml]>=3.4.3", "cppy>=1.2.0"] + requires = [ + "setuptools>=61.2; implementation_name == 'cpython'", + "setuptools>=61.2,!=72.2.0; implementation_name != 'cpython'", + "setuptools_scm[toml]>=3.4.3", + "cppy>=1.2.0" + ] build-backend = "setuptools.build_meta" [tool.setuptools]