#2 Workaround rhbz#2099102
Closed 2 years ago by churchyard. Opened 2 years ago by churchyard.
rpms/ churchyard/python-scikit-learn deselect  into  rawhide

@@ -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.

@pviktori Would you be able to verify the crashes in test_randomized_eigsh_... are also caused by https://bugzilla.redhat.com/show_bug.cgi?id=2099102 ?

rebased onto eb8370f

2 years ago

Thanks. I'll amend the commit message before merging.

rebased onto 41c7e43

2 years ago

Pull-Request has been closed by churchyard

2 years ago
Metadata