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

Qiskit / qiskit / 23298519938
87%
main: 87%

Build:
Build:
LAST BUILD BRANCH: native-power-z
DEFAULT BRANCH: main
Ran 19 Mar 2026 02:31PM 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.289% (-0.02%) from 87.309%
23298519938

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%)

25 existing lines in 3 files now uncovered.

103247 of 118282 relevant lines covered (87.29%)

1142195.61 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
3
91.77
0.26% crates/qasm2/src/lex.rs
4
74.22
-0.16% crates/circuit/src/parameter/symbol_expr.rs
18
96.68
-0.95% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 23298519938.1 19 Mar 2026 02:31PM UTC 921
87.29
GitHub Action Run
Source Files on build 23298519938
  • Tree
  • List 921
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23298519938
  • 2a1c2994 on github
  • Prev Build on gh-readonly-queue/main/pr-15357-14ec7d37a3e8de7a29d3e5a14da2e2ae9c8aebf8 (#23297768786)
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