From 7ab4f0f30d1f45fc6b4bcac9fbbcf19cf9bd1aee Mon Sep 17 00:00:00 2001 From: saimedhi Date: Mon, 17 Jun 2024 11:50:50 -0700 Subject: [PATCH] fixed Signed-off-by: saimedhi --- dev-requirements.txt | 5 ++--- test_opensearchpy/test_serializer.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 580ed7ee9..979bc04a5 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -11,9 +11,8 @@ deepmerge Events setuptools -# No wheels for Python 3.10 yet! -numpy; python_version<"3.10" -pandas; python_version<"3.10" +numpy; python_version<="3.12" +pandas; python_version<="3.12" pyyaml>=5.4 diff --git a/test_opensearchpy/test_serializer.py b/test_opensearchpy/test_serializer.py index 524887d03..763075807 100644 --- a/test_opensearchpy/test_serializer.py +++ b/test_opensearchpy/test_serializer.py @@ -106,7 +106,7 @@ def test_serializes_numpy_floats(self) -> None: ser = JSONSerializer() for np_type in ( - np.float_, + np.float64, np.float32, np.float64, ):