-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Randomgen 2.3 seems to be incompatible with NumPy 2.4. In this constellation, import randomgen immediately fails with this error:
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import randomgen
File "<prefix>/lib/python3.13/site-packages/randomgen/__init__.py", line 6, in <module>
from randomgen._register import BitGenerators
File "<prefix>/lib/python3.13/site-packages/randomgen/_register.py", line 3, in <module>
from randomgen.aes import AESCounter
File "randomgen/aes.pyx", line 1, in init randomgen.aes
File "randomgen/common.pyx", line 1, in init randomgen.common
AttributeError: module 'numpy.random.bit_generator' has no attribute 'SeedlessSequence'. Did you mean: 'SeedSequence'?
pip list output:
Package Version
--------- -------
numpy 2.4.0
pip 25.2
randomgen 2.3.0
Metadata
Metadata
Assignees
Labels
No labels