Skip to content

Commit

Permalink
Switch back to qiskit-ibm-runtime release for Qiskit main tests
Browse files Browse the repository at this point in the history
With version 0.19, qiskit-ibm-runtime is now compatible with Qiskit 1.0
and the qiskit-experiments tests pass with Qiskit 1.0.
  • Loading branch information
wshanks committed Feb 6, 2024
1 parent 262a812 commit 7adef90
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ testtools

# Extra dependencies for tests/documentation code
multimethod
qiskit-ibm-runtime>=0.18
qiskit-ibm-runtime>=0.19

# Documentation tools
arxiv
Expand Down
19 changes: 4 additions & 15 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,8 @@ commands =
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
pip install git+https://github.com/Qiskit/qiskit
{[testenv]deps}
git+https://github.com/Qiskit/qiskit
commands = stestr run {posargs}


Expand Down Expand Up @@ -109,12 +102,8 @@ passenv =
RELEASE_STRING
VERSION_STRING
deps =
{[testenv]deps}
git+https://github.com/wshanks/qiskit-ibm-runtime.git@no-provider
commands_pre =
# See comment for qiskit-main
pip uninstall -y qiskit qiskit-terra
pip install git+https://github.com/Qiskit/qiskit
{[testenv]deps}
git+https://github.com/Qiskit/qiskit
commands =
sphinx-build -j auto -T -W --keep-going -b html {posargs} docs/ docs/_build/html

Expand Down

0 comments on commit 7adef90

Please sign in to comment.