diff options
Diffstat (limited to 'gnu/packages/python-science.scm')
| -rw-r--r-- | gnu/packages/python-science.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index c70f82730a4..43cc52ca0e0 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm | |||
| @@ -5033,7 +5033,17 @@ Python module with the same interface, but (hopefully) faster.") | |||
| 5033 | #~(list "--pyargs" "pyts" | 5033 | #~(list "--pyargs" "pyts" |
| 5034 | ;; Most likely a flaky test. | 5034 | ;; Most likely a flaky test. |
| 5035 | "--deselect=preprocessing/transformer.py::\ | 5035 | "--deselect=preprocessing/transformer.py::\ |
| 5036 | pyts.preprocessing.transformer.QuantileTransformer"))) | 5036 | pyts.preprocessing.transformer.QuantileTransformer") |
| 5037 | #:phases | ||
| 5038 | #~(modify-phases %standard-phases | ||
| 5039 | ;; See https://github.com/johannfaouzi/pyts/issues/168 | ||
| 5040 | (add-after 'unpack 'fix-scikit-learn-compat | ||
| 5041 | (lambda _ | ||
| 5042 | (substitute* (list "pyts/metrics/dtw.py" | ||
| 5043 | "pyts/preprocessing/imputer.py" | ||
| 5044 | "pyts/preprocessing/transformer.py") | ||
| 5045 | (("force_all_finite=") | ||
| 5046 | "ensure_all_finite="))))))) | ||
| 5037 | (propagated-inputs | 5047 | (propagated-inputs |
| 5038 | (list python-joblib | 5048 | (list python-joblib |
| 5039 | python-numba | 5049 | python-numba |
