From afd336ddbd49519b91f563baa4bdbff97ed09599 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Tue, 17 Nov 2026 20:47:29 +0000 Subject: [PATCH] phono3py: exclude cp310/cp311, phonopy/spglib have no wheel there cp310/cp311 were newly added to the build matrix by the python-versions refactor, and both fail the test-install step: phonopy (pinned via PIP_ONLY_BINARY) resolves to zero candidate versions because phonopy and its own spglib dependency only ever get built for cp312+ on pypi.riseproject.dev, mirroring their own narrower upstream wheel CI. Exclude cp310/cp311 here too, the same way build-dipy.yml already excludes cp311 for the identical h5py gap. --- .github/workflows/build-phono3py.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-phono3py.yml b/.github/workflows/build-phono3py.yml index 2b2cc48d8c5..3eaad8a1cb4 100644 --- a/.github/workflows/build-phono3py.yml +++ b/.github/workflows/build-phono3py.yml @@ -48,6 +48,11 @@ jobs: with: package: phono3py version: ${{ inputs.version }} + # phonopy and spglib, hard runtime dependencies pulled in at test time, have no + # cp310/cp311 riscv64 wheel on pypi.riseproject.dev: build-phonopy.yml and + # build-spglib.yml both mirror their own upstream's narrower cp312+ wheel-building + # CI, so neither has ever published one. + python-exclude: 'cp39 cp310 cp311' build_wheels: needs: [setup]