It seems that NumPy deprecated the 'a256' dtype somewhere between 2.4.4 and 2.5.2.
-
Deprecation warning when using dtype='a256' in numpy=2.4.4:
DeprecationWarning: Data type alias 'a' was deprecated in NumPy 2.0. Use the 'S' alias instead.
-
Error message using dtype='a256' in numpy=2.5.2:
TypeError: data type 'a256' not understood
'a256' appears in a few locations within labscript (although I have also found it in labscript_devices/NI_DAQmx and I'm sure it'll be in other locations as well):
I would guess a transparent fix would be to replace all instances of 'a256' with 'S256' but wanted to get some input before submitting PRs.
It seems that NumPy deprecated the 'a256' dtype somewhere between 2.4.4 and 2.5.2.
Deprecation warning when using dtype='a256' in numpy=2.4.4:
DeprecationWarning: Data type alias 'a' was deprecated in NumPy 2.0. Use the 'S' alias instead.Error message using dtype='a256' in numpy=2.5.2:
TypeError: data type 'a256' not understood'a256' appears in a few locations within labscript (although I have also found it in labscript_devices/NI_DAQmx and I'm sure it'll be in other locations as well):
I would guess a transparent fix would be to replace all instances of 'a256' with 'S256' but wanted to get some input before submitting PRs.