Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1030495: navarp: FTBFS: AttributeError: module 'numpy' has no attribute 'complex'

1,252 views
Skip to first unread message

Andrey Rakhmatullin

unread,
Feb 22, 2023, 6:10:05 PM2/22/23
to
Control: reassign -1 python3-igor 0.3-4
Control: tags -1 + upstream

On Sat, Feb 04, 2023 at 08:56:51AM +0100, Lucas Nussbaum wrote:
> > File "/usr/lib/python3/dist-packages/igor/binarywave.py", line 110, in <module>
> > 1:_numpy.complex, # NT_CMPLX, makes number complex.
> > ^^^^^^^^^^^^^^
> > File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 284, in __getattr__
> > raise AttributeError("module {!r} has no attribute "
> > AttributeError: module 'numpy' has no attribute 'complex'
Reassigning.
The upstream repo links needs to be updated to
http://git.tremily.us/?p=igor.git but the project is dead since 2016
anyway.
The fix needs to follow https://numpy.org/devdocs/release/1.20.0-notes.html#using-the-aliases-of-builtin-types-like-np-int-is-deprecated

Étienne Mollier

unread,
Feb 24, 2023, 7:52:27 AM2/24/23
to
Control: found -1 0.3-3
Control: fixed -1 0.3-4

There seems to have been bad timing between the last upload of
python-igor, and the build test on navarp, which has been done
against the previous python-igor package version 0.3-3. I don't
reproduce the ftbfs bug affecting navarp; actually it seems to
have been fixed by Bastian's patch addressing errors related to
the new numpy version.

I believe this bug can be closed.

Have a nice day, :)
--
Étienne Mollier <emol...@emlwks999.eu>
Fingerprint: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
Sent from /dev/pts/5, please excuse my verbosity.
signature.asc
0 new messages