-
Notifications
You must be signed in to change notification settings - Fork 115
Feature: migrate to numpy v2.0.0 #596
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
9da0fd4
build: remove forcing numpy<2
mrava87 3f9b941
bug: fix linearoperator for numpy2
mrava87 28cc528
test: add safeguards to dtcwt and spgl1 for numpy2
mrava87 59de650
doc: force readthedocs to use numpy<v2
mrava87 85dfc1b
doc: force also test_sparsity
mrava87 599c5ab
tests: disable tests for TorchOperator on darwin os
mrava87 24848c4
minor: change numpy import to suppress depracation warning
mrava87 45b5fbc
minor: different import in Restriction based on numpy version
mrava87 b9618f5
chore: simplify testing logic
cako 734776d
chore: simplify testing logic
cako f8e3323
chore: simplify testing logic
cako 6510207
fix: add warning that NumPy 2 is not supported with dtcwt and spgl1
cako File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
|
@@ -3,5 +3,5 @@ channels: | |
- defaults | ||
dependencies: | ||
- python>=3.6.4 | ||
- numpy>=1.21.0,<2.0.0 | ||
- numpy>=1.21.0 | ||
- scipy>=1.14.0 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,32 @@ | ||
# Currently we force rdt to use numpy<2.0.0 to build the documentation | ||
# since the dtcwt and spgl1 are not yet compatible with numpy=2.0.0 | ||
numpy>=1.21.0,<2.0.0 | ||
scipy>=1.11.0 | ||
--extra-index-url https://download.pytorch.org/whl/cpu | ||
torch>=1.2.0 | ||
numba | ||
pyfftw | ||
PyWavelets | ||
spgl1 | ||
scikit-fmm | ||
sympy | ||
devito | ||
dtcwt | ||
matplotlib | ||
ipython | ||
pytest | ||
pytest-runner | ||
setuptools_scm | ||
docutils<0.18 | ||
Sphinx | ||
pydata-sphinx-theme | ||
sphinx-gallery | ||
numpydoc | ||
nbsphinx | ||
image | ||
pre-commit | ||
autopep8 | ||
isort | ||
black | ||
flake8 | ||
mypy |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.