Revert "python3Packages.scikit-learn: disable more tests"
This reverts commit 6cc7b4715feb572f53b37efef5abb6e35d256a76. Disabling these tests hides crashing issues that are encountered in the test suite. They are ultimately caused by an update to numpy>=1.22.0 that was reverted so that these tests can be reenabled.
This commit is contained in:
parent
9b74eef20a
commit
0f446086d1
1 changed files with 1 additions and 17 deletions
|
@ -65,22 +65,6 @@ buildPythonPackage rec {
|
|||
"check_regressors_train"
|
||||
"check_classifiers_train"
|
||||
"xfail_ignored_in_check_estimator"
|
||||
|
||||
# failing on x86_64-linux
|
||||
"test_kernel_pca_consistent_transform"
|
||||
"test_kernel_pca_raise_not_fitted_error"
|
||||
"test_32_64_decomposition_shape"
|
||||
"test_randomized_eigsh_reconst_low_rank"
|
||||
"test_randomized_svd_low_rank_with_noise"
|
||||
|
||||
"test_row_norms"
|
||||
"test_randomized_svd_infinite_rank"
|
||||
"test_randomized_svd_transpose_consistency"
|
||||
"test_randomized_svd_sparse_warnings"
|
||||
"test_randomized_svd_sign_flip"
|
||||
"test_incremental_weighted_mean_and_variance_ignore_nan"
|
||||
"test_randomized_svd_infinite_rank"
|
||||
"test_randomized_eigsh_compared_to_others"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
|
@ -93,7 +77,7 @@ buildPythonPackage rec {
|
|||
# (https://github.com/joblib/joblib/issues/563). See also:
|
||||
# https://github.com/scikit-learn/scikit-learn/issues/17582
|
||||
# Since we are overriding '-k' we need to include the 'disabledTests' from above manually.
|
||||
"-k" "'not (NuSVC and memmap) and not KernelPCA ${toString (lib.forEach disabledTests (t: "and not ${t}"))}'"
|
||||
"-k" "'not (NuSVC and memmap) ${toString (lib.forEach disabledTests (t: "and not ${t}"))}'"
|
||||
|
||||
"-n" "$NIX_BUILD_CORES"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue