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

Qiskit / qiskit / 23299828862
87%

Build:
DEFAULT BRANCH: main
Ran 19 Mar 2026 03:16PM UTC
Jobs 1
Files 921
Run time 2min
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

19 Mar 2026 01:58PM UTC coverage: 87.296% (-0.01%) from 87.309%
23299828862

push

github

web-flow
Add runtime-version checking `qk_api_version` (#15831)

* Add runtime-version checking `qk_api_version`

We currently have `QISKIT_VERSION_HEX` as a macro, which allows
programmatically querying the version of the header files used at build
time.  `qk_api_version` provides the equivalent information for the
_library_ version at runtime.  This can differ in the case of dynamic
linkage, either by regular means or by the manual means in Python
extension modules.

I wanted to squeeze this into the 2.4 release because it means that safe
dynamic-linkage version checking will be available in _every_ version of
the C API that practically supports it, including in Python extensions.
For aesthetic reasons, I wanted this function (which may become part of
the `qk_import` handshake one day) to get a slot at offset 0.

* Use the heathen form of hexadecimals

Co-authored-by: Max Rossmannek <21973473+mrossinek@users.noreply.github.com>

* Handle beta versions completely

---------

Co-authored-by: Max Rossmannek <21973473+mrossinek@users.noreply.github.com>

5 of 17 new or added lines in 3 files covered. (29.41%)

12 existing lines in 2 files now uncovered.

103256 of 118282 relevant lines covered (87.3%)

1139090.58 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
12
20.0
crates/cext/src/lib.rs

Uncovered Existing Lines

Lines Coverage ∆ File
4
91.52
0.0% crates/qasm2/src/lex.rs
8
74.14
-0.25% crates/circuit/src/parameter/symbol_expr.rs
Jobs
ID Job ID Ran Files Coverage
1 23299828862.1 19 Mar 2026 03:16PM UTC 921
87.3
GitHub Action Run
Source Files on build 23299828862
  • Tree
  • List 921
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23299828862
  • 2a1c2994 on github
  • Prev Build on gh-readonly-queue/main/pr-15357-14ec7d37a3e8de7a29d3e5a14da2e2ae9c8aebf8 (#23297768786)
  • Next Build on main (#23303455084)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc