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

Qiskit / qiskit-terra / 5279876251
87%

Build:
DEFAULT BRANCH: main
Ran 15 Jun 2023 02:35PM UTC
Jobs 1
Files 1245
Run time 25s
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

pending completion
5279876251

push

github

web-flow
Fix deprecation warnings emitted by `import qiskit.primitives` (#10287)

The primitives still need to support the legacy
`qiskit.opflow.PauliSumOp` while that object is deprecated but not
removed.  However, we do not want the import of `qiskit.primitives` to
need to import `opflow` to do that, since that will cause the
deprecation warnings emitted by the import of `opflow` to be hidden
(they'll be blamed on Qiskit library code, so hidden by default).

All type-hint usage we can hide behind the `TYPE_CHECKING` static
analysis gate.  For cases where we were actively runtime type-checking
an object, we can gate the `isinstance` check behind a check that
`qiskit.opflow` is already imported; the object cannot be a `PauliSumOp`
if the module isn't initialised.

17 of 17 new or added lines in 4 files covered. (100.0%)

71337 of 83003 relevant lines covered (85.95%)

32534.41 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5279876251.1 15 Jun 2023 02:35PM UTC 0
85.95
GitHub Action Run
Source Files on build 5279876251
Detailed source file information is not available for this build.
  • Back to Repo
  • 81964e64 on github
  • Prev Build on main (#5266466291)
  • Next Build on main (#5282218684)
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