Skip to content

Commit 2f1b925

Browse files
authored
chore(deps): bump unstructured deps and regenerate api (#187)
* chore(deps): bump unstructured deps and regenerate api
1 parent b3389c0 commit 2f1b925

File tree

4 files changed

+44
-29
lines changed

4 files changed

+44
-29
lines changed

Diff for: CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## 0.0.36-dev0
1+
## 0.0.36
22

33
* Fix a bug in parallel mode causing `not a valid pdf` errors
4+
* Bump unstructured to 0.10.2, unstructured-inference to 0.5.13
45

56
## 0.0.35
67

Diff for: prepline_general/api/app.py

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def filter(self, record: logging.LogRecord) -> bool:
4646

4747

4848
logging.getLogger("uvicorn.access").addFilter(HealthCheckFilter())
49+
logging.getLogger("uvicorn.access").addFilter(MetricsCheckFilter())
4950

5051

5152
@app.get("/healthcheck", status_code=status.HTTP_200_OK, include_in_schema=False)

Diff for: requirements/base.txt

+17-13
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,23 @@ coloredlogs==15.0.1
4242
# via onnxruntime
4343
contourpy==1.1.0
4444
# via matplotlib
45-
cryptography==41.0.2
46-
# via
47-
# pdfminer-six
48-
# unstructured
45+
cryptography==41.0.3
46+
# via pdfminer-six
4947
cycler==0.11.0
5048
# via matplotlib
5149
defusedxml==0.7.1
5250
# via nbconvert
51+
ebooklib==0.18
52+
# via unstructured
5353
effdet==0.4.1
5454
# via layoutparser
55+
emoji==2.8.0
56+
# via unstructured
5557
et-xmlfile==1.1.0
5658
# via openpyxl
57-
exceptiongroup==1.1.2
59+
exceptiongroup==1.1.3
5860
# via anyio
59-
fastapi==0.101.0
61+
fastapi==0.101.1
6062
# via unstructured-api-tools
6163
fastjsonschema==2.18.0
6264
# via nbformat
@@ -127,6 +129,7 @@ layoutparser[layoutmodels,tesseract]==0.3.4
127129
# via unstructured-inference
128130
lxml==4.9.3
129131
# via
132+
# ebooklib
130133
# python-docx
131134
# python-pptx
132135
# unstructured
@@ -144,13 +147,13 @@ mpmath==1.3.0
144147
# via sympy
145148
msg-parser==1.2.0
146149
# via unstructured
147-
mypy==1.5.0
150+
mypy==1.5.1
148151
# via unstructured-api-tools
149152
mypy-extensions==1.0.0
150153
# via mypy
151154
nbclient==0.8.0
152155
# via nbconvert
153-
nbconvert==7.7.3
156+
nbconvert==7.7.4
154157
# via unstructured-api-tools
155158
nbformat==5.9.2
156159
# via
@@ -227,7 +230,7 @@ portalocker==2.7.0
227230
# via iopath
228231
protobuf==4.24.0
229232
# via onnxruntime
230-
pycocotools==2.0.6
233+
pycocotools==2.0.7
231234
# via effdet
232235
pycparser==2.21
233236
# via cffi
@@ -245,7 +248,7 @@ pypandoc==1.11
245248
# via unstructured
246249
pyparsing==3.0.9
247250
# via matplotlib
248-
pypdf==3.15.0
251+
pypdf==3.15.1
249252
# via -r requirements/base.in
250253
pypdfium2==4.18.0
251254
# via pdfplumber
@@ -310,6 +313,7 @@ scipy==1.10.1
310313
six==1.16.0
311314
# via
312315
# bleach
316+
# ebooklib
313317
# python-dateutil
314318
sniffio==1.3.0
315319
# via anyio
@@ -380,11 +384,11 @@ typing-extensions==4.7.1
380384
# uvicorn
381385
tzdata==2023.3
382386
# via pandas
383-
unstructured[local-inference]==0.9.2
387+
unstructured[local-inference]==0.10.2
384388
# via -r requirements/base.in
385-
unstructured-api-tools==0.10.10
389+
unstructured-api-tools==0.10.11
386390
# via -r requirements/base.in
387-
unstructured-inference==0.5.9
391+
unstructured-inference==0.5.13
388392
# via unstructured
389393
urllib3==2.0.4
390394
# via requests

Diff for: requirements/test.txt

+24-15
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ appnope==0.1.3
1919
# via
2020
# ipykernel
2121
# ipython
22-
argon2-cffi==21.3.0
22+
argon2-cffi==23.1.0
2323
# via jupyter-server
2424
argon2-cffi-bindings==21.2.0
2525
# via argon2-cffi
@@ -97,13 +97,12 @@ contourpy==1.1.0
9797
# via
9898
# -r requirements/base.txt
9999
# matplotlib
100-
coverage[toml]==7.2.7
100+
coverage[toml]==7.3.0
101101
# via pytest-cov
102-
cryptography==41.0.2
102+
cryptography==41.0.3
103103
# via
104104
# -r requirements/base.txt
105105
# pdfminer-six
106-
# unstructured
107106
cycler==0.11.0
108107
# via
109108
# -r requirements/base.txt
@@ -116,15 +115,23 @@ defusedxml==0.7.1
116115
# via
117116
# -r requirements/base.txt
118117
# nbconvert
118+
ebooklib==0.18
119+
# via
120+
# -r requirements/base.txt
121+
# unstructured
119122
effdet==0.4.1
120123
# via
121124
# -r requirements/base.txt
122125
# layoutparser
126+
emoji==2.8.0
127+
# via
128+
# -r requirements/base.txt
129+
# unstructured
123130
et-xmlfile==1.1.0
124131
# via
125132
# -r requirements/base.txt
126133
# openpyxl
127-
exceptiongroup==1.1.2
134+
exceptiongroup==1.1.3
128135
# via
129136
# -r requirements/base.txt
130137
# anyio
@@ -133,7 +140,7 @@ execnb==0.1.5
133140
# via nbdev
134141
executing==1.2.0
135142
# via stack-data
136-
fastapi==0.101.0
143+
fastapi==0.101.1
137144
# via
138145
# -r requirements/base.txt
139146
# unstructured-api-tools
@@ -302,7 +309,7 @@ jupyter-events==0.7.0
302309
# via jupyter-server
303310
jupyter-lsp==2.2.0
304311
# via jupyterlab
305-
jupyter-server==2.7.0
312+
jupyter-server==2.7.1
306313
# via
307314
# jupyter-lsp
308315
# jupyterlab
@@ -311,7 +318,7 @@ jupyter-server==2.7.0
311318
# notebook-shim
312319
jupyter-server-terminals==0.4.4
313320
# via jupyter-server
314-
jupyterlab==4.0.4
321+
jupyterlab==4.0.5
315322
# via notebook
316323
jupyterlab-pygments==0.2.2
317324
# via
@@ -334,6 +341,7 @@ layoutparser[layoutmodels,tesseract]==0.3.4
334341
lxml==4.9.3
335342
# via
336343
# -r requirements/base.txt
344+
# ebooklib
337345
# python-docx
338346
# python-pptx
339347
# unstructured
@@ -368,7 +376,7 @@ msg-parser==1.2.0
368376
# via
369377
# -r requirements/base.txt
370378
# unstructured
371-
mypy==1.5.0
379+
mypy==1.5.1
372380
# via
373381
# -r requirements/base.txt
374382
# -r requirements/test.in
@@ -382,7 +390,7 @@ nbclient==0.8.0
382390
# via
383391
# -r requirements/base.txt
384392
# nbconvert
385-
nbconvert==7.7.3
393+
nbconvert==7.7.4
386394
# via
387395
# -r requirements/base.txt
388396
# jupyter
@@ -543,7 +551,7 @@ ptyprocess==0.7.0
543551
# terminado
544552
pure-eval==0.2.2
545553
# via stack-data
546-
pycocotools==2.0.6
554+
pycocotools==2.0.7
547555
# via
548556
# -r requirements/base.txt
549557
# effdet
@@ -579,7 +587,7 @@ pyparsing==3.0.9
579587
# via
580588
# -r requirements/base.txt
581589
# matplotlib
582-
pypdf==3.15.0
590+
pypdf==3.15.1
583591
# via -r requirements/base.txt
584592
pypdfium2==4.18.0
585593
# via
@@ -705,6 +713,7 @@ six==1.16.0
705713
# asttokens
706714
# astunparse
707715
# bleach
716+
# ebooklib
708717
# python-dateutil
709718
# rfc3339-validator
710719
sniffio==1.3.0
@@ -839,11 +848,11 @@ tzdata==2023.3
839848
# via
840849
# -r requirements/base.txt
841850
# pandas
842-
unstructured[local-inference]==0.9.2
851+
unstructured[local-inference]==0.10.2
843852
# via -r requirements/base.txt
844-
unstructured-api-tools==0.10.10
853+
unstructured-api-tools==0.10.11
845854
# via -r requirements/base.txt
846-
unstructured-inference==0.5.9
855+
unstructured-inference==0.5.13
847856
# via
848857
# -r requirements/base.txt
849858
# unstructured

0 commit comments

Comments
 (0)