Skip to content

Commit

Permalink
Pin numpy version to < 2.0.0
Browse files Browse the repository at this point in the history
numpy 2.0.0 API causes the assert tests to fail. To temporary fix this
we pin numpy to < 2.0.0. We will solve this in a dedicated PR. See issue
#48
  • Loading branch information
agoscinski committed Jul 1, 2024
1 parent 12dd0eb commit 78e464e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ classifiers = [
]
dependencies = [
"ipywidgets>=8.0.0",
"numpy",
"numpy<2.0.0",
"widget_code_input",
"matplotlib",
"termcolor"
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ deps =
imageio
# we fix matplotlib for consistent image tests
matplotlib==3.7.2
numpy
numpy<2.0.0
scikit-image
ipympl
commands =
Expand Down Expand Up @@ -67,7 +67,7 @@ deps =
imageio
# we fix matplotlib for consistent image tests
matplotlib==3.7.2
numpy
numpy<2.0.0
scikit-image
ipympl
commands =
Expand Down

0 comments on commit 78e464e

Please sign in to comment.