Skip to content

pycocotools: add build-pycocotools.yml for riscv64 wheels - #966

Merged
luhenry merged 1 commit into
mainfrom
pycocotools
Sep 5, 2026
Merged

pycocotools: add build-pycocotools.yml for riscv64 wheels#966
luhenry merged 1 commit into
mainfrom
pycocotools

Conversation

@luhenry

@luhenry luhenry commented Sep 5, 2026

Copy link
Copy Markdown
Member

Compiles a Cython extension (_mask) wrapping a small C library for COCO RLE mask encoding/decoding. Upstream publishes no riscv64 wheel.

Mirrors upstream's build.yml.

Differs from upstream

  • Pins the release commit, not a tag - upstream cuts releases without pushing git tags.
  • musllinux dropped - we publish no musllinux_riscv64 numpy wheel.
  • numpy resolves from our registry, binary only.
  • Stages license.txt into PythonAPI/LICENSE - upstream's own wheels ship no licence file.

Testing

  • same as upstream

License: OK

Built on cp312 and cp314t; 4 passed on both.

Build-from-checkout of ppwwyyxx/cocoapi (the fork PyPI's pycocotools ships
from), pinned to the commit matching the 2.0.11 release since upstream cuts
releases without git tags. Two cibuildwheel jobs mirror upstream's abi3 +
free-threaded wheel shape: cp312-abi3 (reused/tested on cp313/cp314) and
cp314t. Runs upstream's own tests/test_cases.py against each built wheel.
@luhenry
luhenry merged commit f9cdc73 into main Sep 5, 2026
7 checks passed
@luhenry
luhenry deleted the pycocotools branch September 5, 2026 12:13
@luhenry luhenry linked an issue Sep 5, 2026 that may be closed by this pull request
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.

pycocotools riscv64 support

1 participant