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

Qiskit / qiskit-ibm-runtime / 30573130508
89%

Build:
DEFAULT BRANCH: main
Ran 30 Jul 2026 07:07PM UTC
Jobs 11
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%
30573130508

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:

9 of 9 new or added lines in 1 file covered. (100.0%)

9236 of 10375 relevant lines covered (89.02%)

9.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.12-windows-latest - 30573130508.1 30 Jul 2026 07:08PM UTC 334
87.58
GitHub Action Run
2 unit-tests_python3.11-windows-latest - 30573130508.2 30 Jul 2026 07:09PM UTC 334
87.58
GitHub Action Run
3 unit-tests_python3.13-windows-latest - 30573130508.3 30 Jul 2026 07:08PM UTC 334
87.58
GitHub Action Run
4 unit-tests_python3.13-ubuntu-latest - 30573130508.4 30 Jul 2026 07:07PM UTC 334
89.01
GitHub Action Run
5 unit-tests_python3.13-macos-latest - 30573130508.5 30 Jul 2026 07:07PM UTC 334
89.01
GitHub Action Run
6 unit-tests_python3.11-macos-latest - 30573130508.6 30 Jul 2026 07:07PM UTC 334
89.01
GitHub Action Run
7 unit-tests_python3.12-ubuntu-latest - 30573130508.7 30 Jul 2026 07:07PM UTC 334
89.01
GitHub Action Run
8 unit-tests_python3.10-ubuntu-latest - 30573130508.8 30 Jul 2026 07:07PM UTC 334
89.01
GitHub Action Run
9 unit-tests_python3.10-windows-latest - 30573130508.9 30 Jul 2026 07:08PM UTC 334
87.58
GitHub Action Run
10 unit-tests_python3.12-macos-latest - 30573130508.10 30 Jul 2026 07:07PM UTC 334
89.01
GitHub Action Run
11 unit-tests_python3.11-ubuntu-latest - 30573130508.11 30 Jul 2026 07:07PM UTC 334
89.01
GitHub Action Run
Source Files on build 30573130508
  • 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 #30573130508
  • 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