Skip to content

Commit

Permalink
build(deps): version bumps for maintenance (#424)
Browse files Browse the repository at this point in the history
### 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`
  • Loading branch information
christinestraub committed Jun 14, 2024
1 parent 8bdb1de commit fbdc6af
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 51 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.0.70

* Bump to `unstructured` 0.14.6
* Bump to `unstructured-inference` 0.7.35

## 0.0.69

* Bump to `unstructured` 0.14.4
Expand Down
2 changes: 1 addition & 1 deletion prepline_general/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
app = FastAPI(
title="Unstructured Pipeline API",
summary="Partition documents with the Unstructured library",
version="0.0.69",
version="0.0.70",
docs_url="/general/docs",
openapi_url="/general/openapi.json",
servers=[
Expand Down
4 changes: 2 additions & 2 deletions prepline_general/api/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def return_content_type(filename: str):


@router.get("/general/v0/general", include_in_schema=False)
@router.get("/general/v0.0.69/general", include_in_schema=False)
@router.get("/general/v0.0.70/general", include_in_schema=False)
async def handle_invalid_get_request():
raise HTTPException(
status_code=status.HTTP_405_METHOD_NOT_ALLOWED, detail="Only POST requests are supported."
Expand All @@ -728,7 +728,7 @@ async def handle_invalid_get_request():
description="Description",
operation_id="partition_parameters",
)
@router.post("/general/v0.0.69/general", include_in_schema=False)
@router.post("/general/v0.0.70/general", include_in_schema=False)
def general_partition(
request: Request,
# cannot use annotated type here because of a bug described here:
Expand Down
2 changes: 1 addition & 1 deletion preprocessing-pipeline-family.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
name: general
version: 0.0.69
version: 0.0.70
41 changes: 22 additions & 19 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ click==8.1.3
# via
# -r requirements/base.in
# nltk
# python-oxmsg
# typer
# uvicorn
coloredlogs==15.0.1
Expand All @@ -50,7 +51,7 @@ cryptography==42.0.8
# via pdfminer-six
cycler==0.12.1
# via matplotlib
dataclasses-json==0.6.6
dataclasses-json==0.6.7
# via
# unstructured
# unstructured-client
Expand All @@ -74,7 +75,7 @@ fastapi==0.111.0
# via -r requirements/base.in
fastapi-cli==0.0.4
# via fastapi
filelock==3.14.0
filelock==3.15.1
# via
# huggingface-hub
# torch
Expand All @@ -91,7 +92,7 @@ fsspec==2024.6.0
# torch
google-api-core[grpc]==2.19.0
# via google-cloud-vision
google-auth==2.29.0
google-auth==2.30.0
# via
# google-api-core
# google-cloud-vision
Expand Down Expand Up @@ -119,7 +120,7 @@ httpx==0.27.0
# via
# fastapi
# unstructured-client
huggingface-hub==0.23.3
huggingface-hub==0.23.4
# via
# timm
# tokenizers
Expand Down Expand Up @@ -162,7 +163,7 @@ markdown-it-py==3.0.0
# via rich
markupsafe==2.1.5
# via jinja2
marshmallow==3.21.2
marshmallow==3.21.3
# via
# dataclasses-json
# unstructured-client
Expand All @@ -174,8 +175,6 @@ mdurl==0.1.2
# via markdown-it-py
mpmath==1.3.0
# via sympy
msg-parser==1.2.0
# via unstructured
mypy-extensions==1.0.0
# via
# typing-inspect
Expand Down Expand Up @@ -203,7 +202,7 @@ numpy==1.26.4
# transformers
# unstructured
olefile==0.47
# via msg-parser
# via python-oxmsg
omegaconf==2.3.0
# via effdet
onnx==1.16.1
Expand All @@ -216,13 +215,13 @@ opencv-python==4.10.0.82
# via
# layoutparser
# unstructured-inference
openpyxl==3.1.3
openpyxl==3.1.4
# via unstructured
ordered-set==4.1.0
# via deepdiff
orjson==3.10.3
orjson==3.10.5
# via fastapi
packaging==24.0
packaging==24.1
# via
# huggingface-hub
# marshmallow
Expand All @@ -245,7 +244,7 @@ pdfminer-six==20231228
# via
# pdfplumber
# unstructured
pdfplumber==0.11.0
pdfplumber==0.11.1
# via layoutparser
pikepdf==9.0.0
# via unstructured
Expand Down Expand Up @@ -292,7 +291,7 @@ pycparser==2.22
# via cffi
pycryptodome==3.20.0
# via -r requirements/base.in
pydantic==2.7.3
pydantic==2.7.4
# via fastapi
pydantic-core==2.18.4
# via pydantic
Expand Down Expand Up @@ -328,6 +327,8 @@ python-multipart==0.0.9
# via
# fastapi
# unstructured-inference
python-oxmsg==0.0.1
# via unstructured
python-pptx==0.6.23
# via unstructured
pytz==2024.1
Expand Down Expand Up @@ -399,13 +400,13 @@ timm==1.0.3
# unstructured-inference
tokenizers==0.15.2
# via transformers
torch==2.3.0
torch==2.3.1
# via
# effdet
# timm
# torchvision
# unstructured-inference
torchvision==0.18.0
torchvision==0.18.1
# via
# effdet
# timm
Expand All @@ -415,11 +416,12 @@ tqdm==4.66.4
# iopath
# nltk
# transformers
# unstructured
transformers==4.37.1
# via unstructured-inference
typer==0.12.3
# via fastapi-cli
typing-extensions==4.12.1
typing-extensions==4.12.2
# via
# anyio
# emoji
Expand All @@ -430,6 +432,7 @@ typing-extensions==4.12.1
# pydantic-core
# pypdf
# python-docx
# python-oxmsg
# torch
# typer
# typing-inspect
Expand All @@ -444,11 +447,11 @@ tzdata==2024.1
# via pandas
ujson==5.10.0
# via fastapi
unstructured[all-docs]==0.14.4
unstructured[all-docs]==0.14.6
# via -r requirements/base.in
unstructured-client==0.23.0
unstructured-client==0.23.3
# via unstructured
unstructured-inference==0.7.33
unstructured-inference==0.7.35
# via unstructured
unstructured-pytesseract==0.3.12
# via unstructured
Expand Down
Loading

0 comments on commit fbdc6af

Please sign in to comment.