Skip to content

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

Merged
jehsharp merged 6 commits into
sandialabs:developfrom
jehsharp:update_numpy_version_required
Mar 20, 2026
Merged

Working on updating the numpy requirement since v1 is no longer suppo…#327
jehsharp merged 6 commits into
sandialabs:developfrom
jehsharp:update_numpy_version_required

Conversation

@jehsharp
Copy link
Copy Markdown
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.

@jehsharp jehsharp merged commit d65c08f into sandialabs:develop Mar 20, 2026
4 checks passed
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