Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Hotfix] pin numpy<2 #720

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

[Hotfix] pin numpy<2 #720

wants to merge 3 commits into from

Conversation

sjoerd-bouma
Copy link
Collaborator

See #695 for discussion

Currently, .nur files generated with numpy 2.* cannot be read in using earlier versions of numpy. This means we cannot guarantee compatibility even between two instances of the same version of NuRadioMC. This PR avoids this issue by pinning numpy<2; in order to switch to numpy 2.*, we will probably have to switch to numpy>=2 in some future release of NuRadioMC in order to maintain cross-compatibility for a fixed NuRadioMC versions.

(This is a proposed hotfix release v2.2.2; if accepted, this should also be merged into develop afterwards)

@fschlueter
Copy link
Collaborator

Can we start converting numpy arrays to lists ?

@fschlueter
Copy link
Collaborator

@sjoerd-bouma the notes from Uppsala say that you wanted to have a look if it is feasable to convert numpy arrays before serialization. Do you think you get around this any time soon?

@sjoerd-bouma
Copy link
Collaborator Author

@sjoerd-bouma the notes from Uppsala say that you wanted to have a look if it is feasable to convert numpy arrays before serialization. Do you think you get around this any time soon?

Probably not before November - if you want to have a look yourself before then feel free.

@fschlueter
Copy link
Collaborator

November is fine with me

@anelles
Copy link
Collaborator

anelles commented Dec 19, 2024

Looks like it is past November now @sjoerd-bouma ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants