diff --git a/CHANGELOG.md b/CHANGELOG.md index 43f03892..09a50037 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.74 + +* Bump to `unstructured` 0.15.0 + ## 0.0.73 * Bump to `unstructured` 0.14.10 diff --git a/prepline_general/api/app.py b/prepline_general/api/app.py index 587ae9ea..c36a85cb 100644 --- a/prepline_general/api/app.py +++ b/prepline_general/api/app.py @@ -13,7 +13,7 @@ app = FastAPI( title="Unstructured Pipeline API", summary="Partition documents with the Unstructured library", - version="0.0.73", + version="0.0.74", docs_url="/general/docs", openapi_url="/general/openapi.json", servers=[ diff --git a/prepline_general/api/general.py b/prepline_general/api/general.py index eb286862..632297c2 100644 --- a/prepline_general/api/general.py +++ b/prepline_general/api/general.py @@ -649,7 +649,7 @@ def return_content_type(filename: str): @router.get("/general/v0/general", include_in_schema=False) -@router.get("/general/v0.0.73/general", include_in_schema=False) +@router.get("/general/v0.0.74/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." @@ -664,7 +664,7 @@ async def handle_invalid_get_request(): description="Description", operation_id="partition_parameters", ) -@router.post("/general/v0.0.73/general", include_in_schema=False) +@router.post("/general/v0.0.74/general", include_in_schema=False) def general_partition( request: Request, # cannot use annotated type here because of a bug described here: diff --git a/preprocessing-pipeline-family.yaml b/preprocessing-pipeline-family.yaml index e65f9963..b4f12377 100644 --- a/preprocessing-pipeline-family.yaml +++ b/preprocessing-pipeline-family.yaml @@ -1,2 +1,2 @@ name: general -version: 0.0.73 +version: 0.0.74 diff --git a/requirements/base.txt b/requirements/base.txt index fb053348..5077f301 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -19,7 +19,7 @@ backoff==2.2.1 # unstructured beautifulsoup4==4.12.3 # via unstructured -cachetools==5.3.3 +cachetools==5.4.0 # via google-auth certifi==2024.7.4 # via @@ -47,7 +47,7 @@ coloredlogs==15.0.1 # via onnxruntime contourpy==1.2.1 # via matplotlib -cryptography==42.0.8 +cryptography==43.0.0 # via pdfminer-six cycler==0.12.1 # via matplotlib @@ -69,9 +69,9 @@ emoji==2.12.1 # via unstructured et-xmlfile==1.1.0 # via openpyxl -exceptiongroup==1.2.1 +exceptiongroup==1.2.2 # via anyio -fastapi==0.111.0 +fastapi==0.111.1 # via -r requirements/base.in fastapi-cli==0.0.4 # via fastapi @@ -102,11 +102,11 @@ googleapis-common-protos==1.63.2 # via # google-api-core # grpcio-status -grpcio==1.64.1 +grpcio==1.65.1 # via # google-api-core # grpcio-status -grpcio-status==1.64.1 +grpcio-status==1.65.1 # via google-api-core h11==0.14.0 # via @@ -120,7 +120,7 @@ httpx==0.27.0 # via # fastapi # unstructured-client -huggingface-hub==0.23.4 +huggingface-hub==0.24.0 # via # timm # tokenizers @@ -220,8 +220,6 @@ openpyxl==3.1.5 # via unstructured ordered-set==4.1.0 # via deepdiff -orjson==3.10.6 - # via fastapi packaging==24.1 # via # huggingface-hub @@ -263,7 +261,7 @@ pillow==10.4.0 # unstructured-pytesseract pillow-heif==0.17.0 # via unstructured -portalocker==2.10.0 +portalocker==2.10.1 # via iopath proto-plus==1.24.0 # via @@ -304,7 +302,7 @@ pypandoc==1.13 # via unstructured pyparsing==3.1.2 # via matplotlib -pypdf==4.2.0 +pypdf==4.3.1 # via # -r requirements/base.in # unstructured @@ -391,7 +389,7 @@ soupsieve==2.5 # via beautifulsoup4 starlette==0.37.2 # via fastapi -sympy==1.13.0 +sympy==1.13.1 # via # onnxruntime # torch @@ -448,11 +446,9 @@ typing-inspect==0.9.0 # unstructured-client tzdata==2024.1 # via pandas -ujson==5.10.0 - # via fastapi -unstructured[all-docs]==0.14.10 +unstructured[all-docs]==0.15.0 # via -r requirements/base.in -unstructured-client==0.24.0 +unstructured-client==0.24.1 # via unstructured unstructured-inference==0.7.36 # via unstructured @@ -462,7 +458,7 @@ urllib3==2.2.2 # via # requests # unstructured-client -uvicorn[standard]==0.30.1 +uvicorn[standard]==0.30.3 # via # -r requirements/base.in # fastapi diff --git a/requirements/test.txt b/requirements/test.txt index bec17bc8..3bd254d6 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -54,7 +54,7 @@ black==24.4.2 # via -r requirements/test.in bleach==6.1.0 # via nbconvert -cachetools==5.3.3 +cachetools==5.4.0 # via # -r requirements/base.txt # google-auth @@ -101,9 +101,9 @@ contourpy==1.2.1 # via # -r requirements/base.txt # matplotlib -coverage[toml]==7.5.4 +coverage[toml]==7.6.0 # via pytest-cov -cryptography==42.0.8 +cryptography==43.0.0 # via # -r requirements/base.txt # pdfminer-six @@ -151,7 +151,7 @@ et-xmlfile==1.1.0 # via # -r requirements/base.txt # openpyxl -exceptiongroup==1.2.1 +exceptiongroup==1.2.2 # via # -r requirements/base.txt # anyio @@ -161,13 +161,13 @@ execnb==0.1.6 # via nbdev executing==2.0.1 # via stack-data -fastapi==0.111.0 +fastapi==0.111.1 # via -r requirements/base.txt fastapi-cli==0.0.4 # via # -r requirements/base.txt # fastapi -fastcore==1.5.49 +fastcore==1.5.54 # via # execnb # ghapi @@ -221,12 +221,12 @@ googleapis-common-protos==1.63.2 # -r requirements/base.txt # google-api-core # grpcio-status -grpcio==1.64.1 +grpcio==1.65.1 # via # -r requirements/base.txt # google-api-core # grpcio-status -grpcio-status==1.64.1 +grpcio-status==1.65.1 # via # -r requirements/base.txt # google-api-core @@ -250,7 +250,7 @@ httpx==0.27.0 # fastapi # jupyterlab # unstructured-client -huggingface-hub==0.23.4 +huggingface-hub==0.24.0 # via # -r requirements/base.txt # timm @@ -348,7 +348,7 @@ jupyter-events==0.10.0 # via jupyter-server jupyter-lsp==2.2.5 # via jupyterlab -jupyter-server==2.14.1 +jupyter-server==2.14.2 # via # jupyter-lsp # jupyterlab @@ -357,11 +357,11 @@ jupyter-server==2.14.1 # notebook-shim jupyter-server-terminals==0.5.3 # via jupyter-server -jupyterlab==4.2.3 +jupyterlab==4.2.4 # via notebook jupyterlab-pygments==0.3.0 # via nbconvert -jupyterlab-server==2.27.2 +jupyterlab-server==2.27.3 # via # jupyterlab # notebook @@ -425,7 +425,7 @@ mpmath==1.3.0 # via # -r requirements/base.txt # sympy -mypy==1.10.1 +mypy==1.11.0 # via -r requirements/test.in mypy-extensions==1.0.0 # via @@ -513,10 +513,6 @@ ordered-set==4.1.0 # via # -r requirements/base.txt # deepdiff -orjson==3.10.6 - # via - # -r requirements/base.txt - # fastapi overrides==7.7.0 # via jupyter-server packaging==24.1 @@ -597,7 +593,7 @@ platformdirs==4.2.2 # jupyter-core pluggy==1.5.0 # via pytest -portalocker==2.10.0 +portalocker==2.10.1 # via # -r requirements/base.txt # iopath @@ -631,7 +627,7 @@ ptyprocess==0.7.0 # via # pexpect # terminado -pure-eval==0.2.2 +pure-eval==0.2.3 # via stack-data pyasn1==0.6.0 # via @@ -680,7 +676,7 @@ pyparsing==3.1.2 # via # -r requirements/base.txt # matplotlib -pypdf==4.2.0 +pypdf==4.3.1 # via # -r requirements/base.txt # unstructured @@ -693,7 +689,7 @@ pytesseract==0.3.10 # via # -r requirements/base.txt # unstructured -pytest==8.2.2 +pytest==8.3.1 # via # pytest-cov # pytest-mock @@ -858,7 +854,7 @@ starlette==0.37.2 # via # -r requirements/base.txt # fastapi -sympy==1.13.0 +sympy==1.13.1 # via # -r requirements/base.txt # onnxruntime @@ -976,13 +972,9 @@ tzdata==2024.1 # via # -r requirements/base.txt # pandas -ujson==5.10.0 - # via - # -r requirements/base.txt - # fastapi -unstructured[all-docs]==0.14.10 +unstructured[all-docs]==0.15.0 # via -r requirements/base.txt -unstructured-client==0.24.0 +unstructured-client==0.24.1 # via # -r requirements/base.txt # unstructured @@ -1001,7 +993,7 @@ urllib3==2.2.2 # -r requirements/base.txt # requests # unstructured-client -uvicorn[standard]==0.30.1 +uvicorn[standard]==0.30.3 # via # -r requirements/base.txt # fastapi