Skip to content

Commit 159b8a9

Browse files
authored
remove more dependency pins (#3621)
Remove `langchain-community>=0.2.5` and `wrapt>=1.14.0` pins and add `importlib-metadata>=8.5.0` pin
1 parent 87a88a3 commit 159b8a9

28 files changed

+81
-133
lines changed

Diff for: requirements/base.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ python-oxmsg==0.0.1
9494
# via -r ./base.in
9595
rapidfuzz==3.9.7
9696
# via -r ./base.in
97-
regex==2024.7.24
97+
regex==2024.9.11
9898
# via nltk
9999
requests==2.32.3
100100
# via
@@ -141,6 +141,4 @@ urllib3==1.26.20
141141
# requests
142142
# unstructured-client
143143
wrapt==1.16.0
144-
# via
145-
# -c ././deps/constraints.txt
146-
# -r ./base.in
144+
# via -r ./base.in

Diff for: requirements/deps/constraints.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@ tokenizers>=0.19,<0.20
1313
urllib3<1.27
1414
# TODO: Constriant due to aiobotocore, remove when that gets updates:
1515
botocore<1.34.132
16-
# python 3.12 support
17-
wrapt>=1.14.0
18-
langchain-community>=0.2.5
16+
# TODO: Constriant due to both 8.5.0 and 8.4.0 being installed during pip-compile
17+
importlib-metadata>=8.5.0

Diff for: requirements/dev.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ filelock==3.16.0
1919
# via virtualenv
2020
identify==2.6.0
2121
# via pre-commit
22-
importlib-metadata==8.4.0
23-
# via build
22+
importlib-metadata==8.5.0
23+
# via
24+
# -c ././deps/constraints.txt
25+
# build
2426
nodeenv==1.9.1
2527
# via pre-commit
2628
packaging==24.1

Diff for: requirements/extra-csv.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ python-dateutil==2.9.0.post0
1414
# via
1515
# -c ./base.txt
1616
# pandas
17-
pytz==2024.1
17+
pytz==2024.2
1818
# via pandas
1919
six==1.16.0
2020
# via

Diff for: requirements/extra-markdown.txt

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
#
55
# pip-compile ./extra-markdown.in
66
#
7-
importlib-metadata==8.4.0
8-
# via markdown
7+
importlib-metadata==8.5.0
8+
# via
9+
# -c ././deps/constraints.txt
10+
# markdown
911
markdown==3.7
1012
# via -r ./extra-markdown.in
1113
zipp==3.20.1

Diff for: requirements/extra-pdf-image.txt

+5-6
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ grpcio==1.66.1
6363
# grpcio-status
6464
grpcio-status==1.62.3
6565
# via google-api-core
66-
huggingface-hub==0.24.6
66+
huggingface-hub==0.24.7
6767
# via
6868
# timm
6969
# tokenizers
@@ -176,11 +176,11 @@ protobuf==4.23.4
176176
# onnx
177177
# onnxruntime
178178
# proto-plus
179-
pyasn1==0.6.0
179+
pyasn1==0.6.1
180180
# via
181181
# pyasn1-modules
182182
# rsa
183-
pyasn1-modules==0.4.0
183+
pyasn1-modules==0.4.1
184184
# via google-auth
185185
pycocotools==2.0.8
186186
# via effdet
@@ -201,7 +201,7 @@ python-dateutil==2.9.0.post0
201201
# pandas
202202
python-multipart==0.0.9
203203
# via unstructured-inference
204-
pytz==2024.1
204+
pytz==2024.2
205205
# via pandas
206206
pyyaml==6.0.2
207207
# via
@@ -214,7 +214,7 @@ rapidfuzz==3.9.7
214214
# via
215215
# -c ./base.txt
216216
# unstructured-inference
217-
regex==2024.7.24
217+
regex==2024.9.11
218218
# via
219219
# -c ./base.txt
220220
# transformers
@@ -286,7 +286,6 @@ urllib3==1.26.20
286286
# requests
287287
wrapt==1.16.0
288288
# via
289-
# -c ././deps/constraints.txt
290289
# -c ./base.txt
291290
# deprecated
292291
zipp==3.20.1

Diff for: requirements/extra-xlsx.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ python-dateutil==2.9.0.post0
2020
# via
2121
# -c ./base.txt
2222
# pandas
23-
pytz==2024.1
23+
pytz==2024.2
2424
# via pandas
2525
six==1.16.0
2626
# via

Diff for: requirements/huggingface.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fsspec==2024.9.0
2525
# via
2626
# huggingface-hub
2727
# torch
28-
huggingface-hub==0.24.6
28+
huggingface-hub==0.24.7
2929
# via
3030
# tokenizers
3131
# transformers
@@ -62,7 +62,7 @@ pyyaml==6.0.2
6262
# via
6363
# huggingface-hub
6464
# transformers
65-
regex==2024.7.24
65+
regex==2024.9.11
6666
# via
6767
# -c ./base.txt
6868
# sacremoses

Diff for: requirements/ingest/chroma.txt

+21-66
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,29 @@ anyio==4.4.0
1212
# httpx
1313
# starlette
1414
# watchfiles
15-
asgiref==3.8.1
16-
# via opentelemetry-instrumentation-asgi
1715
backoff==2.2.1
1816
# via
1917
# -c ./ingest/../base.txt
18+
# opentelemetry-exporter-otlp-proto-grpc
2019
# posthog
2120
bcrypt==4.2.0
2221
# via chromadb
23-
build==1.2.2
24-
# via chromadb
2522
cachetools==5.5.0
2623
# via google-auth
2724
certifi==2024.8.30
2825
# via
2926
# -c ./ingest/../base.txt
30-
# httpcore
3127
# httpx
3228
# kubernetes
29+
# pulsar-client
3330
# requests
3431
charset-normalizer==3.3.2
3532
# via
3633
# -c ./ingest/../base.txt
3734
# requests
38-
chroma-hnswlib==0.7.6
35+
chroma-hnswlib==0.7.3
3936
# via chromadb
40-
chromadb==0.5.5
37+
chromadb==0.4.17
4138
# via -r ./ingest/chroma.in
4239
click==8.1.7
4340
# via
@@ -47,15 +44,12 @@ click==8.1.7
4744
coloredlogs==15.0.1
4845
# via onnxruntime
4946
deprecated==1.2.14
50-
# via
51-
# opentelemetry-api
52-
# opentelemetry-exporter-otlp-proto-grpc
53-
# opentelemetry-semantic-conventions
47+
# via opentelemetry-api
5448
exceptiongroup==1.2.2
5549
# via
5650
# -c ./ingest/../base.txt
5751
# anyio
58-
fastapi==0.114.0
52+
fastapi==0.114.1
5953
# via chromadb
6054
filelock==3.16.0
6155
# via huggingface-hub
@@ -77,17 +71,9 @@ h11==0.14.0
7771
# -c ./ingest/../base.txt
7872
# httpcore
7973
# uvicorn
80-
httpcore==1.0.5
81-
# via
82-
# -c ./ingest/../base.txt
83-
# httpx
8474
httptools==0.6.1
8575
# via uvicorn
86-
httpx==0.27.2
87-
# via
88-
# -c ./ingest/../base.txt
89-
# chromadb
90-
huggingface-hub==0.24.6
76+
huggingface-hub==0.24.7
9177
# via tokenizers
9278
humanfriendly==10.0
9379
# via coloredlogs
@@ -97,17 +83,14 @@ idna==3.8
9783
# anyio
9884
# httpx
9985
# requests
100-
importlib-metadata==8.4.0
86+
importlib-metadata==8.5.0
10187
# via
88+
# -c ./ingest/../deps/constraints.txt
10289
# -r ./ingest/chroma.in
103-
# build
104-
# opentelemetry-api
10590
importlib-resources==6.4.5
10691
# via chromadb
10792
kubernetes==30.1.0
10893
# via chromadb
109-
mmh3==4.1.0
110-
# via chromadb
11194
monotonic==1.6
11295
# via posthog
11396
mpmath==1.3.0
@@ -124,46 +107,21 @@ oauthlib==3.2.2
124107
# requests-oauthlib
125108
onnxruntime==1.19.2
126109
# via chromadb
127-
opentelemetry-api==1.27.0
110+
opentelemetry-api==1.16.0
128111
# via
129112
# chromadb
130113
# opentelemetry-exporter-otlp-proto-grpc
131-
# opentelemetry-instrumentation
132-
# opentelemetry-instrumentation-asgi
133-
# opentelemetry-instrumentation-fastapi
134114
# opentelemetry-sdk
135-
# opentelemetry-semantic-conventions
136-
opentelemetry-exporter-otlp-proto-common==1.27.0
137-
# via opentelemetry-exporter-otlp-proto-grpc
138-
opentelemetry-exporter-otlp-proto-grpc==1.27.0
139-
# via chromadb
140-
opentelemetry-instrumentation==0.48b0
141-
# via
142-
# opentelemetry-instrumentation-asgi
143-
# opentelemetry-instrumentation-fastapi
144-
opentelemetry-instrumentation-asgi==0.48b0
145-
# via opentelemetry-instrumentation-fastapi
146-
opentelemetry-instrumentation-fastapi==0.48b0
115+
opentelemetry-exporter-otlp-proto-grpc==1.16.0
147116
# via chromadb
148-
opentelemetry-proto==1.27.0
149-
# via
150-
# opentelemetry-exporter-otlp-proto-common
151-
# opentelemetry-exporter-otlp-proto-grpc
152-
opentelemetry-sdk==1.27.0
117+
opentelemetry-proto==1.16.0
118+
# via opentelemetry-exporter-otlp-proto-grpc
119+
opentelemetry-sdk==1.16.0
153120
# via
154121
# chromadb
155122
# opentelemetry-exporter-otlp-proto-grpc
156-
opentelemetry-semantic-conventions==0.48b0
157-
# via
158-
# opentelemetry-instrumentation-asgi
159-
# opentelemetry-instrumentation-fastapi
160-
# opentelemetry-sdk
161-
opentelemetry-util-http==0.48b0
162-
# via
163-
# opentelemetry-instrumentation-asgi
164-
# opentelemetry-instrumentation-fastapi
165-
orjson==3.10.7
166-
# via chromadb
123+
opentelemetry-semantic-conventions==0.37b0
124+
# via opentelemetry-sdk
167125
overrides==7.7.0
168126
# via chromadb
169127
packaging==24.1
@@ -180,11 +138,13 @@ protobuf==4.23.4
180138
# googleapis-common-protos
181139
# onnxruntime
182140
# opentelemetry-proto
183-
pyasn1==0.6.0
141+
pulsar-client==3.5.0
142+
# via chromadb
143+
pyasn1==0.6.1
184144
# via
185145
# pyasn1-modules
186146
# rsa
187-
pyasn1-modules==0.4.0
147+
pyasn1-modules==0.4.1
188148
# via google-auth
189149
pydantic==2.9.1
190150
# via
@@ -194,8 +154,6 @@ pydantic-core==2.23.3
194154
# via pydantic
195155
pypika==0.48.9
196156
# via chromadb
197-
pyproject-hooks==1.1.0
198-
# via build
199157
python-dateutil==2.9.0.post0
200158
# via
201159
# -c ./ingest/../base.txt
@@ -212,6 +170,7 @@ pyyaml==6.0.2
212170
requests==2.32.3
213171
# via
214172
# -c ./ingest/../base.txt
173+
# chromadb
215174
# huggingface-hub
216175
# kubernetes
217176
# posthog
@@ -243,8 +202,6 @@ tokenizers==0.19.1
243202
# via
244203
# -c ./ingest/../deps/constraints.txt
245204
# chromadb
246-
tomli==2.0.1
247-
# via build
248205
tqdm==4.66.5
249206
# via
250207
# -c ./ingest/../base.txt
@@ -258,7 +215,6 @@ typing-extensions==4.12.2
258215
# via
259216
# -c ./ingest/../base.txt
260217
# anyio
261-
# asgiref
262218
# chromadb
263219
# fastapi
264220
# huggingface-hub
@@ -287,7 +243,6 @@ websockets==13.0.1
287243
wrapt==1.16.0
288244
# via
289245
# -c ./ingest/../base.txt
290-
# -c ./ingest/../deps/constraints.txt
291246
# deprecated
292247
# opentelemetry-instrumentation
293248
zipp==3.20.1

Diff for: requirements/ingest/confluence.txt

-1
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,4 @@ urllib3==1.26.20
5353
wrapt==1.16.0
5454
# via
5555
# -c ./ingest/../base.txt
56-
# -c ./ingest/../deps/constraints.txt
5756
# deprecated

Diff for: requirements/ingest/databricks-volumes.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ idna==3.8
2222
# via
2323
# -c ./ingest/../base.txt
2424
# requests
25-
pyasn1==0.6.0
25+
pyasn1==0.6.1
2626
# via
2727
# pyasn1-modules
2828
# rsa
29-
pyasn1-modules==0.4.0
29+
pyasn1-modules==0.4.1
3030
# via google-auth
3131
requests==2.32.3
3232
# via

Diff for: requirements/ingest/embed-aws-bedrock.txt

+3-5
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,15 @@ jsonpointer==3.0.0
8383
langchain==0.2.16
8484
# via langchain-community
8585
langchain-community==0.2.16
86-
# via
87-
# -c ./ingest/../deps/constraints.txt
88-
# -r ./ingest/embed-aws-bedrock.in
89-
langchain-core==0.2.38
86+
# via -r ./ingest/embed-aws-bedrock.in
87+
langchain-core==0.2.39
9088
# via
9189
# langchain
9290
# langchain-community
9391
# langchain-text-splitters
9492
langchain-text-splitters==0.2.4
9593
# via langchain
96-
langsmith==0.1.117
94+
langsmith==0.1.118
9795
# via
9896
# langchain
9997
# langchain-community

0 commit comments

Comments
 (0)