Skip to content

Commit fbdc6af

Browse files
build(deps): version bumps for maintenance (#424)
### Summary Version bumps for regular maintenance and to address moderate CVEs from security scans. - bump `unstructured` to `0.14.6` - bump `unstructured-inference` to `0.7.35`
1 parent 8bdb1de commit fbdc6af

File tree

6 files changed

+63
-51
lines changed

6 files changed

+63
-51
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.0.70
2+
3+
* Bump to `unstructured` 0.14.6
4+
* Bump to `unstructured-inference` 0.7.35
5+
16
## 0.0.69
27

38
* Bump to `unstructured` 0.14.4

prepline_general/api/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
app = FastAPI(
1414
title="Unstructured Pipeline API",
1515
summary="Partition documents with the Unstructured library",
16-
version="0.0.69",
16+
version="0.0.70",
1717
docs_url="/general/docs",
1818
openapi_url="/general/openapi.json",
1919
servers=[

prepline_general/api/general.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ def return_content_type(filename: str):
713713

714714

715715
@router.get("/general/v0/general", include_in_schema=False)
716-
@router.get("/general/v0.0.69/general", include_in_schema=False)
716+
@router.get("/general/v0.0.70/general", include_in_schema=False)
717717
async def handle_invalid_get_request():
718718
raise HTTPException(
719719
status_code=status.HTTP_405_METHOD_NOT_ALLOWED, detail="Only POST requests are supported."
@@ -728,7 +728,7 @@ async def handle_invalid_get_request():
728728
description="Description",
729729
operation_id="partition_parameters",
730730
)
731-
@router.post("/general/v0.0.69/general", include_in_schema=False)
731+
@router.post("/general/v0.0.70/general", include_in_schema=False)
732732
def general_partition(
733733
request: Request,
734734
# cannot use annotated type here because of a bug described here:

preprocessing-pipeline-family.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
name: general
2-
version: 0.0.69
2+
version: 0.0.70

requirements/base.txt

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ click==8.1.3
4040
# via
4141
# -r requirements/base.in
4242
# nltk
43+
# python-oxmsg
4344
# typer
4445
# uvicorn
4546
coloredlogs==15.0.1
@@ -50,7 +51,7 @@ cryptography==42.0.8
5051
# via pdfminer-six
5152
cycler==0.12.1
5253
# via matplotlib
53-
dataclasses-json==0.6.6
54+
dataclasses-json==0.6.7
5455
# via
5556
# unstructured
5657
# unstructured-client
@@ -74,7 +75,7 @@ fastapi==0.111.0
7475
# via -r requirements/base.in
7576
fastapi-cli==0.0.4
7677
# via fastapi
77-
filelock==3.14.0
78+
filelock==3.15.1
7879
# via
7980
# huggingface-hub
8081
# torch
@@ -91,7 +92,7 @@ fsspec==2024.6.0
9192
# torch
9293
google-api-core[grpc]==2.19.0
9394
# via google-cloud-vision
94-
google-auth==2.29.0
95+
google-auth==2.30.0
9596
# via
9697
# google-api-core
9798
# google-cloud-vision
@@ -119,7 +120,7 @@ httpx==0.27.0
119120
# via
120121
# fastapi
121122
# unstructured-client
122-
huggingface-hub==0.23.3
123+
huggingface-hub==0.23.4
123124
# via
124125
# timm
125126
# tokenizers
@@ -162,7 +163,7 @@ markdown-it-py==3.0.0
162163
# via rich
163164
markupsafe==2.1.5
164165
# via jinja2
165-
marshmallow==3.21.2
166+
marshmallow==3.21.3
166167
# via
167168
# dataclasses-json
168169
# unstructured-client
@@ -174,8 +175,6 @@ mdurl==0.1.2
174175
# via markdown-it-py
175176
mpmath==1.3.0
176177
# via sympy
177-
msg-parser==1.2.0
178-
# via unstructured
179178
mypy-extensions==1.0.0
180179
# via
181180
# typing-inspect
@@ -203,7 +202,7 @@ numpy==1.26.4
203202
# transformers
204203
# unstructured
205204
olefile==0.47
206-
# via msg-parser
205+
# via python-oxmsg
207206
omegaconf==2.3.0
208207
# via effdet
209208
onnx==1.16.1
@@ -216,13 +215,13 @@ opencv-python==4.10.0.82
216215
# via
217216
# layoutparser
218217
# unstructured-inference
219-
openpyxl==3.1.3
218+
openpyxl==3.1.4
220219
# via unstructured
221220
ordered-set==4.1.0
222221
# via deepdiff
223-
orjson==3.10.3
222+
orjson==3.10.5
224223
# via fastapi
225-
packaging==24.0
224+
packaging==24.1
226225
# via
227226
# huggingface-hub
228227
# marshmallow
@@ -245,7 +244,7 @@ pdfminer-six==20231228
245244
# via
246245
# pdfplumber
247246
# unstructured
248-
pdfplumber==0.11.0
247+
pdfplumber==0.11.1
249248
# via layoutparser
250249
pikepdf==9.0.0
251250
# via unstructured
@@ -292,7 +291,7 @@ pycparser==2.22
292291
# via cffi
293292
pycryptodome==3.20.0
294293
# via -r requirements/base.in
295-
pydantic==2.7.3
294+
pydantic==2.7.4
296295
# via fastapi
297296
pydantic-core==2.18.4
298297
# via pydantic
@@ -328,6 +327,8 @@ python-multipart==0.0.9
328327
# via
329328
# fastapi
330329
# unstructured-inference
330+
python-oxmsg==0.0.1
331+
# via unstructured
331332
python-pptx==0.6.23
332333
# via unstructured
333334
pytz==2024.1
@@ -399,13 +400,13 @@ timm==1.0.3
399400
# unstructured-inference
400401
tokenizers==0.15.2
401402
# via transformers
402-
torch==2.3.0
403+
torch==2.3.1
403404
# via
404405
# effdet
405406
# timm
406407
# torchvision
407408
# unstructured-inference
408-
torchvision==0.18.0
409+
torchvision==0.18.1
409410
# via
410411
# effdet
411412
# timm
@@ -415,11 +416,12 @@ tqdm==4.66.4
415416
# iopath
416417
# nltk
417418
# transformers
419+
# unstructured
418420
transformers==4.37.1
419421
# via unstructured-inference
420422
typer==0.12.3
421423
# via fastapi-cli
422-
typing-extensions==4.12.1
424+
typing-extensions==4.12.2
423425
# via
424426
# anyio
425427
# emoji
@@ -430,6 +432,7 @@ typing-extensions==4.12.1
430432
# pydantic-core
431433
# pypdf
432434
# python-docx
435+
# python-oxmsg
433436
# torch
434437
# typer
435438
# typing-inspect
@@ -444,11 +447,11 @@ tzdata==2024.1
444447
# via pandas
445448
ujson==5.10.0
446449
# via fastapi
447-
unstructured[all-docs]==0.14.4
450+
unstructured[all-docs]==0.14.6
448451
# via -r requirements/base.in
449-
unstructured-client==0.23.0
452+
unstructured-client==0.23.3
450453
# via unstructured
451-
unstructured-inference==0.7.33
454+
unstructured-inference==0.7.35
452455
# via unstructured
453456
unstructured-pytesseract==0.3.12
454457
# via unstructured

0 commit comments

Comments
 (0)