-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #281 from ericpre/numpy2.0
Numpy 2
- Loading branch information
Showing
6 changed files
with
34 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,18 +118,31 @@ jobs: | |
pip install git+https://github.com/hyperspy/hyperspy.git | ||
pip install git+https://github.com/hyperspy/exspy.git | ||
- name: Install latest python-box | ||
# When installing hyperspy, python-box 6 is installed (rosettasciio pinning) | ||
# Remove when rosettasciio >0.4.0 is released | ||
if: ${{ ! contains(matrix.LABEL, 'oldest') }} | ||
- name: Install pint and python-mrcz dev | ||
# for numpy 2.0 support for python >= 3.9 | ||
# https://github.com/em-MRCZ/python-mrcz/pull/15 | ||
# https://github.com/hgrecco/pint/issues/1974 | ||
if: ${{ ! contains(matrix.LABEL, 'oldest') && matrix.PYTHON_VERSION != '3.8' }} | ||
run: | | ||
pip install --upgrade python-box | ||
pip install git+https://github.com/ericpre/[email protected]_and_deprecation_fixes | ||
pip install git+https://github.com/hgrecco/pint | ||
- name: Install | ||
shell: bash | ||
run: | | ||
pip install --upgrade -e .'${{ env.PIP_SELECTOR }}' | ||
- name: Uninstall pyUSID | ||
# remove when pyUSID supports numpy 2 | ||
if: ${{ ! contains(matrix.LABEL, 'oldest') && matrix.PYTHON_VERSION != '3.8' }} | ||
run: | | ||
pip uninstall -y pyUSID | ||
- name: Install numpy 2.0 | ||
if: ${{ ! contains(matrix.LABEL, 'oldest') && matrix.PYTHON_VERSION != '3.8' }} | ||
run: | | ||
pip install numpy==2 | ||
- name: Pip list | ||
run: | | ||
pip list | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for numpy 2 in Renishaw, Semper and Dens reader. |