Skip to content

Commit

Permalink
[CLN]: Numpy version alignment (#1422)
Browse files Browse the repository at this point in the history
## Description of changes

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
	 - Aligned requirements.txt and pyproject.toml to use 1.22.5 of numpy
	 - Removed version specifiers as we now only support python 3.8+
	 - Aligned python client pyproject.toml with numpy version 1.22.5

## Test plan
*How are these changes tested?*

- [x] Tests pass locally with `pytest` for python

## Documentation Changes
N/A
  • Loading branch information
tazarov authored Nov 24, 2023
1 parent 65f3bb9 commit 4d0e966
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clients/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ classifiers = [
dependencies = [
'requests >= 2.28',
'pydantic>=1.9,<2.0',
'numpy >= 1.21.6',
'numpy >= 1.22.5',
'posthog >= 2.4.0',
'typing_extensions >= 4.5.0',
'overrides >= 7.3.1',
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ dependencies = [
'chroma-hnswlib==0.7.3',
'fastapi >= 0.95.2',
'uvicorn[standard] >= 0.18.3',
'numpy == 1.21.6; python_version < "3.8"',
'numpy >= 1.22.5; python_version >= "3.8"',
'numpy >= 1.22.5',
'posthog >= 2.4.0',
'typing_extensions >= 4.5.0',
'pulsar-client>=3.1.0',
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ grpcio>=1.58.0
importlib-resources
kubernetes>=28.1.0
mmh3>=4.0.1
numpy==1.21.6; python_version < '3.8'
numpy>=1.22.4; python_version >= '3.8'
numpy>=1.22.5
onnxruntime>=1.14.1
opentelemetry-api>=1.2.0
opentelemetry-exporter-otlp-proto-grpc>=1.2.0
Expand Down

0 comments on commit 4d0e966

Please sign in to comment.