Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cyksuid2.1.0Cython/C++ implementation of KSUID (K-Sortable Unique IDentifier) generation, with no runtime dependencies. Upstream publishes no riscv64 wheel.
Mirrors the
wheeljob of upstream'swheels.yml.Differs from upstream
CYTHON=1and--no-build-isolation- the tagged checkout ships no pre-generated.cpp, andpyproject.tomlomits Cython from build requirements.Testing
License: OK