#1063636 python-pynndescent: test_distances fails with scipy 1.11: Unknown Distance Metric: kulsinski

#1063636#5
Date:
2024-02-10 09:32:09 UTC
From:
To:
python-pynndescent is failing test_distances with scipy 1.11 from experimental

103s             else:
103s >               raise ValueError('Unknown Distance Metric: %s' % mstr)
103s E               ValueError: Unknown Distance Metric: kulsinski
103s
103s /usr/lib/python3/dist-packages/scipy/spatial/distance.py:2230: ValueError
103s =============================== warnings summary ===============================
103s pynndescent/tests/test_distances.py: 13 warnings
103s   /usr/lib/python3/dist-packages/numba/np/ufunc/array_exprs.py:301: DeprecationWarning: ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead
103s     return ast.Num(expr.value), {}
103s
103s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
103s =========================== short test summary info ============================
103s FAILED ../build.PmL/src/pynndescent/tests/test_distances.py::test_binary_check[kulsinski]
103s FAILED ../build.PmL/src/pynndescent/tests/test_distances.py::test_sparse_binary_check[kulsinski]
103s ============ 2 failed, 33 passed, 14 skipped, 13 warnings in 21.58s ============


scipy 1.11 is currently in experimental but I'd like to upload soon to
unstable to resolve Bug#1061605, which would make this bug serious.

Looks like it's been fixed in the latest release of pynndescent.

#1063636#14
Date:
2025-09-01 14:38:41 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-pynndescent, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1063636@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael R. Crusoe <crusoe@debian.org> (supplier of updated python-pynndescent package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 01 Sep 2025 16:12:31 +0200
Source: python-pynndescent
Architecture: source
Version: 0.5.13-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Michael R. Crusoe <crusoe@debian.org>
Closes: 1058483 1063636 1090284
Changes:
 python-pynndescent (0.5.13-1) unstable; urgency=medium
 .
   * New upstream version. Closes: #1090284, #1090284, #1058483, #1063636
   * Standards-Version: 4.7.2 (routine-update)
   * Refreshed the patches.
Checksums-Sha1:
 474e9e07554ce02cb5ec1f1fde38624a1ce10e0e 2490 python-pynndescent_0.5.13-1.dsc
 701293eabd85ede4f4e9b91c14bb9690485bc5e3 2797632 python-pynndescent_0.5.13.orig.tar.xz
 69a72b0c062d8bea95a08a4b20a0ae7282878504 5244 python-pynndescent_0.5.13-1.debian.tar.xz
 16135b411a7232ea7508bf29c470c22d975f3f82 8940 python-pynndescent_0.5.13-1_source.buildinfo
Checksums-Sha256:
 af9ea539aff1851c9007e9181be22af465e821d119664fec04691266fa3cb18c 2490 python-pynndescent_0.5.13-1.dsc
 e2b55a90e0fe6a6f9b3a23c03c5ff17a8115e7fe87320dc299db726e5885495a 2797632 python-pynndescent_0.5.13.orig.tar.xz
 6a386672abe2d444729d6084b8a248586570dbf8c69985df7825c23804b88d55 5244 python-pynndescent_0.5.13-1.debian.tar.xz
 cebda9674fed7b981172a92b780b3176c955f6d3fd38c9658488b09bd344f4ff 8940 python-pynndescent_0.5.13-1_source.buildinfo
Files:
 cc7645933f89057c805a6dc2a601afb8 2490 python optional python-pynndescent_0.5.13-1.dsc
 957234bd5bb5af7218f7767318d8b91b 2797632 python optional python-pynndescent_0.5.13.orig.tar.xz
 3d7e6c106cb97dad7c166be1a692bc31 5244 python optional python-pynndescent_0.5.13-1.debian.tar.xz
 d61bf55d9afb2201f2d174401e326df0 8940 python optional python-pynndescent_0.5.13-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAwFiEEck1gkzcRPHEFUNdHPCZ2P2xn5uIFAmi1rFASHGNydXNvZUBk
ZWJpYW4ub3JnAAoJEDwmdj9sZ+biDPgP9A6kR56OLplyqvkl0K29Qf/lf6M6lhSU
BxaxM7MB6TS+KkVBDg2OvJzINWd0G3ITgN1sR84dDWnEUVywXZihnlHC/FdUyD+l
v0xhs6hQgRhwO4zt3R60dWX9/2VVdngIDYKBKk7f0ydh4g8lcBhAAEYDp+Cvy/Vc
LlOWSx2N07OqesOl5/AdZazD4hUhspLRWKfllzm/0YZuQ2EtK8+JeJ082ceM1TlV
ziK57FUoWohOrh+dWvbaF9GthezpaGAusX0p/LaWejczDVozt+Yja/4r+T3d+qjW
aQXUWMo2YCuX8jVeLGgn/Qfv9h0rkKcjL09X3OZFnzuV37rAyOUr+R/dVc/CEn0N
rkHlXR+qIQZJnoT+AentqZZBAWtMMKdJbGvaRrvu6rodyZdo7QMBQbrpKWb0r11D
zVlIn7DGFSYp1iV8XXkXm8pfaLyHDwxm/CXQZHyXwKjqxvlNWeKAcXyq3gEk4xDU
jtBTiJzsGfkkeGBRlimw/MI1ZdG+nNj5PFpPkOkTGbPwcQ4DXkNU/cRGOUPIcaQV
e/14PnSfeayis86TqQJRII49yyXYK0bbVkuc3ePAc/vQQdP2+P+Hejw/FtOgjnUM
eveUNslEzK46w4yJRdhWxJ/2cRm2O+kCKabZ0VDFd+nAi4wFfQP/jD3a1Ni4ioUG
wNNfCy2pjgs=
=jzBy
-----END PGP SIGNATURE-----