diff --git a/.github/workflows/build-shapely.yml b/.github/workflows/build-shapely.yml index ea56a1237d95..be9773064ce6 100644 --- a/.github/workflows/build-shapely.yml +++ b/.github/workflows/build-shapely.yml @@ -104,7 +104,11 @@ jobs: env: CIBW_MANYLINUX_RISCV64_IMAGE: ${{ env.BASEIMAGE }}_geos:${{ env.GEOS_VERSION }} CIBW_BUILD_FRONTEND: "pip; args: --no-build-isolation" - CIBW_BEFORE_BUILD: pip install cython numpy setuptools wheel + # 2.2.0 switched the build backend from setuptools to meson-python (mesonpy); + # preinstalling the old setuptools/wheel pair leaves mesonpy missing and the + # build fails with "BackendUnavailable: Cannot import 'mesonpy'" (see + # build-beancount.yml/build-matscipy.yml for the same meson-python pattern). + CIBW_BEFORE_BUILD: pip install cython numpy meson meson-python ninja CIBW_ENVIRONMENT: PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/ - name: Check the wheel ships the GEOS licence and the compiled extensions diff --git a/docs/packages/shapely.yaml b/docs/packages/shapely.yaml index 5afaf567a446..da42bf645b1e 100644 --- a/docs/packages/shapely.yaml +++ b/docs/packages/shapely.yaml @@ -17,3 +17,4 @@ versions: - filename: shapely-2.1.2-cp314-cp314t-manylinux_2_39_riscv64.whl sha256: 3a04ef36a912c3b9fa4a6adec07adbd6e3b835f7e9651f893f1b014db4140eed requires-python: '>=3.10' +- version: 2.2.0