Skip to content

Working on updating the numpy requirement since v1 is no longer suppo…#327

Open
jehsharp wants to merge 3 commits intosandialabs:developfrom
jehsharp:update_numpy_version_required
Open

Working on updating the numpy requirement since v1 is no longer suppo…#327
jehsharp wants to merge 3 commits intosandialabs:developfrom
jehsharp:update_numpy_version_required

Conversation

@jehsharp
Copy link
Collaborator

@jehsharp jehsharp commented Feb 6, 2026

Purpose

The purpose of this PR is to build off of Alex's work on updating code to be compliant with NumPy 2.0 and above. Changing np.float_ to np.float64 does not break backwards capabilities, as np.float64 is valid and works also in NumPy 1.0.

Summary of changes

Updated the last 3 instances of np.float_ to np.float64 and updated the NumPy requirement in requirements.txt.

Implementation notes

Please describe any relevant implementation details for reviewers, e.g. how correctness was verified.

Submission checklist

  • Target branch is develop, not main
  • Existing tests are updated or new tests were added
  • opencsp/test/test_DocStringsExist.py are verified to include this change or have been updated accordingly
  • .rst file(s) under doc/ are verified to include this change or have been updated accordingly

Additional information

Please provide any additional information here.

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