summaryrefslogtreecommitdiff
path: root/debian/patches/0001-Stop-testing-wminkowski-metric-removed-in-SciPy-1.8.patch
blob: b6acfca065c28e720626fc53795f06088dd77ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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