Closed ametzler closed 9 months ago
I think that cherry-picking/porting the changes from #475 might help for this -- the stricter validation of array index access seems to be the reason for the deprecation notices mentioned by that pull request.
[jayaddison] wrote
I think that cherry-picking/porting the changes from #475 might help for this -- the stricter validation of array index access seems to be the reason for the deprecation notices mentioned by that pull request.
Yes, indeed 6715b5b441bb9a9face8b3b4f751911d618b8b98 plus
--- libvigraimpex-1.11.1+dfsg.orig/vigranumpy/test/test_arraytypes.py
+++ libvigraimpex-1.11.1+dfsg/vigranumpy/test/test_arraytypes.py
@@ -1531,7 +1531,7 @@ def testMethods():
assert_equal(b.axistags, a.axistags)
def testUfuncs():
- from numpy import bool, int8, uint8, int16, uint16, int32, uint32, int64, uint64
+ from numpy import int8, uint8, int16, uint16, int32, uint32, int64, uint64
seems to work.
bool
error was fixed in https://github.com/ukoethe/vigra/commit/a2cfbff6f4e117b1d903de53b381328cd4a6c587
Hello,
Upgrading numpy in Debian from 1.21.5 to 1.23.5-2 triggered a build error https://bugs.debian.org/1026487
cu Andreas