From b3161f6451c8168a28a3ec472c6b0aef2ef4d497 Mon Sep 17 00:00:00 2001 From: Tom Pollard Date: Wed, 3 Jul 2024 14:05:55 -0400 Subject: [PATCH] Set upper bound on Numpy version. Ref #493. Numpy v2 introduces a breaking change for WFDB https://numpy.org/devdocs/numpy_2_0_migration_guide.html#changes-to-numpy-data-type-promotion. Set an upper bound on the Numpy version until the issue has been addressed. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 406cf72f..0b7822c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ license = "MIT" [tool.poetry.dependencies] python = ">=3.7" -numpy = ">=1.10.1" +numpy = ">=1.10.1,<2.0.0" scipy = ">=1.0.0" pandas = ">=1.3.0" SoundFile = ">=0.10.0"