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

Qiskit / qiskit-ibm-runtime / 30572716388
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: ta-test-samplex-arguments
DEFAULT BRANCH: main
Ran 30 Jul 2026 07:01PM UTC
Jobs 4
Files 334
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

30 Jul 2026 06:57PM UTC coverage: 89.022% (+0.006%) from 89.016%
30572716388

push

github

web-flow
Improve QPY version mismatch error when deserializing jobs (#3002)

Peek the QPY header before `qpy.load` and raise a clear `QiskitError`
when the embedded Qiskit version is newer than the installed one. Fixes
#2426.

When job data includes circuits serialized with a newer Qiskit than the
client has installed, users used to get a vague warning from
`qiskit.qpy.load` about a "provided QPY file." This PR checks the QPY
header in `RuntimeDecoder` first and fails with a short message that
names both versions and suggests `pip install -U qiskit`.

###Changes

- Add `_validate_qpy_qiskit_version` / `_load_qpy` in `json.py`; use
them for `QuantumCircuit` and `Instruction` decoding.
- Release note: `release-notes/unreleased/2426.bug.rst`
- Tests: `TestQpyQiskitVersionValidation` (newer version → clear error;
matching version still decodes)
- Did not change when `job.inputs` loads data, `service.job()` already
skips params, so this covers the paths that actually call `qpy.load`.

Fixes #2426

### AI/LLM disclosure

- [x] I didn't use LLM tooling, or only used it privately.
- [ ] I used the following tool to help write this PR description:
- [ ] I used the following tool to generate or modify code:

9236 of 10375 relevant lines covered (89.02%)

3.53 hits per line

Coverage Regressions

Lines Coverage ∆ File
34
88.06
0.18% qiskit_ibm_runtime/json.py
Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.12-windows-latest - 30572716388.1 30 Jul 2026 07:03PM UTC 334
87.58
GitHub Action Run
2 unit-tests_python3.10-ubuntu-latest - 30572716388.2 30 Jul 2026 07:01PM UTC 334
89.01
GitHub Action Run
3 unit-tests_python3.13-windows-latest - 30572716388.3 30 Jul 2026 07:03PM UTC 334
87.58
GitHub Action Run
4 unit-tests_python3.13-macos-latest - 30572716388.4 30 Jul 2026 07:02PM UTC 334
89.01
GitHub Action Run
Source Files on build 30572716388
  • Tree
  • List 334
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30572716388
  • ba143004 on github
  • Prev Build on gh-readonly-queue/main/pr-3150-5b9913804a0dba22e8eca9aee2a6e66181d2abf8 (#30560432676)
  • Delete
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