randomgen
randomgen copied to clipboard
Numpy 2.0 compatibility
I am getting the following error when using randomgen on Numpy 2.0 (which has just released today):
File "randomgen/aes.pyx", line 1, in init randomgen.aes
File "randomgen/common.pyx", line 1, in init randomgen.common
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
No issue on Numpy 1.26.4, the max prior version. I think it's likely that Numpy's ABI has changed in 2.0, causing an incompatibility.
Thanks for maintaining this package!