diff --git a/clients/python/pyproject.toml b/clients/python/pyproject.toml index edd0c00d7cf..028d8fd1824 100644 --- a/clients/python/pyproject.toml +++ b/clients/python/pyproject.toml @@ -15,7 +15,7 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - 'numpy >= 1.22.5', + 'numpy >= 1.22.5, < 2.0.0', 'opentelemetry-api>=1.2.0', 'opentelemetry-exporter-otlp-proto-grpc>=1.2.0', 'opentelemetry-sdk>=1.2.0', diff --git a/clients/python/requirements.txt b/clients/python/requirements.txt index e386659d3d9..057af2f963c 100644 --- a/clients/python/requirements.txt +++ b/clients/python/requirements.txt @@ -1,4 +1,4 @@ -numpy >= 1.22.5 +numpy >= 1.22.5, < 2.0.0 opentelemetry-api>=1.2.0 opentelemetry-exporter-otlp-proto-grpc>=1.2.0 opentelemetry-sdk>=1.2.0 diff --git a/pyproject.toml b/pyproject.toml index 9216f24e909..f4e35264e03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dependencies = [ 'chroma-hnswlib==0.7.3', 'fastapi >= 0.95.2', 'uvicorn[standard] >= 0.18.3', - 'numpy >= 1.22.5', + 'numpy >= 1.22.5, < 2.0.0', 'posthog >= 2.4.0', 'typing_extensions >= 4.5.0', 'onnxruntime >= 1.14.1', diff --git a/requirements.txt b/requirements.txt index b3cdf5d873b..413ae4b3cbd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ httpx>=0.27.0 importlib-resources kubernetes>=28.1.0 mmh3>=4.0.1 -numpy>=1.22.5 +numpy>=1.22.5, <2.0.0 onnxruntime>=1.14.1 opentelemetry-api>=1.2.0 opentelemetry-exporter-otlp-proto-grpc>=1.24.0