Skip to content

Commit

Permalink
remove more dependency pins (#3621)
Browse files Browse the repository at this point in the history
Remove `langchain-community>=0.2.5` and `wrapt>=1.14.0` pins and add
`importlib-metadata>=8.5.0` pin
  • Loading branch information
Coniferish authored Sep 13, 2024
1 parent 87a88a3 commit 159b8a9
Show file tree
Hide file tree
Showing 28 changed files with 81 additions and 133 deletions.
6 changes: 2 additions & 4 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ python-oxmsg==0.0.1
# via -r ./base.in
rapidfuzz==3.9.7
# via -r ./base.in
regex==2024.7.24
regex==2024.9.11
# via nltk
requests==2.32.3
# via
Expand Down Expand Up @@ -141,6 +141,4 @@ urllib3==1.26.20
# requests
# unstructured-client
wrapt==1.16.0
# via
# -c ././deps/constraints.txt
# -r ./base.in
# via -r ./base.in
5 changes: 2 additions & 3 deletions requirements/deps/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ tokenizers>=0.19,<0.20
urllib3<1.27
# TODO: Constriant due to aiobotocore, remove when that gets updates:
botocore<1.34.132
# python 3.12 support
wrapt>=1.14.0
langchain-community>=0.2.5
# TODO: Constriant due to both 8.5.0 and 8.4.0 being installed during pip-compile
importlib-metadata>=8.5.0
6 changes: 4 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ filelock==3.16.0
# via virtualenv
identify==2.6.0
# via pre-commit
importlib-metadata==8.4.0
# via build
importlib-metadata==8.5.0
# via
# -c ././deps/constraints.txt
# build
nodeenv==1.9.1
# via pre-commit
packaging==24.1
Expand Down
2 changes: 1 addition & 1 deletion requirements/extra-csv.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ python-dateutil==2.9.0.post0
# via
# -c ./base.txt
# pandas
pytz==2024.1
pytz==2024.2
# via pandas
six==1.16.0
# via
Expand Down
6 changes: 4 additions & 2 deletions requirements/extra-markdown.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
#
# pip-compile ./extra-markdown.in
#
importlib-metadata==8.4.0
# via markdown
importlib-metadata==8.5.0
# via
# -c ././deps/constraints.txt
# markdown
markdown==3.7
# via -r ./extra-markdown.in
zipp==3.20.1
Expand Down
11 changes: 5 additions & 6 deletions requirements/extra-pdf-image.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ grpcio==1.66.1
# grpcio-status
grpcio-status==1.62.3
# via google-api-core
huggingface-hub==0.24.6
huggingface-hub==0.24.7
# via
# timm
# tokenizers
Expand Down Expand Up @@ -176,11 +176,11 @@ protobuf==4.23.4
# onnx
# onnxruntime
# proto-plus
pyasn1==0.6.0
pyasn1==0.6.1
# via
# pyasn1-modules
# rsa
pyasn1-modules==0.4.0
pyasn1-modules==0.4.1
# via google-auth
pycocotools==2.0.8
# via effdet
Expand All @@ -201,7 +201,7 @@ python-dateutil==2.9.0.post0
# pandas
python-multipart==0.0.9
# via unstructured-inference
pytz==2024.1
pytz==2024.2
# via pandas
pyyaml==6.0.2
# via
Expand All @@ -214,7 +214,7 @@ rapidfuzz==3.9.7
# via
# -c ./base.txt
# unstructured-inference
regex==2024.7.24
regex==2024.9.11
# via
# -c ./base.txt
# transformers
Expand Down Expand Up @@ -286,7 +286,6 @@ urllib3==1.26.20
# requests
wrapt==1.16.0
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# deprecated
zipp==3.20.1
Expand Down
2 changes: 1 addition & 1 deletion requirements/extra-xlsx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ python-dateutil==2.9.0.post0
# via
# -c ./base.txt
# pandas
pytz==2024.1
pytz==2024.2
# via pandas
six==1.16.0
# via
Expand Down
4 changes: 2 additions & 2 deletions requirements/huggingface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fsspec==2024.9.0
# via
# huggingface-hub
# torch
huggingface-hub==0.24.6
huggingface-hub==0.24.7
# via
# tokenizers
# transformers
Expand Down Expand Up @@ -62,7 +62,7 @@ pyyaml==6.0.2
# via
# huggingface-hub
# transformers
regex==2024.7.24
regex==2024.9.11
# via
# -c ./base.txt
# sacremoses
Expand Down
87 changes: 21 additions & 66 deletions requirements/ingest/chroma.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,29 @@ anyio==4.4.0
# httpx
# starlette
# watchfiles
asgiref==3.8.1
# via opentelemetry-instrumentation-asgi
backoff==2.2.1
# via
# -c ./ingest/../base.txt
# opentelemetry-exporter-otlp-proto-grpc
# posthog
bcrypt==4.2.0
# via chromadb
build==1.2.2
# via chromadb
cachetools==5.5.0
# via google-auth
certifi==2024.8.30
# via
# -c ./ingest/../base.txt
# httpcore
# httpx
# kubernetes
# pulsar-client
# requests
charset-normalizer==3.3.2
# via
# -c ./ingest/../base.txt
# requests
chroma-hnswlib==0.7.6
chroma-hnswlib==0.7.3
# via chromadb
chromadb==0.5.5
chromadb==0.4.17
# via -r ./ingest/chroma.in
click==8.1.7
# via
Expand All @@ -47,15 +44,12 @@ click==8.1.7
coloredlogs==15.0.1
# via onnxruntime
deprecated==1.2.14
# via
# opentelemetry-api
# opentelemetry-exporter-otlp-proto-grpc
# opentelemetry-semantic-conventions
# via opentelemetry-api
exceptiongroup==1.2.2
# via
# -c ./ingest/../base.txt
# anyio
fastapi==0.114.0
fastapi==0.114.1
# via chromadb
filelock==3.16.0
# via huggingface-hub
Expand All @@ -77,17 +71,9 @@ h11==0.14.0
# -c ./ingest/../base.txt
# httpcore
# uvicorn
httpcore==1.0.5
# via
# -c ./ingest/../base.txt
# httpx
httptools==0.6.1
# via uvicorn
httpx==0.27.2
# via
# -c ./ingest/../base.txt
# chromadb
huggingface-hub==0.24.6
huggingface-hub==0.24.7
# via tokenizers
humanfriendly==10.0
# via coloredlogs
Expand All @@ -97,17 +83,14 @@ idna==3.8
# anyio
# httpx
# requests
importlib-metadata==8.4.0
importlib-metadata==8.5.0
# via
# -c ./ingest/../deps/constraints.txt
# -r ./ingest/chroma.in
# build
# opentelemetry-api
importlib-resources==6.4.5
# via chromadb
kubernetes==30.1.0
# via chromadb
mmh3==4.1.0
# via chromadb
monotonic==1.6
# via posthog
mpmath==1.3.0
Expand All @@ -124,46 +107,21 @@ oauthlib==3.2.2
# requests-oauthlib
onnxruntime==1.19.2
# via chromadb
opentelemetry-api==1.27.0
opentelemetry-api==1.16.0
# via
# chromadb
# opentelemetry-exporter-otlp-proto-grpc
# opentelemetry-instrumentation
# opentelemetry-instrumentation-asgi
# opentelemetry-instrumentation-fastapi
# opentelemetry-sdk
# opentelemetry-semantic-conventions
opentelemetry-exporter-otlp-proto-common==1.27.0
# via opentelemetry-exporter-otlp-proto-grpc
opentelemetry-exporter-otlp-proto-grpc==1.27.0
# via chromadb
opentelemetry-instrumentation==0.48b0
# via
# opentelemetry-instrumentation-asgi
# opentelemetry-instrumentation-fastapi
opentelemetry-instrumentation-asgi==0.48b0
# via opentelemetry-instrumentation-fastapi
opentelemetry-instrumentation-fastapi==0.48b0
opentelemetry-exporter-otlp-proto-grpc==1.16.0
# via chromadb
opentelemetry-proto==1.27.0
# via
# opentelemetry-exporter-otlp-proto-common
# opentelemetry-exporter-otlp-proto-grpc
opentelemetry-sdk==1.27.0
opentelemetry-proto==1.16.0
# via opentelemetry-exporter-otlp-proto-grpc
opentelemetry-sdk==1.16.0
# via
# chromadb
# opentelemetry-exporter-otlp-proto-grpc
opentelemetry-semantic-conventions==0.48b0
# via
# opentelemetry-instrumentation-asgi
# opentelemetry-instrumentation-fastapi
# opentelemetry-sdk
opentelemetry-util-http==0.48b0
# via
# opentelemetry-instrumentation-asgi
# opentelemetry-instrumentation-fastapi
orjson==3.10.7
# via chromadb
opentelemetry-semantic-conventions==0.37b0
# via opentelemetry-sdk
overrides==7.7.0
# via chromadb
packaging==24.1
Expand All @@ -180,11 +138,13 @@ protobuf==4.23.4
# googleapis-common-protos
# onnxruntime
# opentelemetry-proto
pyasn1==0.6.0
pulsar-client==3.5.0
# via chromadb
pyasn1==0.6.1
# via
# pyasn1-modules
# rsa
pyasn1-modules==0.4.0
pyasn1-modules==0.4.1
# via google-auth
pydantic==2.9.1
# via
Expand All @@ -194,8 +154,6 @@ pydantic-core==2.23.3
# via pydantic
pypika==0.48.9
# via chromadb
pyproject-hooks==1.1.0
# via build
python-dateutil==2.9.0.post0
# via
# -c ./ingest/../base.txt
Expand All @@ -212,6 +170,7 @@ pyyaml==6.0.2
requests==2.32.3
# via
# -c ./ingest/../base.txt
# chromadb
# huggingface-hub
# kubernetes
# posthog
Expand Down Expand Up @@ -243,8 +202,6 @@ tokenizers==0.19.1
# via
# -c ./ingest/../deps/constraints.txt
# chromadb
tomli==2.0.1
# via build
tqdm==4.66.5
# via
# -c ./ingest/../base.txt
Expand All @@ -258,7 +215,6 @@ typing-extensions==4.12.2
# via
# -c ./ingest/../base.txt
# anyio
# asgiref
# chromadb
# fastapi
# huggingface-hub
Expand Down Expand Up @@ -287,7 +243,6 @@ websockets==13.0.1
wrapt==1.16.0
# via
# -c ./ingest/../base.txt
# -c ./ingest/../deps/constraints.txt
# deprecated
# opentelemetry-instrumentation
zipp==3.20.1
Expand Down
1 change: 0 additions & 1 deletion requirements/ingest/confluence.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,4 @@ urllib3==1.26.20
wrapt==1.16.0
# via
# -c ./ingest/../base.txt
# -c ./ingest/../deps/constraints.txt
# deprecated
4 changes: 2 additions & 2 deletions requirements/ingest/databricks-volumes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ idna==3.8
# via
# -c ./ingest/../base.txt
# requests
pyasn1==0.6.0
pyasn1==0.6.1
# via
# pyasn1-modules
# rsa
pyasn1-modules==0.4.0
pyasn1-modules==0.4.1
# via google-auth
requests==2.32.3
# via
Expand Down
8 changes: 3 additions & 5 deletions requirements/ingest/embed-aws-bedrock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,15 @@ jsonpointer==3.0.0
langchain==0.2.16
# via langchain-community
langchain-community==0.2.16
# via
# -c ./ingest/../deps/constraints.txt
# -r ./ingest/embed-aws-bedrock.in
langchain-core==0.2.38
# via -r ./ingest/embed-aws-bedrock.in
langchain-core==0.2.39
# via
# langchain
# langchain-community
# langchain-text-splitters
langchain-text-splitters==0.2.4
# via langchain
langsmith==0.1.117
langsmith==0.1.118
# via
# langchain
# langchain-community
Expand Down
Loading

0 comments on commit 159b8a9

Please sign in to comment.