Your message dated Tue, 07 Nov 2023 08:34:38 +0000
with message-id <e1r0hxi-00fyt4...@fasolo.debian.org>
and subject line Bug#988424: fixed in python-sparse 0.14.0-1
has caused the Debian Bug report #988424,
regarding python-sparse: failure in tests
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
988424: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988424
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-sparse
Severity: important
Tags: ftbfs
User: de...@lists.apertis.org
Usertags: apertis-ftbfs
X-Debbugs-Cc: de...@lists.apertis.org

Dear Maintainer,

It turns out that the package seems to be failing in some of the tests
on 32 bit systems.

=================================== FAILURES ===================================
______________________ [doctest] sparse._common.full_like ______________________
1384 
1385     Returns
1386     -------
1387     out : SparseArray
1388         Array of `fill_value` with the same shape and type as `a`.
1389 
1390     Examples
1391     --------
1392     >>> x = np.ones((2, 3), dtype='i8')
1393     >>> full_like(x, 9.0).todense()  # doctest: +NORMALIZE_WHITESPACE
Expected:
    array([[9, 9, 9],
           [9, 9, 9]])
Got:
    array([[9, 9, 9],
           [9, 9, 9]], dtype=int64)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_common.py:1393:
 DocTestFailure
______________________ [doctest] sparse._common.ones_like ______________________
1537 
1538     Returns
1539     -------
1540     out : SparseArray
1541         Array of ones with the same shape and type as `a`.
1542 
1543     Examples
1544     --------
1545     >>> x = np.ones((2, 3), dtype='i8')
1546     >>> ones_like(x).todense()  # doctest: +NORMALIZE_WHITESPACE
Expected:
    array([[1, 1, 1],
           [1, 1, 1]])
Got:
    array([[1, 1, 1],
           [1, 1, 1]], dtype=int64)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_common.py:1546:
 DocTestFailure
_____________________ [doctest] sparse._common.zeros_like ______________________
1461 
1462     Returns
1463     -------
1464     out : SparseArray
1465         Array of zeros with the same shape and type as `a`.
1466 
1467     Examples
1468     --------
1469     >>> x = np.ones((2, 3), dtype='i8')
1470     >>> zeros_like(x).todense()  # doctest: +NORMALIZE_WHITESPACE
Expected:
    array([[0, 0, 0],
           [0, 0, 0]])
Got:
    array([[0, 0, 0],
           [0, 0, 0]], dtype=int64)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_common.py:1470:
 DocTestFailure
__________________________ [doctest] sparse._dok.DOK ___________________________
056     <DOK: shape=(5, 5), dtype=int64, nnz=4, fill_value=0>
057 
058     You can convert :obj:`DOK` arrays to :obj:`COO` arrays, or 
:obj:`numpy.ndarray`
059     objects.
060 
061     >>> from sparse import COO
062     >>> s3 = COO(s2)
063     >>> s3
064     <COO: shape=(5, 5), dtype=int64, nnz=4, fill_value=0>
065     >>> s2.todense()  # doctest: +NORMALIZE_WHITESPACE
Differences (unified diff with -expected +actual):
    @@ -3,3 +3,3 @@
            [0, 6, 7, 0, 0],
            [0, 0, 0, 0, 0],
    -       [0, 0, 0, 0, 0]])
    +       [0, 0, 0, 0, 0]], dtype=int64)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_dok.py:65:
 DocTestFailure
___________________ [doctest] sparse._slicing.sanitize_index ___________________
144 Sanitize the elements for indexing along one axis
145     >>> sanitize_index([2, 3, 5])
146     array([2, 3, 5])
147     >>> sanitize_index([True, False, True, False])
Expected:
    array([0, 2])
Got:
    array([0, 2], dtype=int32)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_slicing.py:147:
 DocTestFailure
____________________ [doctest] sparse._coo.common.argwhere _____________________
586 
587     See Also
588     --------
589     :obj:`where`, :obj:`COO.nonzero`
590 
591     Examples
592     --------
593     >>> import sparse
594     >>> x = sparse.COO(np.arange(6).reshape((2, 3)))
595     >>> sparse.argwhere(x > 1)
Differences (unified diff with -expected +actual):
    @@ -2,3 +2,3 @@
            [1, 0],
            [1, 1],
    -       [1, 2]])
    +       [1, 2]], dtype=int32)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/common.py:595:
 DocTestFailure
