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
This is more or less a heads-up about the upcoming NumPy 2.0 release: numpy/numpy#24300
A quick look test shows at least one incompatibility:
File "/mdao/u/swryan/.conda/envs/openmdao_20231016-120012/lib/python3.11/site-packages/pyoptsparse/__init__.py", line 3, in <module>
from .pyOpt_history import History
File "/mdao/u/swryan/.conda/envs/openmdao_20231016-120012/lib/python3.11/site-packages/pyoptsparse/pyOpt_history.py", line 12, in <module>
from .pyOpt_utils import EPS
File "/mdao/u/swryan/.conda/envs/openmdao_20231016-120012/lib/python3.11/site-packages/pyoptsparse/pyOpt_utils.py", line 23, in <module>
from .types import ArrayType
File "/mdao/u/swryan/.conda/envs/openmdao_20231016-120012/lib/python3.11/site-packages/pyoptsparse/types.py", line 9, in <module>
NumpyType = Union[float, npt.NDArray[np.float_]]
^^^^^^^^^
File "/mdao/u/swryan/.conda/envs/openmdao_20231016-120012/lib/python3.11/site-packages/numpy/__init__.py", line 388, in __getattr__
raise AttributeError(
AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead.
The text was updated successfully, but these errors were encountered:
This is more or less a heads-up about the upcoming NumPy 2.0 release: numpy/numpy#24300
A quick look test shows at least one incompatibility:
The text was updated successfully, but these errors were encountered: