diff --git a/.github/workflows/neko.yml b/.github/workflows/neko.yml index bda60fd3979..eb82cfc1768 100644 --- a/.github/workflows/neko.yml +++ b/.github/workflows/neko.yml @@ -16,4 +16,6 @@ jobs: - uses: Qiskit/qiskit-neko@main with: test_selection: terra - repo_install_command: "pip install -c constraints.txt ." + # We have to forcibly uninstall any old version of qiskit or qiskit-terra during the + # changeover, because it's not possible to safely switch between 0.46 and 1.0. + repo_install_command: "pip uninstall -y qiskit qiskit-terra && pip install -c constraints.txt . ./qiskit_pkg"