Skip to content

cronexpr: add build-cronexpr.yml for riscv64 wheels - #1608

Merged
luhenry merged 1 commit into
mainfrom
cronexpr
Sep 8, 2026
Merged

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

Conversation

@luhenry

@luhenry luhenry commented Sep 8, 2026

Copy link
Copy Markdown
Member

Compiles a pybind11 extension (_ccronexpr) wrapping supertinycron/ccronexpr, parsing and evaluating cron expressions. Upstream publishes no riscv64 wheel.

Mirrors upstream's deploy.yaml build_wheels job, narrowed to riscv64 manylinux.

Differs from upstream

  • Sets CMAKE_POLICY_VERSION_MINIMUM=3.5 - newer CMake rejects CPM-fetched supertinycron's cmake_minimum_required(3.5).

Testing

  • No upstream test suite; smoke-tests the compiled extension plus the documented next_fire/prev_fire round trip and invalid-expression error.

License: Apache-2.0; statically links supertinycron (also Apache-2.0), whose notice text is already identical to the wheel's own LICENSE.txt.

Built on cp312 locally (macOS/arm64); smoke test passed.

Builds riscv64 wheels for cronexpr 0.30.0 (pybind11 wrapper around
supertinycron/ccronexpr, built via scikit-build-core+CMake). CMake's
CPM.cmake fetches supertinycron at configure time; CMAKE_POLICY_VERSION_MINIMUM=3.5
works around its cmake_minimum_required(3.5) floor being unsupported
by newer CMake (gotcha 257). pypi.riseproject.dev already carries
riscv64 cmake/ninja wheels scikit-build-core needs when absent on PATH.
luhenry added a commit that referenced this pull request Sep 8, 2026
@luhenry
luhenry merged commit c9bd76e into main Sep 8, 2026
9 checks passed
@luhenry
luhenry deleted the cronexpr branch September 8, 2026 14:41
@luhenry luhenry linked an issue Sep 8, 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.

cronexpr riscv64 support

1 participant