Skip to content

quantlib: Add version 1.43 - #2161

Merged
luhenry merged 1 commit into
mainfrom
quantlib
Sep 21, 2026
Merged

luhenry merged 1 commit into
mainfrom
quantlib

Conversation

@luhenry

@luhenry luhenry commented Sep 21, 2026

Copy link
Copy Markdown
Member

Compiles the QuantLib C++ quantitative-finance library and its SWIG-generated Python binding. Upstream publishes no riscv64 wheel.

Mirrors upstream's wheels.yml, reusing its make-tarballs job and its .ci/wheels/before_all_linux*.sh scripts.

Differs from upstream

  • musllinux and PyPy dropped - manylinux only, as elsewhere here.
  • abi3 wheel re-tested on cp312/cp313/cp314 only - cp310/cp311 are below this repo's floor.

Matrix: cp39-abi3 plus cp314-cp314t. setup.py sets py_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

  • same as upstream

License: OK

Built on cp39; 211 passed, 1 skipped.

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
@github-actions

github-actions Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-21 14:19 UTC

luhenry added a commit that referenced this pull request Sep 21, 2026
@luhenry
luhenry marked this pull request as ready for review September 21, 2026 13:59
@luhenry
luhenry merged commit 4f8afe0 into main Sep 21, 2026
11 checks passed
@luhenry
luhenry deleted the quantlib branch September 21, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant