Skip to content

Commit

Permalink
Fix Tox installing Terra from PyPI (Qiskit#9758)
Browse files Browse the repository at this point in the history
* Fix Tox installing Terra from PyPI

* Don't use editable mode
  • Loading branch information
Eric-Arellano authored and king-p3nguin committed May 22, 2023
1 parent 26e7c54 commit a710869
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,10 @@ deps =
setuptools_rust # This is work around for the bug of tox 3 (see #8606 for more details.)
-r{toxinidir}/requirements-dev.txt
qiskit-aer
# Aer depends on Terra. We want to make sure pip satisfies that requirement from a local
# installation, not from PyPI. But Tox normally doesn't install the local installation until
# after `deps` is installed. So, instead, we tell pip to do the local installation at the same
# time as Aer. See https://github.com/Qiskit/qiskit-terra/pull/9477.
.
commands =
sphinx-build -W -j auto -T --keep-going -b html docs/ docs/_build/html {posargs}

0 comments on commit a710869

Please sign in to comment.