________________________ [doctest] sparse._coo.core.COO ________________________
070     You can create :obj:`COO` objects from Numpy arrays.
071 
072     >>> x = np.eye(4, dtype=np.uint8)
073     >>> x[2, 3] = 5
074     >>> s = COO.from_numpy(x)
075     >>> s
076     <COO: shape=(4, 4), dtype=uint8, nnz=5, fill_value=0>
077     >>> s.data  # doctest: +NORMALIZE_WHITESPACE
078     array([1, 1, 1, 5, 1], dtype=uint8)
079     >>> s.coords  # doctest: +NORMALIZE_WHITESPACE
Expected:
    array([[0, 1, 2, 2, 3],
           [0, 1, 2, 3, 3]])
Got:
    array([[0, 1, 2, 2, 3],
           [0, 1, 2, 3, 3]], dtype=int32)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/core.py:79:
 DocTestFailure
_________________ [doctest] sparse._coo.core.COO._sort_indices _________________
1542         Sorts the :obj:`COO.coords` attribute. Also sorts the data in
1543         :obj:`COO.data` to match.
1544 
1545         Examples
1546         --------
1547         >>> coords = np.array([[1, 2, 0]], dtype=np.uint8)
1548         >>> data = np.array([4, 1, 3], dtype=np.uint8)
1549         >>> s = COO(coords, data)
1550         >>> s._sort_indices()
1551         >>> s.coords  # doctest: +NORMALIZE_WHITESPACE
Expected:
    array([[0, 1, 2]])
Got:
    array([[0, 1, 2]], dtype=int32)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/core.py:1551:
 DocTestFailure
________________ [doctest] sparse._coo.core.COO._sum_duplicates ________________
1570         --------
1571         scipy.sparse.coo_matrix.sum_duplicates : Equivalent Scipy function.
1572 
1573         Examples
1574         --------
1575         >>> coords = np.array([[0, 1, 1, 2]], dtype=np.uint8)
1576         >>> data = np.array([6, 5, 2, 2], dtype=np.uint8)
1577         >>> s = COO(coords, data)
1578         >>> s._sum_duplicates()
1579         >>> s.coords  # doctest: +NORMALIZE_WHITESPACE
Expected:
    array([[0, 1, 2]])
Got:
    array([[0, 1, 2]], dtype=int32)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/core.py:1579:
 DocTestFailure
__________________ [doctest] sparse._coo.core.COO.linear_loc ___________________
1244 
1245         See Also
1246         --------
1247         :obj:`numpy.flatnonzero` : Equivalent Numpy function.
1248 
1249         Examples
1250         --------
1251         >>> x = np.eye(5)
1252         >>> s = COO.from_numpy(x)
1253         >>> s.linear_loc()  # doctest: +NORMALIZE_WHITESPACE
Expected:
    array([ 0,  6, 12, 18, 24])
Got:
    array([ 0,  6, 12, 18, 24], dtype=int32)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/core.py:1253:
 DocTestFailure
____________________ [doctest] sparse._coo.core.COO.nbytes _____________________
614         See Also
615         --------
616         numpy.ndarray.nbytes : The equivalent Numpy property.
617 
618         Examples
619         --------
620         >>> data = np.arange(6, dtype=np.uint8)
621         >>> coords = np.random.randint(1000, size=(3, 6), dtype=np.uint16)
622         >>> s = COO(coords, data, shape=(1000, 1000, 1000))
623         >>> s.nbytes
Expected:
    150
Got:
    78

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/core.py:623:
 DocTestFailure
____________________ [doctest] sparse._coo.core.COO.nonzero ____________________
1763 
1764         Raises
1765         ------
1766         ValueError
1767             If the array doesn't have zero fill-values.
1768 
1769         Examples
1770         --------
1771         >>> s = COO.from_numpy(np.eye(5))
1772         >>> s.nonzero()
Expected:
    (array([0, 1, 2, 3, 4]), array([0, 1, 2, 3, 4]))
Got:
    (array([0, 1, 2, 3, 4], dtype=int32), array([0, 1, 2, 3, 4], dtype=int32))

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/core.py:1772:
 DocTestFailure
