Skip to content

mocpy: drop 3.9/3.10 and musllinux from the 0.20.0 matrix - #4914

Closed
luhenry wants to merge 1 commit into
mainfrom
fix/mocpy-0.20.0-matrix
Closed

luhenry wants to merge 1 commit into
mainfrom
fix/mocpy-0.20.0-matrix

Conversation

@luhenry

@luhenry luhenry commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Fixes a regression on the merged/published mocpy 0.20.0 port (#3236).

Scheduled CI (run containing jobs 134269280698 cp310-manylinux and
134269280721 cp312-musllinux) fails at cibuildwheel's post-build
"Testing wheel..." step:

ERROR: Could not find a version that satisfies the requirement astropy (from mocpy) (from versions: none)
ERROR: No matching distribution found for astropy

cp311/cp313/cp314 (manylinux) succeed in the same run.

Root cause: astropy is a hard runtime dependency of mocpy (declared
in its wheel metadata, not just a test extra). The only astropy riscv64
wheel published to pypi.riseproject.dev (8.0.x) is cp311-abi3
manylinux, requires-python: >=3.11, and no musllinux build has been
published for any interpreter. docs/packages/mocpy.yaml still listed
3.9/3.10 and every musllinux leg for 0.20.0, so those matrix
entries build a wheel whose runtime dependency can never resolve:

  • cp310 (and cp39, silently skipped only because of the default
    python-exclude: cp39): no astropy wheel satisfies >=3.11.
  • musllinux (3.9-3.12): no astropy musllinux wheel exists at all.

build-mocpy.yml already documents musllinux as dropped ("numpy ...
has no musllinux riscv64 wheel"); the yaml just hadn't been trimmed to
match, and never accounted for astropy's >=3.11 floor either.

Fix: trim the 0.20.0 files list to the four legs that can actually
install - 3.11/3.12/3.13/3.14, manylinux only.

License: no change.

astropy is a hard runtime dependency of mocpy, and the only astropy riscv64
wheel we publish (8.0.x) is cp311-abi3 manylinux and requires-python
>=3.11; no musllinux build exists for any interpreter. The remaining
cp39/cp310 and every musllinux leg in docs/packages/mocpy.yaml therefore
build a wheel that cibuildwheel's own post-build test-install can never
satisfy, and fails with "Could not find a version that satisfies the
requirement astropy (from versions: none)" (CI runs 134269280698,
134269280721). cp39 was already silently dropped by the default
python-exclude; cp310 was not.

Trim the matrix to the four manylinux legs astropy actually supports:
3.11-3.14. build-mocpy.yml already documents musllinux as dropped for
numpy's sake; the yaml just hadn't caught up.
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