Skip to content

cyksuid: add build-cyksuid.yml for riscv64 wheels - #1238

Merged
luhenry merged 3 commits into
mainfrom
cyksuid
Sep 7, 2026
Merged

cyksuid: add build-cyksuid.yml for riscv64 wheels#1238
luhenry merged 3 commits into
mainfrom
cyksuid

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Cython/C++ implementation of KSUID (K-Sortable Unique IDentifier) generation, with no runtime dependencies. Upstream publishes no riscv64 wheel.

Mirrors the wheel job of upstream's wheels.yml.

Differs from upstream

  • Cythonizes in-container via CYTHON=1 and --no-build-isolation - the tagged checkout ships no pre-generated .cpp, and pyproject.toml omits Cython from build requirements.

Testing

  • same as upstream

License: OK

Cython/C++ KSUID binding with no runtime dependencies; upstream ships
no riscv64 wheel. Mirrors the `wheel` job of upstream's wheels.yml,
cythonizing in-container since the tagged checkout has no pre-generated
.cpp sources.
--only expands to all Linux arches for config validation, so upstream
pyproject.toml's musllinux-*-image = "musllinux_1_1" (a bare alias
cibuildwheel 4.x rejects) fails config parsing even though only
riscv64 is ever actually built. Override the three non-riscv64
musllinux images to a supported alias.
Upstream pins cython==3.0.10, which predates free-threaded support:
the generated fast_base62.cpp references __pyx_vectorcallfunc, which
isn't declared under the nogil build, so g++ fails with "has not been
declared". Bumped past that pin; verified locally that the resulting
wheel builds and the full test suite still passes.
@luhenry
luhenry merged commit 19d3ee2 into main Sep 7, 2026
9 checks passed
@luhenry
luhenry deleted the cyksuid branch September 7, 2026 11:47
@luhenry luhenry linked an issue Sep 7, 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.

cyksuid riscv64 support

1 participant