Conversation
Builds uamqp 1.6.11's Cython+CMake extension (the vendored azure-uamqp-c tree over system OpenSSL) for riscv64. Upstream publishes no riscv64 wheel.
…enSSL build Upstream's pyproject.toml sets [tool.cibuildwheel.linux] before-build, not before-all; CIBW_BEFORE_ALL_LINUX left it in place, so cibuildwheel ran both hooks and upstream's still-manylinux2014-targeted install_openssl.sh undid the dnf install and failed (missing perl FindBin).
…utils-c deps/azure-macro-utils-c declares cmake_minimum_required(VERSION 2.8.11), which CMake 4 (the pip-resolved build dependency) hard-refuses even though azure-uamqp-c and azure-c-shared-utility both already declare 3.5+.
CIBW_ENVIRONMENT replaces upstream's [tool.cibuildwheel.linux] environment table wholesale, dropping the CFLAGS it already carries for this: GCC 14 turns -Wincompatible-pointer-types into a hard error by default, and the Cython-generated c_uamqp.c hits it.
Several .pyx callbacks read context_pyobj.ob_refcnt directly to detect in-flight GC; that field doesn't exist on free-threaded builds' PyObject layout, so it fails identically on every arch, not just riscv64. Upstream itself ships no cp314 or cp314t wheel; cp312/cp313/cp314 all build and pass tests here.
225: CIBW_BEFORE_ALL_LINUX and CIBW_BEFORE_BUILD_LINUX are separate hooks; overriding the one upstream doesn't use lets both run. 226: GCC 14 defaults -Wincompatible-pointer-types to a hard error for C code, and CIBW_ENVIRONMENT (gotcha 107) silently drops any CFLAGS fix upstream already carries for it. 227: PyObject internals (ob_refcnt) accessed directly break free-threaded builds identically on every arch -- trim the matrix, don't patch.
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.
uamqp1.6.11Compiles uamqp's Cython extension over the vendored
azure-uamqp-cAMQP 1.0 C library (statically built via CMake) linked against OpenSSL. Upstream publishes no riscv64 wheel.Mirrors the
ManyLinuxjob of upstream'sclient.yml.Differs from upstream
dnf-installed OpenSSL instead of building OpenSSL 3.0.15 from source - only needed for manylinux2014's ancient one.samples/- needs live Event Hub/Service Bus credentials; upstream itself gates that job to its internal (non-public) pipeline.Matrix: cp312/cp313/cp314, no cp314t - several
.pyxcallbacks readob_refcntdirectly, which doesn't exist on free-threaded builds'PyObjectlayout; upstream itself ships no cp314 or cp314t wheel either.Testing
tests/, which exercises the builtc_uamqpextension directly; same as upstream's public path.License: Wheel bundles the vendored
azure-uamqp-ctree (MIT) and dynamically links OpenSSL (Apache-2.0); upstream ships neither licence text in the wheel, so the build adds both.Built on cp312; 46 passed.