Conversation
QuantLib is a C++ library for quantitative finance; the QuantLib PyPI package is its SWIG-generated Python binding, built from the QuantLib-SWIG subproject. Upstream publishes 15 Linux wheels but none for riscv64. The wheel needs the SWIG-generated wrapper that only the release tarball carries, so the workflow mirrors upstream's make-tarballs job: it builds both QuantLib and QuantLib-SWIG dist tarballs with SWIG 4.4.1 on x86, then feeds them to cibuildwheel on riscv64, where upstream's own .ci/wheels/before_all scripts install the Boost headers and build libQuantLib. setup.py writes py_limited_api=cp39, so one abi3 wheel covers every non-free-threaded interpreter and cp314t gets its own build against a thread-safe-observer libQuantLib, as upstream does.
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
Contributor
|
luhenry
added a commit
that referenced
this pull request
Sep 21, 2026
luhenry
marked this pull request as ready for review
September 21, 2026 13:59
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.
quantlib1.43Compiles the QuantLib C++ quantitative-finance library and its SWIG-generated Python binding. Upstream publishes no riscv64 wheel.
Mirrors upstream's
wheels.yml, reusing itsmake-tarballsjob and its.ci/wheels/before_all_linux*.shscripts.Differs from upstream
Matrix:
cp39-abi3pluscp314-cp314t.setup.pysetspy_limited_api=cp39, so one wheel covers every non-free-threaded interpreter and is built on cp39, the oldest version its tag claims. The free-threaded wheel is not abi3 and links a thread-safe-observer build of libQuantLib.Testing
License: OK
Built on cp39; 211 passed, 1 skipped.