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

Make numpy 2.0 requirement optional. #405

Merged
merged 3 commits into from
Nov 13, 2024
Merged

Make numpy 2.0 requirement optional. #405

merged 3 commits into from
Nov 13, 2024

Conversation

joaander
Copy link
Member

@joaander joaander commented Nov 13, 2024

Description

Raise a RuntimeError in read_log if numpy <2 is installed.

Motivation and Context

satisfy pip check in conda-forge.

How Has This Been Tested?

I downgraded to numpy 1.26 locally. All tests pass except read_log which issues the expected RuntimeError.

Checklist:

  • I have reviewed the Contributor Guidelines.
  • I agree with the terms of the GSD Contributor Agreement.
  • My name is on the list of contributors (doc/credits.rst) in the pull request source branch.
  • I have added a change log entry to CHANGELOG.rst.

@joaander joaander merged commit 9c68687 into trunk-patch Nov 13, 2024
40 checks passed
@joaander joaander deleted the optional-numpy2 branch November 13, 2024 13:40
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.

1 participant