[Debian-med-packaging] Bug#982098: python-anndata: autopkgtest failure on 32bit

Diane Trout diane at ghic.org
Wed Feb 10 05:48:38 GMT 2021


On Wed, 2021-02-10 at 01:43 +0200, Adrian Bunk wrote:
> On Sat, Feb 06, 2021 at 04:20:47PM +0100, Michael R. Crusoe wrote:
> > Control: forwarded -1
> > https://github.com/theislab/anndata/issues/443
> > 
> > I've let upstream know about this, thanks.
> 
> Unless they have a solution immediately, I would recommend trying the
> following:
> 
> > > Removing this assert in line 62 fixes the build on i386 for me,
> > > which might be the way forward for getting the package into
> > > bullseye.


I commented on the AnnData github but I think this should go into our
bug tracker too.

The following code works correctly on amd64, but the last assert
triggers on i386. It only depends on numpy.



import numpy as np

X = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])

assert np.issubdtype(X.dtype, np.integer)
assert np.issubdtype(X.dtype, np.int_)
assert np.issubdtype((X*X).dtype, np.int_)
assert np.issubdtype((X**2).dtype, np.integer)
assert np.issubdtype((X**2).dtype, np.int_)



More information about the Debian-med-packaging mailing list