Skip to content

Commit

Permalink
chore(deps): bump unstructured deps and regenerate api (#187)
Browse files Browse the repository at this point in the history
* chore(deps): bump unstructured deps and regenerate api
  • Loading branch information
awalker4 authored Aug 17, 2023
1 parent b3389c0 commit 2f1b925
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 29 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 0.0.36-dev0
## 0.0.36

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

## 0.0.35

Expand Down
1 change: 1 addition & 0 deletions prepline_general/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def filter(self, record: logging.LogRecord) -> bool:


logging.getLogger("uvicorn.access").addFilter(HealthCheckFilter())
logging.getLogger("uvicorn.access").addFilter(MetricsCheckFilter())


@app.get("/healthcheck", status_code=status.HTTP_200_OK, include_in_schema=False)
Expand Down
30 changes: 17 additions & 13 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,23 @@ coloredlogs==15.0.1
# via onnxruntime
contourpy==1.1.0
# via matplotlib
cryptography==41.0.2
# via
# pdfminer-six
# unstructured
cryptography==41.0.3
# via pdfminer-six
cycler==0.11.0
# via matplotlib
defusedxml==0.7.1
# via nbconvert
ebooklib==0.18
# via unstructured
effdet==0.4.1
# via layoutparser
emoji==2.8.0
# via unstructured
et-xmlfile==1.1.0
# via openpyxl
exceptiongroup==1.1.2
exceptiongroup==1.1.3
# via anyio
fastapi==0.101.0
fastapi==0.101.1
# via unstructured-api-tools
fastjsonschema==2.18.0
# via nbformat
Expand Down Expand Up @@ -127,6 +129,7 @@ layoutparser[layoutmodels,tesseract]==0.3.4
# via unstructured-inference
lxml==4.9.3
# via
# ebooklib
# python-docx
# python-pptx
# unstructured
Expand All @@ -144,13 +147,13 @@ mpmath==1.3.0
# via sympy
msg-parser==1.2.0
# via unstructured
mypy==1.5.0
mypy==1.5.1
# via unstructured-api-tools
mypy-extensions==1.0.0
# via mypy
nbclient==0.8.0
# via nbconvert
nbconvert==7.7.3
nbconvert==7.7.4
# via unstructured-api-tools
nbformat==5.9.2
# via
Expand Down Expand Up @@ -227,7 +230,7 @@ portalocker==2.7.0
# via iopath
protobuf==4.24.0
# via onnxruntime
pycocotools==2.0.6
pycocotools==2.0.7
# via effdet
pycparser==2.21
# via cffi
Expand All @@ -245,7 +248,7 @@ pypandoc==1.11
# via unstructured
pyparsing==3.0.9
# via matplotlib
pypdf==3.15.0
pypdf==3.15.1
# via -r requirements/base.in
pypdfium2==4.18.0
# via pdfplumber
Expand Down Expand Up @@ -310,6 +313,7 @@ scipy==1.10.1
six==1.16.0
# via
# bleach
# ebooklib
# python-dateutil
sniffio==1.3.0
# via anyio
Expand Down Expand Up @@ -380,11 +384,11 @@ typing-extensions==4.7.1
# uvicorn
tzdata==2023.3
# via pandas
unstructured[local-inference]==0.9.2
unstructured[local-inference]==0.10.2
# via -r requirements/base.in
unstructured-api-tools==0.10.10
unstructured-api-tools==0.10.11
# via -r requirements/base.in
unstructured-inference==0.5.9
unstructured-inference==0.5.13
# via unstructured
urllib3==2.0.4
# via requests
Expand Down
39 changes: 24 additions & 15 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ appnope==0.1.3
# via
# ipykernel
# ipython
argon2-cffi==21.3.0
argon2-cffi==23.1.0
# via jupyter-server
argon2-cffi-bindings==21.2.0
# via argon2-cffi
Expand Down Expand Up @@ -97,13 +97,12 @@ contourpy==1.1.0
# via
# -r requirements/base.txt
# matplotlib
coverage[toml]==7.2.7
coverage[toml]==7.3.0
# via pytest-cov
cryptography==41.0.2
cryptography==41.0.3
# via
# -r requirements/base.txt
# pdfminer-six
# unstructured
cycler==0.11.0
# via
# -r requirements/base.txt
Expand All @@ -116,15 +115,23 @@ defusedxml==0.7.1
# via
# -r requirements/base.txt
# nbconvert
ebooklib==0.18
# via
# -r requirements/base.txt
# unstructured
effdet==0.4.1
# via
# -r requirements/base.txt
# layoutparser
emoji==2.8.0
# via
# -r requirements/base.txt
# unstructured
et-xmlfile==1.1.0
# via
# -r requirements/base.txt
# openpyxl
exceptiongroup==1.1.2
exceptiongroup==1.1.3
# via
# -r requirements/base.txt
# anyio
Expand All @@ -133,7 +140,7 @@ execnb==0.1.5
# via nbdev
executing==1.2.0
# via stack-data
fastapi==0.101.0
fastapi==0.101.1
# via
# -r requirements/base.txt
# unstructured-api-tools
Expand Down Expand Up @@ -302,7 +309,7 @@ jupyter-events==0.7.0
# via jupyter-server
jupyter-lsp==2.2.0
# via jupyterlab
jupyter-server==2.7.0
jupyter-server==2.7.1
# via
# jupyter-lsp
# jupyterlab
Expand All @@ -311,7 +318,7 @@ jupyter-server==2.7.0
# notebook-shim
jupyter-server-terminals==0.4.4
# via jupyter-server
jupyterlab==4.0.4
jupyterlab==4.0.5
# via notebook
jupyterlab-pygments==0.2.2
# via
Expand All @@ -334,6 +341,7 @@ layoutparser[layoutmodels,tesseract]==0.3.4
lxml==4.9.3
# via
# -r requirements/base.txt
# ebooklib
# python-docx
# python-pptx
# unstructured
Expand Down Expand Up @@ -368,7 +376,7 @@ msg-parser==1.2.0
# via
# -r requirements/base.txt
# unstructured
mypy==1.5.0
mypy==1.5.1
# via
# -r requirements/base.txt
# -r requirements/test.in
Expand All @@ -382,7 +390,7 @@ nbclient==0.8.0
# via
# -r requirements/base.txt
# nbconvert
nbconvert==7.7.3
nbconvert==7.7.4
# via
# -r requirements/base.txt
# jupyter
Expand Down Expand Up @@ -543,7 +551,7 @@ ptyprocess==0.7.0
# terminado
pure-eval==0.2.2
# via stack-data
pycocotools==2.0.6
pycocotools==2.0.7
# via
# -r requirements/base.txt
# effdet
Expand Down Expand Up @@ -579,7 +587,7 @@ pyparsing==3.0.9
# via
# -r requirements/base.txt
# matplotlib
pypdf==3.15.0
pypdf==3.15.1
# via -r requirements/base.txt
pypdfium2==4.18.0
# via
Expand Down Expand Up @@ -705,6 +713,7 @@ six==1.16.0
# asttokens
# astunparse
# bleach
# ebooklib
# python-dateutil
# rfc3339-validator
sniffio==1.3.0
Expand Down Expand Up @@ -839,11 +848,11 @@ tzdata==2023.3
# via
# -r requirements/base.txt
# pandas
unstructured[local-inference]==0.9.2
unstructured[local-inference]==0.10.2
# via -r requirements/base.txt
unstructured-api-tools==0.10.10
unstructured-api-tools==0.10.11
# via -r requirements/base.txt
unstructured-inference==0.5.9
unstructured-inference==0.5.13
# via
# -r requirements/base.txt
# unstructured
Expand Down

0 comments on commit 2f1b925

Please sign in to comment.