You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ImportError while loading conftest '/home/runner/work/mx-bluesky/mx-bluesky/tests/conftest.py'.
tests/conftest.py:65: in <module>
from scanspec.core import Path as ScanPath
/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/scanspec/__init__.py:9: in <module>
from . import core, regions, specs
/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/scanspec/core.py:44: in <module>
GapArray = npt.NDArray[np.bool]
/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/numpy/__init__.py:319: in __getattr__
warnings.warn(
E FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
Attempting to ignore this warning just leads to a later AttributeError:
ImportError while loading conftest '/home/bob/workspace/mx-bluesky/tests/conftest.py'.
tests/conftest.py:65: in <module>
from scanspec.core import Path as ScanPath
.venv/lib/python3.11/site-packages/scanspec/__init__.py:9: in <module>
from . import core, regions, specs
.venv/lib/python3.11/site-packages/scanspec/core.py:44: in <module>
GapArray = npt.NDArray[np.bool]
.venv/lib/python3.11/site-packages/numpy/__init__.py:324: in __getattr__
raise AttributeError(__former_attrs__[attr])
E AttributeError: module 'numpy' has no attribute 'bool'.
E `np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
E The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
E https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
The text was updated successfully, but these errors were encountered:
See
https://github.com/DiamondLightSource/mx-bluesky/actions/runs/11405066552/job/31735667519?pr=585
Attempting to ignore this warning just leads to a later AttributeError:
The text was updated successfully, but these errors were encountered: