Repository navigation
ci: PyPy, free-threaded, 3.15, musl and Intel macOS wheels, plus an sdist - #3
Merged
Merged
Conversation
… an sdist Every published wheel was a cpXY wheel built natively on the runner, with no sdist, so pip on PyPy, 3.14t or GraalPy found nothing to install and nothing to build. Building on ubuntu-latest outside a manylinux container also tagged the Linux wheels manylinux_2_34, shutting out every distro older than glibc 2.34. And `universal2 = true` is not a maturin setting: macOS only ever got an arm64 wheel. The release now builds through maturin-action with --find-interpreter: manylinux2014 and musllinux_1_2 containers on Linux, native arm64 and Intel runners on macOS, and an sdist for anything left over. The two release workflows built the same wheels twice; they are one now. No Rust change was needed. Verified locally on Windows: PyPy 3.11 and CPython 3.14t wheels build and pass all 25 tests, the sdist builds from source on PyPy and passes, and importing on 3.14t leaves the GIL off. CI now checks that last one, since a module that does not declare free-threading support silently re-enables the GIL at import. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Why
warpcrypto 2.0.7 on PyPI is CPython wheels only, with no sdist, so
pip install warpcrypto(and thereforewzgram) fails on PyPy, free-threaded 3.14t and GraalPy. Linux wheels are also taggedmanylinux_2_34(glibc 2.34+), and macOS only gets arm64 becauseuniversal2 = trueis not a maturin setting.What
PyO3/maturin-actionwith--find-interpreter:github_release.ymlmerged intopypi_release.yml: build once, publish to PyPI, attach to the release.Verified locally (Windows)
sys._is_gil_enabled()is False afterimport warpcryptoon 3.14t.The new release workflow has not run yet; it only runs on a published release.
Notes
ctr256_*IV/state bytearrays must not be shared between threads that use them at the same time. wzgram gives each connection its own, so this is fine.🤖 Generated with Claude Code