Skip to content

Commit f99279e

Browse files
committed
[CHORE] unpin fastapi, move to dev dependency
1 parent d641cde commit f99279e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ description = "Chroma."
77
readme = "README.md"
88
requires-python = ">=3.9"
99
classifiers = ["Programming Language :: Python :: 3", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent"]
10-
dependencies = ['build >= 1.0.3', 'pydantic >= 1.9', 'fastapi==0.115.9', 'uvicorn[standard] >= 0.18.3', 'numpy >= 1.22.5', 'posthog >= 2.4.0', 'typing_extensions >= 4.5.0', 'onnxruntime >= 1.14.1', 'opentelemetry-api>=1.2.0', 'opentelemetry-exporter-otlp-proto-grpc>=1.2.0', 'opentelemetry-instrumentation-fastapi>=0.41b0', 'opentelemetry-sdk>=1.2.0', 'tokenizers >= 0.13.2', 'pypika >= 0.48.9', 'tqdm >= 4.65.0', 'overrides >= 7.3.1', 'importlib-resources', 'graphlib_backport >= 1.0.3; python_version < "3.9"', 'grpcio >= 1.58.0', 'bcrypt >= 4.0.1', 'typer >= 0.9.0', 'kubernetes>=28.1.0', 'tenacity>=8.2.3', 'PyYAML>=6.0.0', 'mmh3>=4.0.1', 'orjson>=3.9.12', 'httpx>=0.27.0', 'rich>=10.11.0', 'jsonschema>=4.19.0']
10+
dependencies = ['build >= 1.0.3', 'pydantic >= 1.9', 'uvicorn[standard] >= 0.18.3', 'numpy >= 1.22.5', 'posthog >= 2.4.0', 'typing_extensions >= 4.5.0', 'onnxruntime >= 1.14.1', 'opentelemetry-api>=1.2.0', 'opentelemetry-exporter-otlp-proto-grpc>=1.2.0', 'opentelemetry-sdk>=1.2.0', 'tokenizers >= 0.13.2', 'pypika >= 0.48.9', 'tqdm >= 4.65.0', 'overrides >= 7.3.1', 'importlib-resources', 'graphlib_backport >= 1.0.3; python_version < "3.9"', 'grpcio >= 1.58.0', 'bcrypt >= 4.0.1', 'typer >= 0.9.0', 'kubernetes>=28.1.0', 'tenacity>=8.2.3', 'PyYAML>=6.0.0', 'mmh3>=4.0.1', 'orjson>=3.9.12', 'httpx>=0.27.0', 'rich>=10.11.0', 'jsonschema>=4.19.0']
1111

1212
[project.optional-dependencies]
13-
dev = ['chroma-hnswlib==0.7.6']
13+
dev = ['chroma-hnswlib==0.7.6', 'fastapi>=0.115.9', 'opentelemetry-instrumentation-fastapi>=0.41b0']
1414

1515
[tool.black]
1616
line-length = 88

requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
bcrypt>=4.0.1
2-
fastapi==0.115.9
32
graphlib_backport==1.0.3; python_version < '3.9'
43
grpcio>=1.58.0
54
httpx>=0.27.0
@@ -11,7 +10,6 @@ numpy>=1.22.5
1110
onnxruntime>=1.14.1
1211
opentelemetry-api>=1.24.0
1312
opentelemetry-exporter-otlp-proto-grpc>=1.24.0
14-
opentelemetry-instrumentation-fastapi>=0.41b0
1513
opentelemetry-sdk>=1.24.0
1614
orjson>=3.9.12
1715
overrides>=7.3.1

requirements_dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
black==23.3.0 # match what's in pyproject.toml
22
build
33
chroma-hnswlib==0.7.6
4+
fastapi>=0.115.9
45
grpcio-tools==1.67.1 # Later version not compatible with protobuf 4.25.5
56
httpx
67
hypothesis==6.112.2 # TODO: Resolve breaking changes and bump version
78
hypothesis[numpy]==6.112.2 # TODO: Resolve breaking changes and bump version
89
mypy-protobuf
10+
opentelemetry-instrumentation-fastapi>=0.41b0
911
pandas
1012
pre-commit
1113
protobuf==5.28.0 # Later version not compatible with opentelemetry 1.27.0

0 commit comments

Comments
 (0)