_________________ [doctest] sparse._coo.indexing._filter_pairs _________________
EXAMPLE LOCATION UNKNOWN, not showing all tests of that example
??? >>> _filter_pairs(starts, stops, coords, indices)
Expected:
    ListType[int64]([2, 4, 6])
Got:
    ListType[int32]([2, 4, 6])

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/indexing.py:None:
 DocTestFailure
________________ [doctest] sparse._coo.indexing._get_mask_pairs ________________
EXAMPLE LOCATION UNKNOWN, not showing all tests of that example
??? >>> _get_mask_pairs(starts_old, stops_old, c, idx)
Expected:
    (ListType[int64]([4]), ListType[int64]([6]), 2)
Got:
    (ListType[int32]([4]), ListType[int32]([6]), 2)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/indexing.py:None:
 DocTestFailure
_____________ [doctest] sparse._coo.indexing._ind_ar_from_indices ______________
197         Input indices (slices and integers)
198 
199     Returns
200     -------
201     ind_ar : np.ndarray
202         The output array.
203 
204     Examples
205     --------
206     >>> _ind_ar_from_indices([1])
Expected:
    array([[1, 2, 1]])
Got:
    array([[1, 2, 1]], dtype=int32)

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/indexing.py:206:
 DocTestFailure
_____________ [doctest] sparse._coo.indexing._join_adjacent_pairs ______________
EXAMPLE LOCATION UNKNOWN, not showing all tests of that example
??? >>> _join_adjacent_pairs(starts, stops)
Expected:
    (ListType[int64]([2]), ListType[int64]([7]))
Got:
    (ListType[int32]([2]), ListType[int32]([7]))

/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build/sparse/_coo/indexing.py:None:
 DocTestFailure
