qiskit-community / qiskit-experiments

Qiskit Experiments
https://qiskit-community.github.io/qiskit-experiments/
Apache License 2.0
160 stars 126 forks source link

Remove qiskit-terra and qiskit-ibm-provider when testing against qiskit main #1372

Closed wshanks closed 9 months ago

wshanks commented 9 months ago

Other packages that depend on qiskit<1.0 will pull in qiskit and qiskit-terra together and qiskit-terra will conflict with qiskit main, so we remove it before installing qiskit main.

qiskit-ibm-provider 0.8.0 (current stable) tries to import qiskit.extensions for a basic import qiskit_ibm_provider which does not exist in qiskit main any more. qiskit-ibm-provider registers a qiskit plugin which causes it to get automatically imported under some conditions, triggering a warning in jupyter execute blocks which then cause a strict sphinx build to fail.

wshanks commented 9 months ago

Right, we just have to live with that error from pip. It should warn about qiskit-ibm-experiment as well once a new release is tagged.