diff options
Diffstat (limited to 'debian/patches/0001-Stop-testing-wminkowski-metric-removed-in-SciPy-1.8.patch')
-rw-r--r-- | debian/patches/0001-Stop-testing-wminkowski-metric-removed-in-SciPy-1.8.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/0001-Stop-testing-wminkowski-metric-removed-in-SciPy-1.8.patch b/debian/patches/0001-Stop-testing-wminkowski-metric-removed-in-SciPy-1.8.patch new file mode 100644 index 0000000..b6acfca --- /dev/null +++ b/debian/patches/0001-Stop-testing-wminkowski-metric-removed-in-SciPy-1.8.patch @@ -0,0 +1,21 @@ +From: Gard Spreemann <gspr@nonempty.org> +Date: Wed, 6 Apr 2022 11:44:01 +0200 +Subject: Stop testing wminkowski metric (removed in SciPy 1.8) + +--- + test/test_utils.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/test_utils.py b/test/test_utils.py +index 6b476b2..8b23c22 100644 +--- a/test/test_utils.py ++++ b/test/test_utils.py +@@ -122,7 +122,7 @@ def test_dist(): + 'braycurtis', 'canberra', 'chebyshev', 'cityblock', 'correlation', 'cosine', 'dice', + 'euclidean', 'hamming', 'jaccard', 'kulsinski', + 'matching', 'minkowski', 'rogerstanimoto', 'russellrao', +- 'sokalmichener', 'sokalsneath', 'sqeuclidean', 'wminkowski', 'yule' ++ 'sokalmichener', 'sokalsneath', 'sqeuclidean', 'yule' + ] # those that support weights + metrics = ['mahalanobis', 'seuclidean'] # do not support weights depending on scipy's version + |