Bug#1026487: libvigraimpex: FTBFS: IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices

Andreas Metzler ametzler at bebt.de
Sun Dec 25 17:41:28 GMT 2022


On 2022-12-20 Lucas Nussbaum <lucas at debian.org> wrote:
> Source: libvigraimpex
> Version: 1.11.1+dfsg-10
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lucas at debian.org
> Usertags: ftbfs-20221220 ftbfs-bookworm

> Hi,

> During a rebuild of all packages in sid, your package failed to build
> on amd64.


[...]
> > executing test file /<<PKGBUILDDIR>>/obj.x86_64-linux-gnu/vigranumpy/test/test_arraytypes.py
> > .EEEEEEEEEEEEEEE.....EE.
[...]
> > ERROR: test_arraytypes.testImage1
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/<<PKGBUILDDIR>>/obj.x86_64-linux-gnu/vigranumpy/vigra/arraytypes.py", line 1271, in __getitem__
> >     res = numpy.ndarray.__getitem__(self, index)
> > IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boolean arrays are valid indices
> > 
> > During handling of the above exception, another exception occurred:
[...]

This is caused/triggered by the recent numpy upgrade from 1:1.21.5-2 to
1:1.23.5-2.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the debian-science-maintainers mailing list