From 97c9c2c4d9ad69278510f683ee6d87f7a890ba28 Mon Sep 17 00:00:00 2001 From: lillian542 Date: Mon, 4 Mar 2024 09:50:23 -0500 Subject: [PATCH 1/2] pin pytest to <8.1.0 --- .github/workflows/aqt-latest-latest.yml | 3 ++- .github/workflows/aqt-latest-rc.yml | 3 ++- .github/workflows/aqt-latest-stable.yml | 3 ++- .github/workflows/aqt-stable-latest.yml | 3 ++- .github/workflows/aqt-stable-stable.yml | 3 ++- .github/workflows/braket-latest-latest.yml | 3 ++- .github/workflows/braket-latest-rc.yml | 3 ++- .github/workflows/braket-latest-stable.yml | 3 ++- .github/workflows/braket-stable-latest.yml | 3 ++- .github/workflows/braket-stable-stable.yml | 3 ++- .github/workflows/cirq-latest-latest.yml | 3 ++- .github/workflows/cirq-latest-rc.yml | 3 ++- .github/workflows/cirq-latest-stable.yml | 3 ++- .github/workflows/cirq-stable-latest.yml | 3 ++- .github/workflows/cirq-stable-stable.yml | 3 ++- .github/workflows/ionq-latest-latest.yml | 3 ++- .github/workflows/ionq-latest-rc.yml | 3 ++- .github/workflows/ionq-latest-stable.yml | 3 ++- .github/workflows/ionq-stable-latest.yml | 3 ++- .github/workflows/ionq-stable-stable.yml | 3 ++- .github/workflows/qiskit-latest-latest.yml | 3 ++- .github/workflows/qiskit-latest-rc.yml | 3 ++- .github/workflows/qiskit-latest-stable.yml | 3 ++- .github/workflows/qiskit-stable-latest.yml | 3 ++- .github/workflows/qiskit-stable-stable.yml | 3 ++- .github/workflows/quantuminspire-latest-latest.yml | 3 ++- .github/workflows/quantuminspire-latest-rc.yml | 3 ++- .github/workflows/quantuminspire-latest-stable.yml | 3 ++- .github/workflows/quantuminspire-stable-latest.yml | 3 ++- .github/workflows/quantuminspire-stable-stable.yml | 3 ++- .github/workflows/qulacs-latest-latest.yml | 3 ++- .github/workflows/qulacs-latest-rc.yml | 3 ++- .github/workflows/qulacs-latest-stable.yml | 3 ++- .github/workflows/qulacs-stable-latest.yml | 3 ++- .github/workflows/qulacs-stable-stable.yml | 3 ++- .github/workflows/rigetti-latest-latest.yml | 3 ++- .github/workflows/rigetti-latest-rc.yml | 3 ++- .github/workflows/rigetti-latest-stable.yml | 3 ++- .github/workflows/rigetti-stable-latest.yml | 3 ++- .github/workflows/rigetti-stable-stable.yml | 3 ++- workflow-template-latest.yml | 3 ++- workflow-template-release-candidate.yml | 3 ++- workflow-template-stable.yml | 3 ++- 43 files changed, 86 insertions(+), 43 deletions(-) diff --git a/.github/workflows/aqt-latest-latest.yml b/.github/workflows/aqt-latest-latest.yml index 074c9dd..2a32df1 100644 --- a/.github/workflows/aqt-latest-latest.yml +++ b/.github/workflows/aqt-latest-latest.yml @@ -39,7 +39,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/aqt-latest-rc.yml b/.github/workflows/aqt-latest-rc.yml index 47193f3..aac0ea1 100644 --- a/.github/workflows/aqt-latest-rc.yml +++ b/.github/workflows/aqt-latest-rc.yml @@ -39,7 +39,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/aqt-latest-stable.yml b/.github/workflows/aqt-latest-stable.yml index 64be03e..01a928c 100644 --- a/.github/workflows/aqt-latest-stable.yml +++ b/.github/workflows/aqt-latest-stable.yml @@ -39,7 +39,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/aqt-stable-latest.yml b/.github/workflows/aqt-stable-latest.yml index 75a5fd5..7e6d33b 100644 --- a/.github/workflows/aqt-stable-latest.yml +++ b/.github/workflows/aqt-stable-latest.yml @@ -39,7 +39,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/aqt-stable-stable.yml b/.github/workflows/aqt-stable-stable.yml index 6f77b32..1817a03 100644 --- a/.github/workflows/aqt-stable-stable.yml +++ b/.github/workflows/aqt-stable-stable.yml @@ -39,7 +39,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/braket-latest-latest.yml b/.github/workflows/braket-latest-latest.yml index d71e627..341c962 100644 --- a/.github/workflows/braket-latest-latest.yml +++ b/.github/workflows/braket-latest-latest.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pytest-xdist - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/braket-latest-rc.yml b/.github/workflows/braket-latest-rc.yml index 200932a..31706fe 100644 --- a/.github/workflows/braket-latest-rc.yml +++ b/.github/workflows/braket-latest-rc.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pytest-xdist - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/braket-latest-stable.yml b/.github/workflows/braket-latest-stable.yml index c95bc3e..61d56de 100644 --- a/.github/workflows/braket-latest-stable.yml +++ b/.github/workflows/braket-latest-stable.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pytest-xdist - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/braket-stable-latest.yml b/.github/workflows/braket-stable-latest.yml index 64ef3ca..4b06e8c 100644 --- a/.github/workflows/braket-stable-latest.yml +++ b/.github/workflows/braket-stable-latest.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pytest-xdist - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/braket-stable-stable.yml b/.github/workflows/braket-stable-stable.yml index 9d51efe..338726c 100644 --- a/.github/workflows/braket-stable-stable.yml +++ b/.github/workflows/braket-stable-stable.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pytest-xdist - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/cirq-latest-latest.yml b/.github/workflows/cirq-latest-latest.yml index 71d4534..7c792b4 100644 --- a/.github/workflows/cirq-latest-latest.yml +++ b/.github/workflows/cirq-latest-latest.yml @@ -41,7 +41,8 @@ jobs: pip install --upgrade pip pip install --upgrade cirq pip install --upgrade qsimcirq - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/cirq-latest-rc.yml b/.github/workflows/cirq-latest-rc.yml index 7c04a5e..cc8ba8f 100644 --- a/.github/workflows/cirq-latest-rc.yml +++ b/.github/workflows/cirq-latest-rc.yml @@ -41,7 +41,8 @@ jobs: pip install --upgrade pip pip install --upgrade cirq pip install --upgrade qsimcirq - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/cirq-latest-stable.yml b/.github/workflows/cirq-latest-stable.yml index 2292706..83ca37d 100644 --- a/.github/workflows/cirq-latest-stable.yml +++ b/.github/workflows/cirq-latest-stable.yml @@ -41,7 +41,8 @@ jobs: pip install --upgrade pip pip install --upgrade cirq pip install --upgrade qsimcirq - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/cirq-stable-latest.yml b/.github/workflows/cirq-stable-latest.yml index eee1fe8..4c20548 100644 --- a/.github/workflows/cirq-stable-latest.yml +++ b/.github/workflows/cirq-stable-latest.yml @@ -41,7 +41,8 @@ jobs: pip install --upgrade pip pip install --upgrade cirq pip install --upgrade qsimcirq - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/cirq-stable-stable.yml b/.github/workflows/cirq-stable-stable.yml index 8045bdb..2976181 100644 --- a/.github/workflows/cirq-stable-stable.yml +++ b/.github/workflows/cirq-stable-stable.yml @@ -41,7 +41,8 @@ jobs: pip install --upgrade pip pip install --upgrade cirq pip install --upgrade qsimcirq - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/ionq-latest-latest.yml b/.github/workflows/ionq-latest-latest.yml index 2164aca..4f7d066 100644 --- a/.github/workflows/ionq-latest-latest.yml +++ b/.github/workflows/ionq-latest-latest.yml @@ -40,7 +40,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/ionq-latest-rc.yml b/.github/workflows/ionq-latest-rc.yml index 70e7a71..53b0d97 100644 --- a/.github/workflows/ionq-latest-rc.yml +++ b/.github/workflows/ionq-latest-rc.yml @@ -40,7 +40,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/ionq-latest-stable.yml b/.github/workflows/ionq-latest-stable.yml index c34e48e..0cdd5f8 100644 --- a/.github/workflows/ionq-latest-stable.yml +++ b/.github/workflows/ionq-latest-stable.yml @@ -40,7 +40,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/ionq-stable-latest.yml b/.github/workflows/ionq-stable-latest.yml index d6b1800..eb78bd1 100644 --- a/.github/workflows/ionq-stable-latest.yml +++ b/.github/workflows/ionq-stable-latest.yml @@ -40,7 +40,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/ionq-stable-stable.yml b/.github/workflows/ionq-stable-stable.yml index e16d5c1..236b124 100644 --- a/.github/workflows/ionq-stable-stable.yml +++ b/.github/workflows/ionq-stable-stable.yml @@ -40,7 +40,8 @@ jobs: - name: Install requirements run: | pip install --upgrade pip - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qiskit-latest-latest.yml b/.github/workflows/qiskit-latest-latest.yml index 4906ca3..d3ddeb2 100644 --- a/.github/workflows/qiskit-latest-latest.yml +++ b/.github/workflows/qiskit-latest-latest.yml @@ -42,7 +42,8 @@ jobs: pip install --upgrade pip pip install --upgrade 'qiskit<0.46.0' pip install --upgrade pyscf - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qiskit-latest-rc.yml b/.github/workflows/qiskit-latest-rc.yml index 329909f..28dd76b 100644 --- a/.github/workflows/qiskit-latest-rc.yml +++ b/.github/workflows/qiskit-latest-rc.yml @@ -42,7 +42,8 @@ jobs: pip install --upgrade pip pip install --upgrade 'qiskit<0.46.0' pip install --upgrade pyscf - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qiskit-latest-stable.yml b/.github/workflows/qiskit-latest-stable.yml index 6903218..28d7da7 100644 --- a/.github/workflows/qiskit-latest-stable.yml +++ b/.github/workflows/qiskit-latest-stable.yml @@ -42,7 +42,8 @@ jobs: pip install --upgrade pip pip install --upgrade 'qiskit<0.46.0' pip install --upgrade pyscf - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qiskit-stable-latest.yml b/.github/workflows/qiskit-stable-latest.yml index c5b5dd0..6b5ecc0 100644 --- a/.github/workflows/qiskit-stable-latest.yml +++ b/.github/workflows/qiskit-stable-latest.yml @@ -42,7 +42,8 @@ jobs: pip install --upgrade pip pip install --upgrade 'qiskit<0.46.0' pip install --upgrade pyscf - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qiskit-stable-stable.yml b/.github/workflows/qiskit-stable-stable.yml index a262f98..ba46219 100644 --- a/.github/workflows/qiskit-stable-stable.yml +++ b/.github/workflows/qiskit-stable-stable.yml @@ -42,7 +42,8 @@ jobs: pip install --upgrade pip pip install --upgrade 'qiskit<0.46.0' pip install --upgrade pyscf - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/quantuminspire-latest-latest.yml b/.github/workflows/quantuminspire-latest-latest.yml index 42c4658..53c3e43 100644 --- a/.github/workflows/quantuminspire-latest-latest.yml +++ b/.github/workflows/quantuminspire-latest-latest.yml @@ -43,7 +43,8 @@ jobs: pip install --upgrade pennylane-qiskit pip install --upgrade quantuminspire pip install --upgrade qiskit - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/quantuminspire-latest-rc.yml b/.github/workflows/quantuminspire-latest-rc.yml index 15659ab..ba9880e 100644 --- a/.github/workflows/quantuminspire-latest-rc.yml +++ b/.github/workflows/quantuminspire-latest-rc.yml @@ -43,7 +43,8 @@ jobs: pip install --upgrade pennylane-qiskit pip install --upgrade quantuminspire pip install --upgrade qiskit - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/quantuminspire-latest-stable.yml b/.github/workflows/quantuminspire-latest-stable.yml index e8c4889..fcfce94 100644 --- a/.github/workflows/quantuminspire-latest-stable.yml +++ b/.github/workflows/quantuminspire-latest-stable.yml @@ -43,7 +43,8 @@ jobs: pip install --upgrade pennylane-qiskit pip install --upgrade quantuminspire pip install --upgrade qiskit - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/quantuminspire-stable-latest.yml b/.github/workflows/quantuminspire-stable-latest.yml index 06b015d..22ebea8 100644 --- a/.github/workflows/quantuminspire-stable-latest.yml +++ b/.github/workflows/quantuminspire-stable-latest.yml @@ -43,7 +43,8 @@ jobs: pip install --upgrade pennylane-qiskit pip install --upgrade quantuminspire pip install --upgrade qiskit - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/quantuminspire-stable-stable.yml b/.github/workflows/quantuminspire-stable-stable.yml index f83e2c0..72b058b 100644 --- a/.github/workflows/quantuminspire-stable-stable.yml +++ b/.github/workflows/quantuminspire-stable-stable.yml @@ -43,7 +43,8 @@ jobs: pip install --upgrade pennylane-qiskit pip install --upgrade quantuminspire pip install --upgrade qiskit - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qulacs-latest-latest.yml b/.github/workflows/qulacs-latest-latest.yml index c0f9c55..c0eb851 100644 --- a/.github/workflows/qulacs-latest-latest.yml +++ b/.github/workflows/qulacs-latest-latest.yml @@ -40,7 +40,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade qulacs - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qulacs-latest-rc.yml b/.github/workflows/qulacs-latest-rc.yml index bc656f4..6992754 100644 --- a/.github/workflows/qulacs-latest-rc.yml +++ b/.github/workflows/qulacs-latest-rc.yml @@ -40,7 +40,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade qulacs - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qulacs-latest-stable.yml b/.github/workflows/qulacs-latest-stable.yml index 1ef8f60..65c2c4e 100644 --- a/.github/workflows/qulacs-latest-stable.yml +++ b/.github/workflows/qulacs-latest-stable.yml @@ -40,7 +40,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade qulacs - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qulacs-stable-latest.yml b/.github/workflows/qulacs-stable-latest.yml index b374008..4f17c77 100644 --- a/.github/workflows/qulacs-stable-latest.yml +++ b/.github/workflows/qulacs-stable-latest.yml @@ -40,7 +40,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade qulacs - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/qulacs-stable-stable.yml b/.github/workflows/qulacs-stable-stable.yml index a6aad72..e5344eb 100644 --- a/.github/workflows/qulacs-stable-stable.yml +++ b/.github/workflows/qulacs-stable-stable.yml @@ -40,7 +40,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade qulacs - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/rigetti-latest-latest.yml b/.github/workflows/rigetti-latest-latest.yml index 9138b6e..45cf80f 100644 --- a/.github/workflows/rigetti-latest-latest.yml +++ b/.github/workflows/rigetti-latest-latest.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pyquil==2.28.2 - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/rigetti-latest-rc.yml b/.github/workflows/rigetti-latest-rc.yml index 6f73a82..1d9e724 100644 --- a/.github/workflows/rigetti-latest-rc.yml +++ b/.github/workflows/rigetti-latest-rc.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pyquil==2.28.2 - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/rigetti-latest-stable.yml b/.github/workflows/rigetti-latest-stable.yml index 08e5d91..1fe8e0e 100644 --- a/.github/workflows/rigetti-latest-stable.yml +++ b/.github/workflows/rigetti-latest-stable.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pyquil==2.28.2 - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/rigetti-stable-latest.yml b/.github/workflows/rigetti-stable-latest.yml index f55ee80..c7fffb3 100644 --- a/.github/workflows/rigetti-stable-latest.yml +++ b/.github/workflows/rigetti-stable-latest.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pyquil==2.28.2 - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/.github/workflows/rigetti-stable-stable.yml b/.github/workflows/rigetti-stable-stable.yml index ea0e3ad..3575550 100644 --- a/.github/workflows/rigetti-stable-stable.yml +++ b/.github/workflows/rigetti-stable-stable.yml @@ -46,7 +46,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pyquil==2.28.2 - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/workflow-template-latest.yml b/workflow-template-latest.yml index f0f89db..76cf0a8 100644 --- a/workflow-template-latest.yml +++ b/workflow-template-latest.yml @@ -57,7 +57,8 @@ jobs: pip install --upgrade {{ req }} {%- endfor %} {%- endif %} - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze {%- if latest %} diff --git a/workflow-template-release-candidate.yml b/workflow-template-release-candidate.yml index 43fd4ef..9dc8485 100644 --- a/workflow-template-release-candidate.yml +++ b/workflow-template-release-candidate.yml @@ -57,7 +57,8 @@ jobs: pip install --upgrade {{ req }} {%- endfor %} {%- endif %} - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane and Plugin diff --git a/workflow-template-stable.yml b/workflow-template-stable.yml index 8407d97..95a3034 100644 --- a/workflow-template-stable.yml +++ b/workflow-template-stable.yml @@ -52,7 +52,8 @@ jobs: {%- for req in requirements %} pip install --upgrade {{ req }} {%- endfor %} - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze {%- if latest %} From e4299ca908389cffa36d16c32a39f2f0df71481a Mon Sep 17 00:00:00 2001 From: lillian542 Date: Mon, 4 Mar 2024 09:59:05 -0500 Subject: [PATCH 2/2] also for lightning --- .github/workflows/lightning-latest-rc.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lightning-latest-rc.yml b/.github/workflows/lightning-latest-rc.yml index a2a9812..dd1e225 100644 --- a/.github/workflows/lightning-latest-rc.yml +++ b/.github/workflows/lightning-latest-rc.yml @@ -47,7 +47,8 @@ jobs: run: | pip install --upgrade pip pip install --upgrade pybind11 - pip install pytest pytest-mock pytest-cov flaky pytest-benchmark + pip install 'pytest<8.1.0' + pip install pytest-mock pytest-cov flaky pytest-benchmark pip freeze - name: Install PennyLane