summarylogtreecommitdiffstats
path: root/.SRCINFO
diff options
context:
space:
mode:
authora8212022-12-13 10:47:57 +0100
committera8212022-12-13 10:47:57 +0100
commitac0040d848a351d1400c177cd28dd3fcb1535667 (patch)
treeea5b79bf8363f1972a756360800cf75b8556db8e /.SRCINFO
parente4743c8ff6776fc18e6a6c0ffbb87a1b594e67b9 (diff)
downloadaur-ac0040d848a351d1400c177cd28dd3fcb1535667.tar.gz
Fix: np.matrix type not supported by sklearn
Some tests fail because the function `pairwise_distance` does not support the `numpy.matrix` type. The error suggest to call `numpy.asarray` first on the argument, so this patch does just that.
Diffstat (limited to '.SRCINFO')
-rw-r--r--.SRCINFO4
1 files changed, 3 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8002d5c3da78..236c6b35dc2b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pynndescent
pkgdesc = Simple fast approximate nearest neighbor search
pkgver = 0.5.8
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/lmcinnes/pynndescent
arch = any
license = BSD
@@ -12,6 +12,8 @@ pkgbase = python-pynndescent
depends = python-scikit-learn
depends = python-scipy
source = https://pypi.io/packages/source/p/pynndescent/pynndescent-0.5.8.tar.gz
+ source = asarray.patch
sha256sums = a7c552569bf604a101fd54bba1d27c12389e065945dee3a6777a518c63a46f2b
+ sha256sums = 240c9413befb3f7dd58a0f02a32e58a07c54abeef70cdaa222a3ec7bd8da7d63
pkgname = python-pynndescent