[Debian-med-packaging] Bug#1079674: dipy: test_fss_single_point_slines fails with scipy 1.14

Drew Parsons dparsons at debian.org
Mon Aug 26 08:37:46 BST 2024


Source: dipy
Version: 1.9.0-5
Severity: normal

scipy 1.14 (in experimental) is causing dipy to fail tests, apparently
due to an API change:

1268s _________________________ test_fss_single_point_slines _________________________
1268s 
1268s     def test_fss_single_point_slines():
1268s         slines = [np.array([[1.0, 1.0, 1.0]]),
1268s                   np.array([[0.0, 1.0, 2.0]])]
1268s         fss = FastStreamlineSearch(slines, max_radius=4.0, nb_mpts=4, bin_size=20.0,
1268s                                    resampling=24, bidirectional=False)
1268s         res = fss.radius_search(slines, radius=4.0)
1268s         # 2x2 matrix with 4 element
1268s         assert_true(res.nnz == 4)
1268s >       mat = res.A
1268s E       AttributeError: 'coo_matrix' object has no attribute 'A'
1268s 
1268s dipy/segment/tests/test_fss.py:108: AttributeError


Test log at
https://ci.debian.net/packages/d/dipy/unstable/amd64/50977825/



More information about the Debian-med-packaging mailing list