• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit-fermions / 45143768151
98%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 09:09AM UTC
Jobs 1
Files 135
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Nov 2026 09:04AM UTC coverage: 98.174%. Remained the same
45143768151

push

github

web-flow
Switch to `maturin` as the build backend (#441)

* build: switch the Python build backend to maturin

Qiskit moved its build backend from setuptools-rust to maturin
(Qiskit/qiskit#17483), because maturin is where Rust/Python packaging
development now happens while setuptools-rust is stagnating. Following
suit keeps our packaging aligned with the project we build against.

Unlike Qiskit, we use maturin as the backend directly rather than through
an in-tree wrapper: the wrapper exists to translate Qiskit's Cargo-feature
environment variables, and `pyext` has no features to toggle. The cost is
that `SETUPTOOLS_RUST_CARGO_PROFILE` and `RUST_DEBUG` have no replacement
of our own; `MATURIN_PEP517_ARGS="--profile release"` takes their place.
Editable installs keep compiling in debug mode, as Qiskit's do.

The version becomes static in `pyproject.toml`, as in Qiskit, because
maturin cannot read it from `version.py`. `make version-bump` keeps it in
sync with `VERSION.txt` and `Cargo.toml`. The package metadata therefore
no longer carries the `+<sha7>` suffix; `__version__` still does.

The wheel contents are unchanged. The sdist gains the Rust sources: the
setuptools sdist shipped without `Cargo.toml`, `Cargo.lock` and `crates/`,
so it could not be built at all.

`make pyext`/`make pyext-dev` now delete stale build outputs first.
Python imports `_lib.cpython-*.so` before `_lib.abi3.so`, and an editable
install puts `python/` on `sys.path`, where the setuptools-era
`qiskit_fermions.egg-info` would be found as a second distribution. Both
leftovers would otherwise silently shadow every new build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* build(pyext): drop the pyo3 extension-module default feature

The feature only existed to stop the extension module from linking
`libpython`, while `--no-default-features` turned it back off for the
stub generator, which runs as a standalone binary and needs `libpython`.
Since pyo3 0.26, maturin signals an exten... (continued)

15649 of 15940 relevant lines covered (98.17%)

275674.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45143768151.1 23 Nov 2026 09:09AM UTC 135
98.17
GitHub Action Run
Source Files on build 45143768151
  • Tree
  • List 135
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45143768151
  • fe2d612c on github
  • Prev Build on main (#45138239566)
  • Next Build on main (#45390548052)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc