| |
@@ -64,6 +64,7 @@
|
| |
export PYTHONDONTWRITEBYTECODE=1
|
| |
export PYTEST_ADDOPTS='-p no:cacheprovider'
|
| |
pushd %{buildroot}%{python3_sitearch}
|
| |
+ # kernel PCA tests and test_randomized_eigsh_* deselected to workaround https://bugzilla.redhat.com/2099102
|
| |
pytest \
|
| |
--deselect "metrics/tests/test_common.py::test_not_symmetric_metric[precision_recall_curve]" \
|
| |
--deselect "metrics/tests/test_common.py::test_binary_sample_weight_invariance[precision_recall_curve]" \
|
| |
@@ -73,6 +74,9 @@
|
| |
--deselect "covariance/tests/test_graphical_lasso.py::test_graphical_lasso" \
|
| |
--deselect "gaussian_process/tests/test_gpr.py::test_lml_precomputed[kernel3]" \
|
| |
--deselect "gaussian_process/tests/test_gpr.py::test_lml_precomputed[kernel4]" \
|
| |
+ --deselect "utils/tests/test_extmath.py::test_randomized_eigsh_reconst_low_rank[10-7]" \
|
| |
+ --deselect "utils/tests/test_extmath.py::test_randomized_eigsh_compared_to_others[200]" \
|
| |
+ -k "not (kernel_pca or KernelPCA)" \
|
| |
sklearn
|
| |
popd
|
| |
%endif
|
| |
Kernel PCA tests are skipped because the problem is not in this package.
The two other --deselects also crash, not yet sure if the same cause.