Skip to content

Commit ddb6cb6

Browse files
authored
chore: remove minimum version pins for pins older than 6 mo (#3577)
Remove a number of pins in `requirements/deps/constraints.txt` and `make pip-compile`
1 parent f440eb4 commit ddb6cb6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+162
-149
lines changed

Diff for: requirements/base.txt

+3-6
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ beautifulsoup4==4.12.3
1212
# via -r ./base.in
1313
certifi==2024.7.4
1414
# via
15-
# -c ././deps/constraints.txt
1615
# httpcore
1716
# httpx
1817
# requests
@@ -29,7 +28,7 @@ dataclasses-json==0.6.7
2928
# via
3029
# -r ./base.in
3130
# unstructured-client
32-
deepdiff==7.0.1
31+
deepdiff==8.0.1
3332
# via unstructured-client
3433
emoji==2.12.1
3534
# via -r ./base.in
@@ -71,7 +70,7 @@ nltk==3.9.1
7170
# via -r ./base.in
7271
numpy==1.26.4
7372
# via -r ./base.in
74-
ordered-set==4.1.0
73+
orderly-set==5.2.2
7574
# via deepdiff
7675
packaging==24.1
7776
# via
@@ -128,9 +127,7 @@ typing-inspect==0.9.0
128127
# dataclasses-json
129128
# unstructured-client
130129
unstructured-client==0.25.5
131-
# via
132-
# -c ././deps/constraints.txt
133-
# -r ./base.in
130+
# via -r ./base.in
134131
urllib3==1.26.19
135132
# via
136133
# -c ././deps/constraints.txt

Diff for: requirements/deps/constraints.txt

-17
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,14 @@
55
####################################################################################################
66
# consistency with local-inference-pin
77
protobuf<4.24
8-
# NOTE(robinson) - Required pins for security scans
9-
jupyter-core>=4.11.2
10-
wheel>=0.38.1
11-
# NOTE(robinson) - The following pins are to address
12-
# vulnerabilities in dependency scans
13-
certifi>=2023.7.22
148
grpcio>=1.65.5
159
# NOTE(alan) Pinned to avoid error that occurs with 2.4.3:
1610
# AttributeError: 'ResourcePath' object has no attribute 'collection'
1711
Office365-REST-Python-Client<2.4.3
18-
# NOTE(trevor) `unstructured-inference` is set in extra-pdf-image.in to allow
19-
# unstructured-inference to be upgraded when unstructured library is upgraded
20-
# https://github.com/Unstructured-IO/unstructured/issues/1458
21-
# unstructured-inference
2212
# use the known compatible version of weaviate
2313
weaviate-client>3.25.0
2414
# TODO: Pinned in transformers package, remove when that gets updated
2515
tokenizers>=0.19,<0.20
26-
# NOTE(crag): earlier versions fail in compilation step when pip installing the package
27-
pycocotools>=2.0.7
28-
# NOTE(crag): python3.8-python3.11 compat (if it ends up being required)
29-
torch>2
3016
platformdirs==3.10.0
3117

3218
# TODO: Constaint due to boto, with python before 3.10 not requiring openssl 1.1.1, remove when that gets
@@ -36,9 +22,6 @@ urllib3<1.27
3622
# TODO: Constriant due to aiobotocore, remove when that gets updates:
3723
botocore<1.34.132
3824

39-
# NOTE(jennings): pinned due to older versions not supporting api_key_auth in UnstructuredClient
40-
unstructured-client>=0.15.1
41-
4225
# python 3.12 support
4326
wrapt>=1.14.0
4427

Diff for: requirements/dev.txt

+57-21
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ anyio==4.4.0
88
# via
99
# -c ./base.txt
1010
# -c ./test.txt
11+
# httpx
1112
# jupyter-server
1213
appnope==0.1.4
1314
# via ipykernel
@@ -23,6 +24,8 @@ attrs==24.2.0
2324
# via
2425
# -c ./test.txt
2526
# jsonschema
27+
babel==2.16.0
28+
# via jupyterlab-server
2629
beautifulsoup4==4.12.3
2730
# via
2831
# -c ./base.txt
@@ -31,10 +34,21 @@ bleach==6.1.0
3134
# via nbconvert
3235
build==1.2.1
3336
# via pip-tools
37+
certifi==2024.7.4
38+
# via
39+
# -c ./base.txt
40+
# -c ./test.txt
41+
# httpx
42+
# requests
3443
cffi==1.17.0
3544
# via argon2-cffi-bindings
3645
cfgv==3.4.0
3746
# via pre-commit
47+
charset-normalizer==3.3.2
48+
# via
49+
# -c ./base.txt
50+
# -c ./test.txt
51+
# requests
3852
click==8.1.7
3953
# via
4054
# -c ./base.txt
@@ -73,23 +87,26 @@ idna==3.8
7387
# -c ./base.txt
7488
# -c ./test.txt
7589
# anyio
90+
# httpx
91+
# requests
7692
importlib-metadata==8.4.0
7793
# via
7894
# build
95+
# jupyterlab-server
7996
# nbconvert
8097
ipykernel==6.29.5
8198
# via
8299
# jupyter
83100
# jupyter-console
84101
# nbclassic
85102
# notebook
86-
# qtconsole
87103
ipython==8.18.1
88104
# via
89105
# -r ./dev.in
90106
# ipykernel
91107
# ipywidgets
92108
# jupyter-console
109+
# jupyterlab
93110
ipython-genutils==0.2.0
94111
# via
95112
# nbclassic
@@ -101,14 +118,19 @@ jedi==0.19.1
101118
jinja2==3.1.4
102119
# via
103120
# jupyter-server
121+
# jupyterlab
122+
# jupyterlab-server
104123
# nbconvert
105124
# notebook
125+
json5==0.9.25
126+
# via jupyterlab-server
106127
jsonschema[format-nongpl]==3.2.0
107128
# via
108129
# -c ./test.txt
109130
# jupyter-events
131+
# jupyterlab-server
110132
# nbformat
111-
jupyter==1.0.0
133+
jupyter==1.1.0
112134
# via -r ./dev.in
113135
jupyter-client==7.4.9
114136
# via
@@ -117,29 +139,34 @@ jupyter-client==7.4.9
117139
# jupyter-server
118140
# nbclient
119141
# notebook
120-
# qtconsole
121142
jupyter-console==6.6.3
122143
# via jupyter
123144
jupyter-core==5.7.2
124145
# via
125-
# -c ././deps/constraints.txt
126146
# ipykernel
127147
# jupyter-client
128148
# jupyter-console
129149
# jupyter-server
150+
# jupyterlab
130151
# nbclient
131152
# nbconvert
132153
# nbformat
133154
# notebook
134-
# qtconsole
135155
jupyter-events==0.6.3
136156
# via jupyter-server
137157
jupyter-server==2.10.0
138-
# via notebook-shim
158+
# via
159+
# jupyterlab
160+
# jupyterlab-server
161+
# notebook-shim
139162
jupyter-server-terminals==0.5.3
140163
# via jupyter-server
164+
jupyterlab==3.5.3
165+
# via jupyter
141166
jupyterlab-pygments==0.3.0
142167
# via nbconvert
168+
jupyterlab-server==2.16.6
169+
# via jupyterlab
143170
jupyterlab-widgets==3.0.13
144171
# via ipywidgets
145172
markupsafe==2.1.5
@@ -153,7 +180,9 @@ matplotlib-inline==0.1.7
153180
mistune==3.0.2
154181
# via nbconvert
155182
nbclassic==1.1.0
156-
# via notebook
183+
# via
184+
# jupyterlab
185+
# notebook
157186
nbclient==0.10.0
158187
# via nbconvert
159188
nbconvert==7.16.4
@@ -177,11 +206,13 @@ nest-asyncio==1.6.0
177206
nodeenv==1.9.1
178207
# via pre-commit
179208
notebook==6.5.7
180-
# via jupyter
209+
# via
210+
# jupyter
211+
# jupyterlab
181212
notebook-shim==0.2.4
182213
# via
214+
# jupyterlab
183215
# nbclassic
184-
# notebook
185216
overrides==7.7.0
186217
# via jupyter-server
187218
packaging==24.1
@@ -191,9 +222,9 @@ packaging==24.1
191222
# build
192223
# ipykernel
193224
# jupyter-server
225+
# jupyterlab
226+
# jupyterlab-server
194227
# nbconvert
195-
# qtconsole
196-
# qtpy
197228
pandocfilters==1.5.1
198229
# via nbconvert
199230
parso==0.8.4
@@ -235,7 +266,6 @@ pygments==2.18.0
235266
# ipython
236267
# jupyter-console
237268
# nbconvert
238-
# qtconsole
239269
pyproject-hooks==1.1.0
240270
# via
241271
# build
@@ -263,11 +293,11 @@ pyzmq==26.2.0
263293
# jupyter-console
264294
# jupyter-server
265295
# notebook
266-
# qtconsole
267-
qtconsole==5.5.2
268-
# via jupyter
269-
qtpy==2.4.1
270-
# via qtconsole
296+
requests==2.32.3
297+
# via
298+
# -c ./base.txt
299+
# -c ./test.txt
300+
# jupyterlab-server
271301
rfc3339-validator==0.1.4
272302
# via jupyter-events
273303
rfc3986-validator==0.1.1
@@ -290,6 +320,7 @@ sniffio==1.3.1
290320
# -c ./base.txt
291321
# -c ./test.txt
292322
# anyio
323+
# httpx
293324
soupsieve==2.6
294325
# via
295326
# -c ./base.txt
@@ -307,12 +338,14 @@ tomli==2.0.1
307338
# via
308339
# -c ./test.txt
309340
# build
341+
# jupyterlab
310342
# pip-tools
311343
tornado==6.4.1
312344
# via
313345
# ipykernel
314346
# jupyter-client
315347
# jupyter-server
348+
# jupyterlab
316349
# notebook
317350
# terminado
318351
traitlets==5.14.3
@@ -331,13 +364,18 @@ traitlets==5.14.3
331364
# nbconvert
332365
# nbformat
333366
# notebook
334-
# qtconsole
335367
typing-extensions==4.12.2
336368
# via
337369
# -c ./base.txt
338370
# -c ./test.txt
339371
# anyio
340372
# ipython
373+
urllib3==1.26.19
374+
# via
375+
# -c ././deps/constraints.txt
376+
# -c ./base.txt
377+
# -c ./test.txt
378+
# requests
341379
virtualenv==20.26.3
342380
# via pre-commit
343381
wcwidth==0.2.13
@@ -349,9 +387,7 @@ webencodings==0.5.1
349387
websocket-client==1.8.0
350388
# via jupyter-server
351389
wheel==0.44.0
352-
# via
353-
# -c ././deps/constraints.txt
354-
# pip-tools
390+
# via pip-tools
355391
widgetsnbextension==4.0.13
356392
# via ipywidgets
357393
zipp==3.20.1

Diff for: requirements/extra-paddleocr.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ astor==0.8.1
1212
# via paddlepaddle
1313
certifi==2024.7.4
1414
# via
15-
# -c ././deps/constraints.txt
1615
# -c ./base.txt
1716
# httpcore
1817
# httpx
@@ -21,7 +20,7 @@ charset-normalizer==3.3.2
2120
# via
2221
# -c ./base.txt
2322
# requests
24-
contourpy==1.2.1
23+
contourpy==1.3.0
2524
# via matplotlib
2625
cycler==0.12.1
2726
# via matplotlib
@@ -158,7 +157,7 @@ sniffio==1.3.1
158157
# -c ./base.txt
159158
# anyio
160159
# httpx
161-
tifffile==2024.8.24
160+
tifffile==2024.8.28
162161
# via scikit-image
163162
tqdm==4.66.5
164163
# via

0 commit comments

Comments
 (0)