=========================== short test summary info ============================
FAILED sparse/_common.py::sparse._common.full_like
FAILED sparse/_common.py::sparse._common.ones_like
FAILED sparse/_common.py::sparse._common.zeros_like
FAILED sparse/_dok.py::sparse._dok.DOK
FAILED sparse/_slicing.py::sparse._slicing.sanitize_index
FAILED sparse/_coo/common.py::sparse._coo.common.argwhere
FAILED sparse/_coo/core.py::sparse._coo.core.COO
FAILED sparse/_coo/core.py::sparse._coo.core.COO._sort_indices
FAILED sparse/_coo/core.py::sparse._coo.core.COO._sum_duplicates
FAILED sparse/_coo/core.py::sparse._coo.core.COO.linear_loc
FAILED sparse/_coo/core.py::sparse._coo.core.COO.nbytes
FAILED sparse/_coo/core.py::sparse._coo.core.COO.nonzero
FAILED sparse/_coo/indexing.py::sparse._coo.indexing._filter_pairs
FAILED sparse/_coo/indexing.py::sparse._coo.indexing._get_mask_pairs
FAILED sparse/_coo/indexing.py::sparse._coo.indexing._ind_ar_from_indices
FAILED sparse/_coo/indexing.py::sparse._coo.indexing._join_adjacent_pairs
===== 16 failed, 4370 passed, 1 skipped, 30 xfailed, 35 xpassed in 45.83s ======
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd 
/srv/build/python-sparse-0.11.2/.pybuild/cpython3_3.9_sparse/build; python3.9 
-m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
returned exit code 13
make: *** [debian/rules:12: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Command `dpkg-buildpackage --changes-option=-DDistribution=bullseye` failed.
gbp:error: '/home/rrs/bin/gbp-pbuilder' failed: it exited with 2



-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), 
(100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_USER
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-sparse depends on:
ii  libamd2                          1:5.8.1+dfsg-2
ii  libatlas3-base [liblapack.so.3]  3.10.3-10
ii  libblas3 [libblas.so.3]          3.9.0-3
ii  libc6                            2.31-12
ii  liblapack3 [liblapack.so.3]      3.9.0-3
pn  libsuperlu5                      <none>
ii  libumfpack5                      1:5.8.1+dfsg-2
pn  python                           <none>
pn  python-numpy                     <none>
pn  python-numpy-abi9                <none>

python-sparse recommends no packages.

Versions of packages python-sparse suggests:
pn  python-sparse-examples  <none>

--- End Message ---
--- Begin Message ---
Source: python-sparse
Source-Version: 0.14.0-1
Done: Andreas Tille <ti...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-sparse, 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 988...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated python-sparse 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 07 Nov 2023 09:09:10 +0100
Source: python-sparse
Architecture: source
Version: 0.14.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Closes: 988424 1052388 1052815
Changes:
 python-sparse (0.14.0-1) unstable; urgency=medium
 .
   [ Bo YU ]
   * Team upload.
   * New upstream release.
     Closes: #988424
   * Rebase d/patches/No-pytest-config.patch.
   * Set std-ver to 4.6.2.
   * Add d/patches/fix-test-fails.patch to fix test failed issue.
   * Fix running testsuite on build. (Closes: #1052388, #1052815)
   * Add d/patches/fix-test-fails-on-i386.patch to fix ftbfs on i386.
 .
   [ Jeroen Ploemen ]
   * Remove unused build-deps on python3-{packaging,pytest-cov,six}.
 .
   [ Andreas Tille ]
   * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
Checksums-Sha1:
 95a572f9db993835b8d80753f27dbd399f455e3a 2312 python-sparse_0.14.0-1.dsc
 7a63f05b494132cabe2769693e9f10022b413c12 361519 
python-sparse_0.14.0.orig.tar.gz
 4f1c7796a8d906548275d7f180c446e5f8d63da0 5656 
python-sparse_0.14.0-1.debian.tar.xz
 acccd9804509e600c11738a62019bfb68c60b5d8 8788 
python-sparse_0.14.0-1_amd64.buildinfo
Checksums-Sha256:
 fcf1b685b10ba9162e3d86d7ac1d4089d0730fe667e4a21a2d3a172040ca85ae 2312 
python-sparse_0.14.0-1.dsc
 01d5128c68d563649a1cf53907ac43d748e91c17e26bfbb520919cfe0c5b2bd4 361519 
python-sparse_0.14.0.orig.tar.gz
 fe5cfa04a60b7ddf9b680d7e3ef5241b5c429c4eebb7e0f958b414af703b3e96 5656 
python-sparse_0.14.0-1.debian.tar.xz
 897483ccd3f2e26a6d6643f08eb6e1c25aeae2464d4330cd21133838ee3b6a52 8788 
python-sparse_0.14.0-1_amd64.buildinfo
Files:
 3512ec564c5da5225d017e546f453ade 2312 python optional 
python-sparse_0.14.0-1.dsc
 745a76dbf4b7ee2d3e915ce813214d28 361519 python optional 
python-sparse_0.14.0.orig.tar.gz
 b0d6e16ac714bff36b43207263450941 5656 python optional 
python-sparse_0.14.0-1.debian.tar.xz
 d4ce91babb03e84e298a93ba044be18c 8788 python optional 
python-sparse_0.14.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmVJ9AERHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHhcA//UErR6dt7YiRDrJJXCzC9RUa5K/4cEKev
Y04RTrHLAcCmSUn7BYRZmcof+ISW3I4AxLwQUbFax0qh96D9wfxsLyfI0sQOOtq+
mdKX5YgtXUwrUtE1Pap5VCV24MIFI2CutX9KY5HzeCbCIngz/ZbItscXcIaW5f4b
2mftqEm3/+bnFWCw7sgtDUnjrj/vYU4GIe8+FrVE8qNryvncolkXip7mjBHy8nYF
oDHaldOkXpv27ZDqGpODBo12gavhi/r1Et4Hjae04SsVqQERzKCh9rUP57u/u1kZ
LSlA12LAnIJ1wda7q5LW5iApvsAjArR9RXHvXbmvrnb2oY/8UAAoxqnWyk0QlQW8
8eKKBMkGmKg3lVzXq6L5paxpWKuomp4r73SZtwZI+e/d7JqhMyckZkpA22Ok6+39
rRqYGPpYhrJ82DsGA4Lru0LYWxF8XMt9f4tDCRR7fpZdaww39U0LzQH7G9KsYqFq
fBIeJ/i26iA7Iv/es+3VsGSKgSijVT3UBfFJ0Aqtvs1AjlAlRY/2hyEdNlKci9Al
2spM1KoWAo38rnKOrIw8MGcg5uqzWVBAw6xLt+E0JW3ej6lMz3lz/grdXr7cJxh9
fXLncwQqhF8A9xmsa3J7u7X4qDRSThpsxVJVuOj8E+g1noI0OSX1qWMLouBRgVg0
YMWAOE3scVM=
=56Gc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to