Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

MNT: fix error when using numpy 2+ #1140

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

nstelter-slac
Copy link
Collaborator

If you specify python 3.10+ in the conda install,
numpy will then be installed with the latest version 2.20.

Updated numpy has removed np.compat.long, which was for compatibility with python 2's 'long' variable, and we don't support python 2. ('long' is replaced with the just an expanded 'int' in python 3).

If you specify python 3.10+ in the conda install,
numpy will then be installed with the latest version 2.20.

Updated numpy has removed np.compat.long, which was for compatibility with
python 2's 'long' variable, and we don't support python 2.
('long' is replaced with the just an expanded 'int' in python 3).
@nstelter-slac nstelter-slac merged commit a58c074 into slaclab:master Dec 19, 2024
19 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants