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

Qiskit / qiskit / 7733162349
89%
main: 88%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-14166-9186f49af0396d82e7d9880602e719a46826ba1d
DEFAULT BRANCH: main
Ran 31 Jan 2024 10:39PM UTC
Jobs 1
Files 908
Run time 3min
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

31 Jan 2024 10:23PM UTC coverage: 89.497% (+0.03%) from 89.464%
7733162349

push

github

web-flow
Poison import if `qiskit-terra` detected (#11618)

* Poison import if `qiskit-terra` detected

This uses `importlib.metadata` to search for installations of
`qiskit-terra` at runtime, and poison the import if one is detected.
The two packages are incompatible in a way that we cannot express to
`pip` without having poisoned the `qiskit-terra` package as a whole,
which is something we're less willing to do in order to keep it easier
to install old versions of Qiskit-dependent software, and to keep the
Qiskit 1.0 packaging story clean for the coming years.

`qiskit>=1.0` and `qiskit-terra<1.0` both attempt to install files in
the same directories, so we can't do the detection by looking at the
Qiskit version; we'll likely get whichever was installed second if
they've both been installed to `site-packages`, or otherwise, whichever
comes first on the search path.  This uses the distribution component of
`importlib.metadata` to detect installed _distributions_ rather than
imported files, allowing us to distinguish `qiskit` from `qiskit-terra`.

* Add shortlink to migration guide

* Do not error on dirty build directory

* Match 0.45 error message

7 of 11 new or added lines in 1 file covered. (63.64%)

5 existing lines in 1 file now uncovered.

59393 of 66363 relevant lines covered (89.5%)

218913.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7733162349.1 31 Jan 2024 10:39PM UTC 0
89.5
GitHub Action Run
Source Files on build 7733162349
Detailed source file information is not available for this build.
  • Back to Repo
  • 151fb799 on github
  • Prev Build on gh-readonly-queue/main/pr-11669-4f2513342bc795e4d99e8915c80f1a205c8a262e (#7733048298)
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