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
This commit is contained in:
yatinkarel 2024-06-19 10:56:39 +05:30
parent 675c130c7a
commit 9327db1522

View File

@ -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