Skip to content

Commit

Permalink
Switch qiskit main tests to runtime fork that does not require qiskit…
Browse files Browse the repository at this point in the history
…-ibm-provider
  • Loading branch information
wshanks committed Feb 3, 2024
1 parent 5d6505c commit 7088fea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,15 @@ commands =
[testenv:qiskit-main]
usedevelop = True
install_command = pip install -U {opts} {packages}
deps =
{[testenv]deps}
git+https://github.com/wshanks/qiskit-ibm-runtime.git@no-provider
commands_pre =
# We must remove qiskit-terra because some dependencies pull it in and it
# conflicts with qiskit main. We must remove qiskit-ibm-provider because it gives
# an import error for qiskit main and it gets automatically imported by qiskit's
# plugin mechanism.
pip uninstall -y qiskit qiskit-terra qiskit-ibm-provider
pip uninstall -y qiskit qiskit-terra
pip install git+https://github.com/Qiskit/qiskit
commands = stestr run {posargs}

Expand Down

0 comments on commit 7088fea

Please sign in to comment.