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
while looking through the CI logs I spotted some deprecated warnings that we may want to fix before the numpy 2.0 and before python 3.12 drops support for distutils release.
Here is the only three warnings I spotted in the CI
4.824 tests/test_activation_responses.py::test_response_hdf5_to_mesh
4.824 /root/.local/lib/python3.10/site-packages/pyne/alara.py:1114: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
4.824 return np.dtype(
#21 4.824 ../../../.local/lib/python3.10/site-packages/pyne/utils.py:6
#21 4.824 /root/.local/lib/python3.10/site-packages/pyne/utils.py:6: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
#21 4.824 from distutils.dir_util import remove_tree
#21 4.824
#21 4.824 tests/test_activation_responses.py::test_response_hdf5_to_mesh
#21 4.824 /root/.local/lib/python3.10/site-packages/pyne/alara.py:1114: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
#21 4.824 return np.dtype(
If applicable, add screenshots or snippets of code and error messages to help explain your problem.
Note, please do not include screenshots or snippets of code that is export controlled.
Please complete the following information regarding your system:
PyNE Version: latest develop branchversion
The text was updated successfully, but these errors were encountered:
Describe the Bug
while looking through the CI logs I spotted some deprecated warnings that we may want to fix before the numpy 2.0 and before python 3.12 drops support for distutils release.
The numpy 2.0 release has a few changes
https://numpy.org/devdocs/release/2.0.0-notes.html
Here is the only three warnings I spotted in the CI
To Reproduce
link to ci
Expected Behavior
no warnings should be raised
Screenshots or Code Snippets
If applicable, add screenshots or snippets of code and error messages to help explain your problem.
Note, please do not include screenshots or snippets of code that is export controlled.
Please complete the following information regarding your system:
The text was updated successfully, but these errors were encountered: