Commit 6308ba2 1 parent 60aef32 commit 6308ba2 Copy full SHA for 6308ba2
File tree 9 files changed +17
-22
lines changed
9 files changed +17
-22
lines changed Original file line number Diff line number Diff line change 84
84
* Fix apply state vector when using a Lightning handle.
85
85
[ (#622 )] ( https://github.com/PennyLaneAI/pennylane-lightning/pull/622 )
86
86
87
+ * Pinning Pytest to a version compatible with Flaky.
88
+ [ (#624 )] ( https://github.com/PennyLaneAI/pennylane-lightning/pull/624 )
89
+
87
90
### Contributors
88
91
89
92
This release contains contributions from (in alphabetical order):
Original file line number Diff line number Diff line change @@ -139,10 +139,8 @@ jobs:
139
139
140
140
CIBW_BUILD_VERBOSITY : 3
141
141
142
- CIBW_TEST_REQUIRES : pytest pytest-cov pytest-mock flaky
143
-
144
142
CIBW_BEFORE_TEST : |
145
- python -m pip install pytest-benchmark git+https://github.com/PennyLaneAI/pennylane.git@master
143
+ python -m pip install -r requirements-tests.txt
146
144
if ${{ matrix.pl_backend == 'lightning_kokkos'}}; then SKIP_COMPILATION=True PL_BACKEND="lightning_qubit" pip install -e . -vv; fi
147
145
148
146
CIBW_TEST_COMMAND : |
Original file line number Diff line number Diff line change @@ -149,11 +149,8 @@ jobs:
149
149
PATH="/opt/rh/devtoolset-11/root/usr/bin:$PATH" \
150
150
PL_BACKEND="${{ matrix.pl_backend }}"
151
151
152
- # Testing of built wheels
153
- CIBW_TEST_REQUIRES : pytest pytest-cov pytest-mock flaky
154
-
155
152
CIBW_BEFORE_TEST : |
156
- python -m pip install pytest-benchmark git+https://github.com/PennyLaneAI/pennylane.git@master
153
+ python -m pip install -r requirements-tests.txt
157
154
if ${{ matrix.pl_backend == 'lightning_kokkos'}}; then SKIP_COMPILATION=True PL_BACKEND="lightning_qubit" pip install -e . -vv; fi
158
155
159
156
CIBW_TEST_COMMAND : |
Original file line number Diff line number Diff line change 89
89
CMAKE_ARGS="-DCMAKE_CXX_COMPILER_TARGET=arm64-apple-macos11 -DCMAKE_SYSTEM_NAME=Darwin -DCMAKE_SYSTEM_PROCESSOR=ARM64 -DENABLE_OPENMP=OFF" \
90
90
PL_BACKEND="${{ matrix.pl_backend }}"
91
91
92
- # Testing of built wheels
93
- CIBW_TEST_REQUIRES : pytest pytest-cov pytest-mock flaky
94
-
95
92
CIBW_BEFORE_TEST : |
96
- python -m pip install pytest-benchmark git+https://github.com/PennyLaneAI/pennylane.git@master
93
+ python -m pip install -r requirements-tests.txt
97
94
if ${{ matrix.pl_backend == 'lightning_kokkos'}}; then SKIP_COMPILATION=True PL_BACKEND="lightning_qubit" pip install -e . -vv; fi
98
95
99
96
CIBW_TEST_COMMAND : |
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ concurrency:
21
21
cancel-in-progress : true
22
22
23
23
jobs :
24
- set_wheel_build_matrix :
24
+ set_wheel_build_matrix :
25
25
name : " Set wheel build matrix"
26
26
uses : ./.github/workflows/set_wheel_build_matrix.yml
27
27
with :
@@ -137,11 +137,8 @@ jobs:
137
137
138
138
PL_BACKEND : ${{ matrix.pl_backend }}
139
139
140
- # Testing of built wheels
141
- CIBW_TEST_REQUIRES : pytest pytest-cov pytest-mock flaky
142
-
143
140
CIBW_BEFORE_TEST : |
144
- python -m pip install pytest-benchmark git+https://github.com/PennyLaneAI/pennylane.git@master
141
+ python -m pip install -r requirements-tests.txt
145
142
if ${{ matrix.pl_backend == 'lightning_kokkos'}}; then SKIP_COMPILATION=True PL_BACKEND="lightning_qubit" pip install -e . -vv; fi
146
143
147
144
CIBW_TEST_COMMAND : |
Original file line number Diff line number Diff line change @@ -126,11 +126,8 @@ jobs:
126
126
CIBW_BEFORE_BUILD : |
127
127
python -m pip install pybind11 cmake~=3.24.0 build
128
128
129
- # Testing of built wheels
130
- CIBW_TEST_REQUIRES : pytest pytest-cov pytest-mock flaky
131
-
132
129
CIBW_BEFORE_TEST : |
133
- python -m pip install pytest-benchmark git+https://github.com/PennyLaneAI/pennylane.git@master
130
+ python -m pip install -r requirements-tests.txt
134
131
135
132
CIBW_TEST_COMMAND : |
136
133
pl-device-test --device=lightning.qubit --skip-ops -x --tb=short --no-flaky-report
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ git+https://github.com/PennyLaneAI/pennylane.git@master
3
3
ninja
4
4
flaky
5
5
pybind11
6
- pytest
6
+ pytest ~= 8.0.0
7
7
pytest-benchmark
8
8
pytest-cov
9
9
pytest-mock
Original file line number Diff line number Diff line change
1
+ pytest~=8.0.0
2
+ pytest-cov
3
+ pytest-mock
4
+ flaky
5
+ pytest-benchmark
6
+ git+https://github.com/PennyLaneAI/pennylane.git@master
Original file line number Diff line number Diff line change 2
2
flaky
3
3
pennylane >= 0.34
4
4
pybind11
5
- pytest
5
+ pytest ~= 8.0.0
6
6
pytest-cov
7
7
pytest-mock
You can’t perform that action at this time.
0 commit comments