python-olm: Add version 3.2.16 - #2169
Merged
Merged
Conversation
Add the riscv64 wheel build for python-olm 3.2.16, the cffi bindings for libolm, Matrix's Olm/Megolm cryptographic ratchet. The sdist job mirrors upstream's own make_sdist.sh (the released PyPI sdist is byte-identical in file list), and the wheel job builds that sdist with cibuildwheel on the riscv64 manylinux image. libolm's CMakeLists declares cmake_minimum_required(VERSION 3.4), below CMake 4's floor, so the build carries CMAKE_POLICY_VERSION_MINIMUM=3.5. The wheel carried no licence text at all; a patch adds libolm's Apache-2.0 LICENSE and curve25519-donna's BSD-3-Clause notice.
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
Contributor
|
luhenry
marked this pull request as ready for review
September 21, 2026 13:07
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
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.
python-olm3.2.16Compiles libolm, Matrix's C/C++11 implementation of the Olm and Megolm ratchets, and links it statically into a cffi extension. Upstream publishes no riscv64 wheel.
Mirrors upstream's
python/.gitlab-ci.yml.Differs from upstream
actions/checkout— olm lives on gitlab.matrix.org.CMAKE_POLICY_VERSION_MINIMUM=3.5— libolm asks for cmake 3.4.Testing
tests/is staged from the git tree, which the sdist omits.License: Wheel statically links libolm (Apache-2.0) and curve25519-donna (BSD-3-Clause); upstream ships no licence text for either, so the build adds it.
Patches
0001-ship-libolm-s-licences-with-the-wheel.patch—To upstream[libolm is deprecated upstream]. Without it the wheel carries no licence file at all. Reproduces on x86.Built on cp312; 62 passed, 0 skipped.