From 78e464e1514c300066ab51cee6498951efa2dc15 Mon Sep 17 00:00:00 2001 From: Alexander Goscinski Date: Thu, 27 Jun 2024 23:50:25 +0200 Subject: [PATCH] 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 https://github.com/osscar-org/scicode-widgets/issues/48 --- pyproject.toml | 2 +- tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ff9c04c..db2f468 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ classifiers = [ ] dependencies = [ "ipywidgets>=8.0.0", - "numpy", + "numpy<2.0.0", "widget_code_input", "matplotlib", "termcolor" diff --git a/tox.ini b/tox.ini index bedf882..4256ae2 100644 --- a/tox.ini +++ b/tox.ini @@ -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 = @@ -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 =