Skip to content

cftime: add build-cftime.yml for riscv64 wheels - #687

Merged
luhenry merged 1 commit into
mainfrom
cftime
Aug 28, 2026
Merged

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

Conversation

@luhenry

@luhenry luhenry commented Aug 28, 2026

Copy link
Copy Markdown
Member

cftime compiles a Cython extension for CF-convention calendar and time handling, built against numpy. Upstream publishes no riscv64 wheel.

Mirrors upstream's cibuildwheel.yml.

Differs from upstream

  • manylinux_riscv64 image, and numpy resolved from the RISE registry.
  • No musllinux — upstream builds musl wheels for x86_64 only.

Testing

  • Upstream's dev dependency group replaced with pytest; the suite imports nothing else beyond numpy.

License: OK

Built on cp312; 2272 passed.

Mirrors the build_bdist job of upstream's cibuildwheel.yml at v1.6.5rel,
narrowed to manylinux_riscv64. cftime compiles a Cython extension against
numpy, which resolves from pypi.riseproject.dev inside the container.

Upstream's tags are v<version>rel, so the checkout ref is derived from the
version input rather than used verbatim.

Upstream's CIBW_TEST_GROUPS: dev installs sphinx, twine and coveralls; the
suite imports only pytest and numpy, so CIBW_TEST_REQUIRES names pytest.

musllinux is dropped, matching upstream, which builds musl wheels for
x86_64 only.

Validated on manylinux_2_39_aarch64: 2272 passed.
@luhenry
luhenry merged commit 866db9b into main Aug 28, 2026
8 checks passed
@luhenry
luhenry deleted the cftime branch August 28, 2026 06:35
@luhenry luhenry linked an issue Aug 28, 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.

cftime riscv64 support

1 participant