From 9327db15226eb440aa7ff78edd3e95a956d575c4 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Wed, 19 Jun 2024 10:56:39 +0530 Subject: [PATCH] Pin numpy<2.0.0 New numpy-2.0.0 release not compatible with used elasticsearch version, since elasticsearch is pinned also need to add upper cap for numpy to avoid the issue. With numpy-2.0.0 it fails like:- AttributeError: `np.float_` was removed in the NumPy 2.0 release. Use `np.float64` instead. Change-Id: I8fd5a52ffad24ca3d90c6169574f08ddedb801e4 --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index e477e095b..a5f0670cb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ # buggy minor version (!=) or capping (<) once you have proof it breaks. ansible>=2.4.1 elasticsearch==7.13 +numpy<2.0.0 pyrsistent==0.16.0;python_version<'3' pyrsistent>=0.17.0;python_version>='3' grafyaml>=0.0.7