From 3994aaef33f655c53cae429a89f413bd39726fc2 Mon Sep 17 00:00:00 2001 From: Steffen Schneider Date: Wed, 24 Jun 2026 23:40:27 +0200 Subject: [PATCH 1/2] Bump numpy version on windows --- setup.cfg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 0a1af183..0b4beea9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,8 +29,7 @@ where = python_requires = >=3.10 install_requires = joblib - numpy<2.0;platform_system=="Windows" - numpy;platform_system!="Windows" and python_version>="3.10" + numpy<2.5 literate-dataclasses scikit-learn scipy From fb9efbd5fd19f51f0957e35cd3543d7707bf2647 Mon Sep 17 00:00:00 2001 From: Steffen Schneider Date: Thu, 25 Jun 2026 00:13:17 +0200 Subject: [PATCH 2/2] Fix docs build for numpy 2.5 --- docs/requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index f9fc1663..afff44b1 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -19,4 +19,6 @@ sphinxcontrib-serializinghtml==2.0.0 literate_dataclasses # For IPython.sphinxext.ipython_console_highlighting extension ipython -numpy +# TODO(stes): temporary fix, remove once objects.inv are updated +# see https://github.com/AdaptiveMotorControlLab/CEBRA/issues/303 +numpy<2.5