From 46a43544d0c1cc6b9fb78eba5d19ee2105f90d31 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 24 Oct 2024 10:06:41 +0200 Subject: [PATCH] Re-add numpy 2 support --- requirements/audio.txt | 1 + requirements/base.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements/audio.txt b/requirements/audio.txt index 98942ecb6a2..670e3fed77d 100644 --- a/requirements/audio.txt +++ b/requirements/audio.txt @@ -3,6 +3,7 @@ # this need to be the same as used inside speechmetrics pesq >=0.0.4, <0.0.5 +numpy <2.0 # strict, for compatibility reasons pystoi >=0.4.0, <0.5.0 torchaudio >=2.0.1, <2.6.0 gammatone >=1.0.0, <1.1.0 diff --git a/requirements/base.txt b/requirements/base.txt index 99358b80ddc..669e36d9f6d 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,7 +1,7 @@ # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package # in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment -numpy >1.20.0, <2.0 # strict, for compatibility reasons +numpy >1.20.0 packaging >17.1 torch >=2.0.0, <2.6.0 typing-extensions; python_version < '3.9'