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

Qiskit / qiskit-ibm-runtime / 20756247207
83%

Build:
DEFAULT BRANCH: main
Ran 06 Jan 2026 05:32PM UTC
Jobs 11
Files 240
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

06 Jan 2026 05:09PM UTC coverage: 83.161% (-0.02%) from 83.181%
20756247207

push

github

web-flow
Delay imports of optional dependencies (#2485)

* Delay imports of optional dependencies

`qiskit_aer` and `scipy` were eagerly imported in the `utils.json` module
(with fallbacks for when they were not installed) which is imported
along with `import qiskit_ibm_runtime`. Here these imports are delayed
until JSON serialization or deserialization are attempted. In the
serialization case, the packages would have already been imported before
objects from them would need to be serialized any way.

Avoiding these imports saves roughly half a second (but the number
depends on the computer running the test).

* Use LazyImportTester for Scipy and Aer deserialization

* Fix typo in comments

10 of 20 new or added lines in 1 file covered. (50.0%)

1 existing line in 1 file now uncovered.

6109 of 7346 relevant lines covered (83.16%)

9.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
10
87.33
-0.55% qiskit_ibm_runtime/utils/json.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.33
-0.55% qiskit_ibm_runtime/utils/json.py
Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.12-windows-latest - 20756247207.1 06 Jan 2026 05:34PM UTC 240
81.09
GitHub Action Run
2 unit-tests_python3.13-ubuntu-latest - 20756247207.2 06 Jan 2026 05:32PM UTC 240
83.16
GitHub Action Run
3 unit-tests_python3.12-ubuntu-latest - 20756247207.3 06 Jan 2026 05:32PM UTC 240
83.16
GitHub Action Run
4 unit-tests_python3.10-windows-latest - 20756247207.4 06 Jan 2026 05:34PM UTC 240
81.09
GitHub Action Run
5 unit-tests_python3.11-ubuntu-latest - 20756247207.5 06 Jan 2026 05:32PM UTC 240
83.16
GitHub Action Run
6 unit-tests_python3.11-windows-latest - 20756247207.6 06 Jan 2026 05:34PM UTC 240
81.09
GitHub Action Run
7 unit-tests_python3.13-macos-latest - 20756247207.7 06 Jan 2026 05:32PM UTC 240
83.16
GitHub Action Run
8 unit-tests_python3.11-macos-latest - 20756247207.8 06 Jan 2026 05:32PM UTC 240
83.16
GitHub Action Run
9 unit-tests_python3.10-ubuntu-latest - 20756247207.9 06 Jan 2026 05:32PM UTC 240
83.16
GitHub Action Run
10 unit-tests_python3.13-windows-latest - 20756247207.10 06 Jan 2026 05:34PM UTC 240
81.09
GitHub Action Run
11 unit-tests_python3.12-macos-latest - 20756247207.11 06 Jan 2026 05:33PM UTC 240
83.16
GitHub Action Run
Source Files on build 20756247207
  • Tree
  • List 240
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20756247207
  • fdfb7cff on github
  • Prev Build on gh-readonly-queue/main/pr-2521-cd49da0bfb406f3cfdaa54b9d498c44e458422ec (#20488059657)
  • Next Build on main (#20809356897)
  • Delete
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