-
Notifications
You must be signed in to change notification settings - Fork 207
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.0 #3386
base: RELEASE_next_patch
Are you sure you want to change the base?
Support numpy 2.0 #3386
Conversation
…spy exceptions instead of numpy exceptions
…now macos-14 with arm64
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## RELEASE_next_patch #3386 +/- ##
======================================================
+ Coverage 80.62% 80.64% +0.02%
======================================================
Files 146 146
Lines 21918 21921 +3
Branches 5173 5176 +3
======================================================
+ Hits 17671 17678 +7
+ Misses 3029 3026 -3
+ Partials 1218 1217 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks all sensible to me, but maybe a second review would not hurt @francisco-dlp @CSSFrancis
@@ -43,7 +48,7 @@ jobs: | |||
PYTHON_VERSION: '3.11' | |||
PIP_SELECTOR: '[all, tests, coverage]' | |||
- os: macos | |||
os_version: '14' | |||
os_version: '13' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why run on a lower macos version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To test on both architectures currently available on mac: intel and arm.
Now that matplotlib and pint supports numpy 2.0, we can test hyperspy against the pre-release of numpy.
xref hyperspy/hyperspy-extensions-list#56
Progress of the PR
upcoming_changes
folder (seeupcoming_changes/README.rst
),readthedocs
doc build of this PR (link in github checks)