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

Qiskit / qiskit-bosons / 45147303236
93%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 09:30AM UTC
Jobs 1
Files 69
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:28AM UTC coverage: 92.559%. Remained the same
45147303236

push

github

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

* chore(reno): adopt the release note sections of qiskit-fermions

Carry over the custom sections and note template of `qiskit-fermions`,
which adds a `build` section for changes that concern people building
from source, and a `performance` section.

The C API sections (`features_c`, `upgrade_c`, `deprecations_c`) are
commented out rather than dropped: this package has no C API yet, but
keeps the `cext` seam for one, and the sections should come back with it.

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

* 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, and
with qiskit-fermions, which made the same switch in
Qiskit/qiskit-fermions#441.

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` be... (continued)

3371 of 3642 relevant lines covered (92.56%)

41.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 45147303236.1 23 Nov 2026 09:30AM UTC 69
92.56
GitHub Action Run
Source Files on build 45147303236
  • Tree
  • List 69
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45147303236
  • 7cf363e9 on github
  • Prev Build on main (#45137618671)
  • Next Build on main (#45441104550)
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