Skip to content

Numpy2 upgrade#401

Open
johnbdesanto wants to merge 5 commits intoseafloor-geodesy:mainfrom
johnbdesanto:numpy2_upgrade
Open

Numpy2 upgrade#401
johnbdesanto wants to merge 5 commits intoseafloor-geodesy:mainfrom
johnbdesanto:numpy2_upgrade

Conversation

@johnbdesanto
Copy link
Collaborator

This PR updates the gnatss dependencies to integrate compatibility with Numpy version 2. It has been built and tested with pixi, successfully resolving dependencies for:

-python 3.10.19
-python 3.11.0
-python 3.12.0
-python 3.13.0

Multiple tests failed for a build created using python 3.10.0 due to a conflicted with a later version of hypothesis. We may have to consider retiring python 3.10 compatibility in a future update, but for now it should work for python>=3.10.19.

By happenstance, this PR also includes a pixi task to run the pytest infrastructure. This conflicts with PR #398.

I have left the commented code in the toml file describing the test environment for verifying the numpy v2 dependencies. This should be removed before merging this PR.

@johnbdesanto
Copy link
Collaborator Author

The build_docs check was failing due to a conflict, the doc wanted python <=3.10.17 but I had set 3.10.19 as the minimum requirement. To resolve this, I tested a build with python 3.10.17 that passed all tests, so I have relaxed the requirement.

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.35%. Comparing base (2b2e161) to head (c9ad25b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #401   +/-   ##
=======================================
  Coverage   76.35%   76.35%           
=======================================
  Files          29       29           
  Lines        1793     1793           
=======================================
  Hits         1369     1369           
  Misses        424      424           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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