Skip to content

Commit 78e464e

Browse files
committed
Pin numpy version to < 2.0.0
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
1 parent 12dd0eb commit 78e464e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ classifiers = [
2929
]
3030
dependencies = [
3131
"ipywidgets>=8.0.0",
32-
"numpy",
32+
"numpy<2.0.0",
3333
"widget_code_input",
3434
"matplotlib",
3535
"termcolor"

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ deps =
3535
imageio
3636
# we fix matplotlib for consistent image tests
3737
matplotlib==3.7.2
38-
numpy
38+
numpy<2.0.0
3939
scikit-image
4040
ipympl
4141
commands =
@@ -67,7 +67,7 @@ deps =
6767
imageio
6868
# we fix matplotlib for consistent image tests
6969
matplotlib==3.7.2
70-
numpy
70+
numpy<2.0.0
7171
scikit-image
7272
ipympl
7373
commands =

0 commit comments

Comments
 (0)