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

Support numpy>=2 #543

Merged
merged 6 commits into from
Oct 28, 2024
Merged

Support numpy>=2 #543

merged 6 commits into from
Oct 28, 2024

Conversation

timmens
Copy link
Member

@timmens timmens commented Oct 25, 2024

  • Make optimagic compatible with numpy>=2
  • Test optimagic with numpy<2 and numpy>=2:
    1. First test is pandas<2 and numpy<2
    2. Second test is pandas>= 2 and numpy<2
    3. Perform all other tests with numpy>=2
  • Pin mypy (should be the same version as used in the pre-commit hook)

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
...imagic/differentiation/richardson_extrapolation.py 90.74% <100.00%> (ø)
src/optimagic/optimizers/_pounders/gqtpar.py 90.54% <100.00%> (ø)
src/optimagic/parameters/kernel_transformations.py 99.17% <100.00%> (ø)

... and 1 file with indirect coverage changes

@timmens timmens requested a review from janosg October 28, 2024 09:15
Copy link
Member

@janosg janosg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@timmens timmens merged commit 86aabfa into main Oct 28, 2024
17 checks passed
@timmens timmens deleted the numpy2 branch October 28, 2024 09:19
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.

2 participants