Skip to content

phono3py: exclude cp310/cp311, phonopy/spglib have no wheel there - #4915

Closed
luhenry wants to merge 1 commit into
mainfrom
fix/phono3py-phonopy-sdist-fallback
Closed

luhenry wants to merge 1 commit into
mainfrom
fix/phono3py-phonopy-sdist-fallback

Conversation

@luhenry

@luhenry luhenry commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

cp310 and cp311 were newly added to phono3py's build matrix by the python-versions refactor (#4731) and have never actually built: both fail the cibuildwheel test-install step with Could not find a version that satisfies the requirement phonopy<4.9.0,>=4.8.0 (from versions: none).

phonopy is pinned via PIP_ONLY_BINARY in build-phono3py.yml, but build-phonopy.yml's own matrix only builds cp312+ (mirroring upstream's narrower wheel-building CI), so pypi.riseproject.dev carries no cp310/cp311 phonopy wheel for any released version. The same gap exists one level down for spglib (a hard phonopy dependency), via build-spglib.yml's own cp312+-only matrix.

cp312/cp313/cp314/cp314t are unaffected — that is exactly what this port's original, merged PR built and tested.

Fix: exclude cp39/cp310/cp311 via python-exclude on the setup job, the same mechanism build-dipy.yml already uses for an identical h5py gap. The pending docs/packages/phono3py.yaml entries for cp310/cp311 are left in place as an upstream-coverage record; they simply stay pending until phonopy/spglib get built for those interpreters.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant