From 4165f47f3c392bb0bcff86fe5e9eaca21db95d73 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Jul 2023 19:03:52 +0000 Subject: [PATCH 1/4] build(deps-dev): Bump pip-tools from 6.12.3 to 6.14.0 in /requirements Bumps [pip-tools](https://github.com/jazzband/pip-tools) from 6.12.3 to 6.14.0. - [Release notes](https://github.com/jazzband/pip-tools/releases) - [Changelog](https://github.com/jazzband/pip-tools/blob/main/CHANGELOG.md) - [Commits](https://github.com/jazzband/pip-tools/compare/6.12.3...6.14.0) --- updated-dependencies: - dependency-name: pip-tools dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements/dev.txt | 44 ++++++++++---------------------------------- 1 file changed, 10 insertions(+), 34 deletions(-) diff --git a/requirements/dev.txt b/requirements/dev.txt index 723c1b1..4e7b0a7 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -6,10 +6,6 @@ # anyio==3.6.2 # via jupyter-server -appnope==0.1.3 - # via - # ipykernel - # ipython argon2-cffi==21.3.0 # via # jupyter-server @@ -32,7 +28,7 @@ backcall==0.2.0 beautifulsoup4==4.12.1 # via nbconvert black==23.3.0 - # via -r requirements/dev.in + # via -r dev.in bleach==6.0.0 # via nbconvert build==0.10.0 @@ -63,7 +59,7 @@ fastcore==1.5.29 fastjsonschema==2.16.3 # via nbformat flake8==6.0.0 - # via -r requirements/dev.in + # via -r dev.in fqdn==1.5.1 # via jsonschema ghapi==1.0.3 @@ -72,12 +68,6 @@ idna==3.4 # via # anyio # jsonschema -importlib-metadata==6.1.0 - # via - # jupyter-client - # nbconvert -importlib-resources==5.12.0 - # via jsonschema ipykernel==6.21.3 # via # ipywidgets @@ -88,7 +78,7 @@ ipykernel==6.21.3 # qtconsole ipython==8.11.0 # via - # -r requirements/dev.in + # -r dev.in # execnb # ipykernel # ipywidgets @@ -117,7 +107,7 @@ jsonschema[format-nongpl]==4.17.3 # jupyter-events # nbformat jupyter==1.0.0 - # via -r requirements/dev.in + # via -r dev.in jupyter-client==8.1.0 # via # ipykernel @@ -131,7 +121,7 @@ jupyter-console==6.6.3 # via jupyter jupyter-core==5.3.0 # via - # -r requirements/dev.in + # -r dev.in # ipykernel # jupyter-client # jupyter-console @@ -167,7 +157,7 @@ mccabe==0.7.0 mistune==2.0.5 # via nbconvert mypy==1.1.1 - # via -r requirements/dev.in + # via -r dev.in mypy-extensions==1.0.0 # via # black @@ -183,7 +173,7 @@ nbconvert==7.2.10 # nbclassic # notebook nbdev==2.3.12 - # via -r requirements/dev.in + # via -r dev.in nbformat==5.8.0 # via # jupyter-server @@ -221,10 +211,8 @@ pexpect==4.8.0 # via ipython pickleshare==0.7.5 # via ipython -pip-tools==6.12.3 - # via -r requirements/dev.in -pkgutil-resolve-name==1.3.10 - # via jsonschema +pip-tools==6.14.0 + # via -r dev.in platformdirs==3.1.1 # via # black @@ -319,12 +307,6 @@ terminado==0.17.1 # notebook tinycss2==1.2.1 # via nbconvert -tomli==2.0.1 - # via - # black - # build - # mypy - # pyproject-hooks tornado==6.2 # via # ipykernel @@ -352,9 +334,7 @@ traitlets==5.9.0 # notebook # qtconsole typing-extensions==4.5.0 - # via - # black - # mypy + # via mypy uri-template==1.2.0 # via jsonschema watchdog==2.3.1 @@ -375,10 +355,6 @@ wheel==0.40.0 # pip-tools widgetsnbextension==4.0.7 # via ipywidgets -zipp==3.15.0 - # via - # importlib-metadata - # importlib-resources # The following packages are considered to be unsafe in a requirements file: # pip From fb2bedffb3268786494ee1f6b1876b2fb7c30bef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 17:38:58 -0600 Subject: [PATCH 2/4] build(deps): Bump pytest-cov from 4.0.0 to 4.1.0 in /requirements (#71) Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.0.0 to 4.1.0. - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.0.0...v4.1.0) --- updated-dependencies: - dependency-name: pytest-cov dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements/test.txt | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/requirements/test.txt b/requirements/test.txt index ac3a29c..aba1465 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -7,23 +7,21 @@ attrs==22.2.0 # via pytest black==23.3.0 - # via -r requirements/test.in + # via -r test.in click==8.1.3 # via - # -r requirements/test.in + # -r test.in # black coverage[toml]==7.2.2 # via pytest-cov -exceptiongroup==1.1.1 - # via pytest flake8==6.0.0 - # via -r requirements/test.in + # via -r test.in iniconfig==2.0.0 # via pytest mccabe==0.7.0 # via flake8 mypy==1.1.1 - # via -r requirements/test.in + # via -r test.in mypy-extensions==1.0.0 # via # black @@ -44,15 +42,7 @@ pyflakes==3.0.1 # via flake8 pytest==7.2.2 # via pytest-cov -pytest-cov==4.0.0 - # via -r requirements/test.in -tomli==2.0.1 - # via - # black - # coverage - # mypy - # pytest +pytest-cov==4.1.0 + # via -r test.in typing-extensions==4.5.0 - # via - # black - # mypy + # via mypy From fa61925e132e380d9e88b8b9e8577dc20dff50cf Mon Sep 17 00:00:00 2001 From: Benjamin Torres Date: Mon, 17 Jul 2023 18:07:51 -0600 Subject: [PATCH 3/4] Pip-compile execution --- requirements/base.txt | 247 +++++++++++++++++++++--------------------- requirements/dev.txt | 154 ++++++++++++++++---------- requirements/test.txt | 40 ++++--- 3 files changed, 243 insertions(+), 198 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index 0d1902a..3f0e755 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -4,84 +4,75 @@ # # pip-compile requirements/base.in # +annotated-types==0.5.0 + # via pydantic antlr4-python3-runtime==4.9.3 # via omegaconf -anyio==3.6.2 +anyio==3.7.1 # via - # httpcore # starlette # watchfiles -argilla==1.4.0 - # via unstructured -attrs==22.2.0 - # via jsonschema -backoff==2.2.1 - # via argilla -beautifulsoup4==4.12.1 +attrs==23.1.0 + # via + # jsonschema + # referencing +beautifulsoup4==4.12.2 # via nbconvert bleach==6.0.0 # via nbconvert -certifi==2022.12.7 - # via - # httpcore - # httpx - # requests - # unstructured +certifi==2023.5.7 + # via requests cffi==1.15.1 # via cryptography -charset-normalizer==3.1.0 +chardet==5.1.0 + # via unstructured +charset-normalizer==3.2.0 # via # pdfminer-six # requests -click==8.1.3 +click==8.1.5 # via # nltk # unstructured-api-tools # uvicorn coloredlogs==15.0.1 # via onnxruntime -commonmark==0.9.1 - # via rich -contourpy==1.0.7 +contourpy==1.1.0 # via matplotlib -cryptography==39.0.2 +cryptography==41.0.2 # via pdfminer-six cycler==0.11.0 # via matplotlib defusedxml==0.7.1 # via nbconvert -deprecated==1.2.13 - # via argilla -effdet==0.3.0 +effdet==0.4.1 # via layoutparser et-xmlfile==1.1.0 # via openpyxl -fastapi==0.94.1 - # via - # unstructured-api-tools - # unstructured-inference -fastjsonschema==2.16.3 +exceptiongroup==1.1.2 + # via anyio +fastapi==0.100.0 + # via unstructured-api-tools +fastjsonschema==2.17.1 # via nbformat -filelock==3.9.1 +filelock==3.12.2 # via # huggingface-hub # torch # transformers -flatbuffers==23.3.3 +filetype==1.2.0 + # via unstructured +flatbuffers==23.5.26 # via onnxruntime -fonttools==4.39.0 +fonttools==4.41.0 # via matplotlib +fsspec==2023.6.0 + # via huggingface-hub h11==0.14.0 - # via - # httpcore - # uvicorn -httpcore==0.16.3 - # via httpx -httptools==0.5.0 # via uvicorn -httpx==0.23.3 - # via argilla -huggingface-hub==0.13.2 +httptools==0.6.0 + # via uvicorn +huggingface-hub==0.16.4 # via # timm # transformers @@ -92,15 +83,15 @@ idna==3.4 # via # anyio # requests - # rfc3986 -importlib-metadata==6.1.0 +importlib-metadata==6.8.0 # via # jupyter-client # markdown # nbconvert -importlib-resources==5.12.0 +importlib-resources==6.0.0 # via # jsonschema + # jsonschema-specifications # matplotlib iopath==0.1.10 # via layoutparser @@ -109,13 +100,15 @@ jinja2==3.1.2 # nbconvert # torch # unstructured-api-tools -joblib==1.2.0 +joblib==1.3.1 # via nltk -jsonschema==4.17.3 +jsonschema==4.18.3 # via nbformat -jupyter-client==8.1.0 +jsonschema-specifications==2023.6.1 + # via jsonschema +jupyter-client==8.3.0 # via nbclient -jupyter-core==5.3.0 +jupyter-core==5.3.1 # via # -r requirements/base.in # jupyter-client @@ -128,34 +121,34 @@ kiwisolver==1.4.4 # via matplotlib layoutparser[layoutmodels,tesseract]==0.3.4 # via unstructured-inference -lxml==4.9.2 +lxml==4.9.3 # via # python-docx # python-pptx # unstructured -markdown==3.4.1 +markdown==3.4.3 # via unstructured -markupsafe==2.1.2 +markupsafe==2.1.3 # via # jinja2 # nbconvert -matplotlib==3.7.1 +matplotlib==3.7.2 # via pycocotools -mistune==2.0.5 +mistune==3.0.1 # via nbconvert -monotonic==1.6 - # via argilla mpmath==1.3.0 # via sympy -mypy==1.1.1 +msg-parser==1.2.0 + # via unstructured +mypy==1.4.1 # via unstructured-api-tools mypy-extensions==1.0.0 # via mypy -nbclient==0.7.3 +nbclient==0.8.0 # via nbconvert -nbconvert==7.2.10 +nbconvert==7.7.1 # via unstructured-api-tools -nbformat==5.8.0 +nbformat==5.9.1 # via # nbclient # nbconvert @@ -163,9 +156,8 @@ networkx==3.1 # via torch nltk==3.8.1 # via unstructured -numpy==1.23.5 +numpy==1.24.4 # via - # argilla # contourpy # layoutparser # matplotlib @@ -180,37 +172,39 @@ olefile==0.46 # via msg-parser omegaconf==2.3.0 # via effdet -onnxruntime==1.14.1 +onnxruntime==1.15.1 # via unstructured-inference -opencv-python==4.6.0.66 +opencv-python==4.8.0.74 # via # layoutparser # unstructured-inference openpyxl==3.1.2 # via unstructured -packaging==23.0 +packaging==23.1 # via - # argilla # huggingface-hub # matplotlib # nbconvert # onnxruntime # pytesseract # transformers -pandas==1.5.3 +pandas==2.0.3 # via - # argilla # layoutparser # unstructured pandocfilters==1.5.0 # via nbconvert pdf2image==1.16.3 - # via layoutparser + # via + # layoutparser + # unstructured pdfminer-six==20221105 - # via pdfplumber -pdfplumber==0.8.0 + # via + # pdfplumber + # unstructured +pdfplumber==0.10.0 # via layoutparser -pillow==9.5.0 +pillow==10.0.0 # via # layoutparser # matplotlib @@ -222,30 +216,28 @@ pillow==9.5.0 # unstructured pkgutil-resolve-name==1.3.10 # via jsonschema -platformdirs==3.1.1 +platformdirs==3.9.1 # via jupyter-core portalocker==2.7.0 # via iopath -protobuf==4.22.1 +protobuf==4.23.4 # via onnxruntime pycocotools==2.0.6 # via effdet pycparser==2.21 # via cffi -pydantic==1.10.6 - # via - # argilla - # fastapi -pygments==2.14.0 - # via - # nbconvert - # rich +pydantic==2.0.3 + # via fastapi +pydantic-core==2.3.0 + # via pydantic +pygments==2.15.1 + # via nbconvert pypandoc==1.11 # via unstructured pyparsing==3.0.9 # via matplotlib -pyrsistent==0.19.3 - # via jsonschema +pypdfium2==4.18.0 + # via pdfplumber pytesseract==0.3.10 # via layoutparser python-dateutil==2.8.2 @@ -267,7 +259,7 @@ python-pptx==0.6.21 # via unstructured pytz==2023.3 # via pandas -pyyaml==6.0 +pyyaml==6.0.1 # via # huggingface-hub # layoutparser @@ -275,25 +267,33 @@ pyyaml==6.0 # timm # transformers # uvicorn -pyzmq==25.0.1 +pyzmq==25.1.0 # via jupyter-client ratelimit==2.2.1 # via -r requirements/base.in -regex==2023.3.23 +referencing==0.29.1 + # via + # jsonschema + # jsonschema-specifications +regex==2023.6.3 # via # nltk # transformers -requests==2.28.2 +requests==2.31.0 # via # -r requirements/base.in # huggingface-hub # torchvision # transformers # unstructured -rfc3986[idna2008]==1.5.0 - # via httpx -rich==13.0.1 - # via argilla +rpds-py==0.8.11 + # via + # jsonschema + # referencing +safetensors==0.3.1 + # via + # timm + # transformers scipy==1.10.1 # via layoutparser six==1.16.0 @@ -301,19 +301,18 @@ six==1.16.0 # bleach # python-dateutil sniffio==1.3.0 - # via - # anyio - # httpcore - # httpx -soupsieve==2.4 + # via anyio +soupsieve==2.4.1 # via beautifulsoup4 -starlette==0.26.1 +starlette==0.27.0 # via fastapi -sympy==1.11.1 +sympy==1.12 # via # onnxruntime # torch -timm==0.6.13 +tabulate==0.9.0 + # via unstructured +timm==0.9.2 # via effdet tinycss2==1.2.1 # via nbconvert @@ -321,22 +320,21 @@ tokenizers==0.13.3 # via transformers tomli==2.0.1 # via mypy -torch==2.0.0 +torch==2.0.1 # via # effdet # layoutparser # timm # torchvision -torchvision==0.15.1 +torchvision==0.15.2 # via # effdet # layoutparser # timm -tornado==6.2 +tornado==6.3.2 # via jupyter-client tqdm==4.65.0 # via - # argilla # huggingface-hub # iopath # nltk @@ -348,57 +346,54 @@ traitlets==5.9.0 # nbclient # nbconvert # nbformat -transformers==4.27.0 +transformers==4.30.2 # via unstructured-inference -types-requests==2.28.11.17 +types-requests==2.31.0.1 # via unstructured-api-tools -types-ujson==5.7.0.1 +types-ujson==5.8.0.0 # via unstructured-api-tools -types-urllib3==1.26.25.10 +types-urllib3==1.26.25.13 # via types-requests -typing-extensions==4.5.0 +typing-extensions==4.7.1 # via + # annotated-types + # fastapi # huggingface-hub # iopath # mypy # pydantic - # rich + # pydantic-core # starlette # torch - # torchvision -unstructured[local-inference]==0.5.4 +tzdata==2023.3 + # via pandas +unstructured[local-inference]==0.8.1 # via -r requirements/base.in unstructured-api-tools==0.5.0 # via -r requirements/base.in -unstructured-inference==0.2.11 +unstructured-inference==0.5.5 # via # -r requirements/base.in # unstructured -urllib3==1.26.15 +urllib3==2.0.3 # via requests -uvicorn[standard]==0.21.0 - # via - # unstructured-api-tools - # unstructured-inference +uvicorn[standard]==0.23.0 + # via unstructured-api-tools uvloop==0.17.0 # via uvicorn -wand==0.6.11 - # via pdfplumber watchfiles==0.19.0 # via uvicorn webencodings==0.5.1 # via # bleach # tinycss2 -websockets==11.0 +websockets==11.0.3 # via uvicorn -wrapt==1.14.1 - # via - # argilla - # deprecated -xlsxwriter==3.0.9 +xlrd==2.0.1 + # via unstructured +xlsxwriter==3.1.2 # via python-pptx -zipp==3.15.0 +zipp==3.16.2 # via # importlib-metadata # importlib-resources diff --git a/requirements/dev.txt b/requirements/dev.txt index 4e7b0a7..1fc2c27 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -4,8 +4,12 @@ # # pip-compile requirements/dev.in # -anyio==3.6.2 +anyio==3.7.1 # via jupyter-server +appnope==0.1.3 + # via + # ipykernel + # ipython argon2-cffi==21.3.0 # via # jupyter-server @@ -21,32 +25,36 @@ asttokens==2.2.1 # stack-data astunparse==1.6.3 # via nbdev -attrs==22.2.0 - # via jsonschema +attrs==23.1.0 + # via + # jsonschema + # referencing backcall==0.2.0 # via ipython -beautifulsoup4==4.12.1 +beautifulsoup4==4.12.2 # via nbconvert -black==23.3.0 - # via -r dev.in +black==23.7.0 + # via -r requirements/dev.in bleach==6.0.0 # via nbconvert build==0.10.0 # via pip-tools cffi==1.15.1 # via argon2-cffi-bindings -click==8.1.3 +click==8.1.5 # via # black # pip-tools comm==0.1.3 # via ipykernel -debugpy==1.6.6 +debugpy==1.6.7 # via ipykernel decorator==5.1.1 # via ipython defusedxml==0.7.1 # via nbconvert +exceptiongroup==1.1.2 + # via anyio execnb==0.1.5 # via nbdev executing==1.2.0 @@ -56,19 +64,27 @@ fastcore==1.5.29 # execnb # ghapi # nbdev -fastjsonschema==2.16.3 +fastjsonschema==2.17.1 # via nbformat flake8==6.0.0 - # via -r dev.in + # via -r requirements/dev.in fqdn==1.5.1 # via jsonschema -ghapi==1.0.3 +ghapi==1.0.4 # via nbdev idna==3.4 # via # anyio # jsonschema -ipykernel==6.21.3 +importlib-metadata==6.8.0 + # via + # jupyter-client + # nbconvert +importlib-resources==6.0.0 + # via + # jsonschema + # jsonschema-specifications +ipykernel==6.24.0 # via # ipywidgets # jupyter @@ -76,9 +92,9 @@ ipykernel==6.21.3 # nbclassic # notebook # qtconsole -ipython==8.11.0 +ipython==8.12.2 # via - # -r dev.in + # -r requirements/dev.in # execnb # ipykernel # ipywidgets @@ -88,7 +104,7 @@ ipython-genutils==0.2.0 # nbclassic # notebook # qtconsole -ipywidgets==8.0.6 +ipywidgets==8.0.7 # via jupyter isoduration==20.11.0 # via jsonschema @@ -100,15 +116,17 @@ jinja2==3.1.2 # nbclassic # nbconvert # notebook -jsonpointer==2.3 +jsonpointer==2.4 # via jsonschema -jsonschema[format-nongpl]==4.17.3 +jsonschema[format-nongpl]==4.18.3 # via # jupyter-events # nbformat +jsonschema-specifications==2023.6.1 + # via jsonschema jupyter==1.0.0 - # via -r dev.in -jupyter-client==8.1.0 + # via -r requirements/dev.in +jupyter-client==8.3.0 # via # ipykernel # jupyter-console @@ -119,9 +137,9 @@ jupyter-client==8.1.0 # qtconsole jupyter-console==6.6.3 # via jupyter -jupyter-core==5.3.0 +jupyter-core==5.3.1 # via - # -r dev.in + # -r requirements/dev.in # ipykernel # jupyter-client # jupyter-console @@ -134,7 +152,7 @@ jupyter-core==5.3.0 # qtconsole jupyter-events==0.6.3 # via jupyter-server -jupyter-server==2.4.0 +jupyter-server==2.7.0 # via # nbclassic # notebook-shim @@ -142,9 +160,9 @@ jupyter-server-terminals==0.4.4 # via jupyter-server jupyterlab-pygments==0.2.2 # via nbconvert -jupyterlab-widgets==3.0.7 +jupyterlab-widgets==3.0.8 # via ipywidgets -markupsafe==2.1.2 +markupsafe==2.1.3 # via # jinja2 # nbconvert @@ -154,27 +172,27 @@ matplotlib-inline==0.1.6 # ipython mccabe==0.7.0 # via flake8 -mistune==2.0.5 +mistune==3.0.1 # via nbconvert -mypy==1.1.1 - # via -r dev.in +mypy==1.4.1 + # via -r requirements/dev.in mypy-extensions==1.0.0 # via # black # mypy -nbclassic==0.5.3 +nbclassic==1.0.0 # via notebook -nbclient==0.7.3 +nbclient==0.8.0 # via nbconvert -nbconvert==7.2.10 +nbconvert==7.7.1 # via # jupyter # jupyter-server # nbclassic # notebook nbdev==2.3.12 - # via -r dev.in -nbformat==5.8.0 + # via -r requirements/dev.in +nbformat==5.9.1 # via # jupyter-server # nbclassic @@ -186,11 +204,13 @@ nest-asyncio==1.5.6 # ipykernel # nbclassic # notebook -notebook==6.5.3 +notebook==6.5.4 # via jupyter -notebook-shim==0.2.2 +notebook-shim==0.2.3 # via nbclassic -packaging==23.0 +overrides==7.3.1 + # via jupyter-server +packaging==23.1 # via # black # build @@ -211,22 +231,24 @@ pexpect==4.8.0 # via ipython pickleshare==0.7.5 # via ipython -pip-tools==6.14.0 - # via -r dev.in -platformdirs==3.1.1 +pip-tools==7.0.0 + # via -r requirements/dev.in +pkgutil-resolve-name==1.3.10 + # via jsonschema +platformdirs==3.9.1 # via # black # jupyter-core -prometheus-client==0.16.0 +prometheus-client==0.17.1 # via # jupyter-server # nbclassic # notebook -prompt-toolkit==3.0.38 +prompt-toolkit==3.0.39 # via # ipython # jupyter-console -psutil==5.9.4 +psutil==5.9.5 # via ipykernel ptyprocess==0.7.0 # via @@ -240,7 +262,7 @@ pycparser==2.21 # via cffi pyflakes==3.0.1 # via flake8 -pygments==2.14.0 +pygments==2.15.1 # via # ipython # jupyter-console @@ -248,19 +270,17 @@ pygments==2.14.0 # qtconsole pyproject-hooks==1.0.0 # via build -pyrsistent==0.19.3 - # via jsonschema python-dateutil==2.8.2 # via # arrow # jupyter-client python-json-logger==2.0.7 # via jupyter-events -pyyaml==6.0 +pyyaml==6.0.1 # via # jupyter-events # nbdev -pyzmq==25.0.1 +pyzmq==25.1.0 # via # ipykernel # jupyter-client @@ -269,10 +289,14 @@ pyzmq==25.0.1 # nbclassic # notebook # qtconsole -qtconsole==5.4.1 +qtconsole==5.4.3 # via jupyter qtpy==2.3.1 # via qtconsole +referencing==0.29.1 + # via + # jsonschema + # jsonschema-specifications rfc3339-validator==0.1.4 # via # jsonschema @@ -281,7 +305,11 @@ rfc3986-validator==0.1.1 # via # jsonschema # jupyter-events -send2trash==1.8.0 +rpds-py==0.8.11 + # via + # jsonschema + # referencing +send2trash==1.8.2 # via # jupyter-server # nbclassic @@ -295,7 +323,7 @@ six==1.16.0 # rfc3339-validator sniffio==1.3.0 # via anyio -soupsieve==2.4 +soupsieve==2.4.1 # via beautifulsoup4 stack-data==0.6.2 # via ipython @@ -307,7 +335,14 @@ terminado==0.17.1 # notebook tinycss2==1.2.1 # via nbconvert -tornado==6.2 +tomli==2.0.1 + # via + # black + # build + # mypy + # pip-tools + # pyproject-hooks +tornado==6.3.2 # via # ipykernel # jupyter-client @@ -333,11 +368,14 @@ traitlets==5.9.0 # nbformat # notebook # qtconsole -typing-extensions==4.5.0 - # via mypy -uri-template==1.2.0 +typing-extensions==4.7.1 + # via + # black + # ipython + # mypy +uri-template==1.3.0 # via jsonschema -watchdog==2.3.1 +watchdog==3.0.0 # via nbdev wcwidth==0.2.6 # via prompt-toolkit @@ -347,14 +385,18 @@ webencodings==0.5.1 # via # bleach # tinycss2 -websocket-client==1.5.1 +websocket-client==1.6.1 # via jupyter-server wheel==0.40.0 # via # astunparse # pip-tools -widgetsnbextension==4.0.7 +widgetsnbextension==4.0.8 # via ipywidgets +zipp==3.16.2 + # via + # importlib-metadata + # importlib-resources # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/test.txt b/requirements/test.txt index aba1465..aa25428 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -4,45 +4,53 @@ # # pip-compile requirements/test.in # -attrs==22.2.0 - # via pytest -black==23.3.0 - # via -r test.in +black==23.7.0 + # via -r requirements/test.in click==8.1.3 # via - # -r test.in + # -r requirements/test.in # black -coverage[toml]==7.2.2 +coverage[toml]==7.2.7 # via pytest-cov +exceptiongroup==1.1.2 + # via pytest flake8==6.0.0 - # via -r test.in + # via -r requirements/test.in iniconfig==2.0.0 # via pytest mccabe==0.7.0 # via flake8 -mypy==1.1.1 - # via -r test.in +mypy==1.4.1 + # via -r requirements/test.in mypy-extensions==1.0.0 # via # black # mypy -packaging==23.0 +packaging==23.1 # via # black # pytest pathspec==0.11.1 # via black -platformdirs==3.1.1 +platformdirs==3.9.1 # via black -pluggy==1.0.0 +pluggy==1.2.0 # via pytest pycodestyle==2.10.0 # via flake8 pyflakes==3.0.1 # via flake8 -pytest==7.2.2 +pytest==7.4.0 # via pytest-cov pytest-cov==4.1.0 - # via -r test.in -typing-extensions==4.5.0 - # via mypy + # via -r requirements/test.in +tomli==2.0.1 + # via + # black + # coverage + # mypy + # pytest +typing-extensions==4.7.1 + # via + # black + # mypy From 29c68e4c2ec689d7f3bb386d596f6572a9e3524c Mon Sep 17 00:00:00 2001 From: Benjamin Torres Date: Mon, 17 Jul 2023 18:21:02 -0600 Subject: [PATCH 4/4] Linting --- prepline_oer/api/raters.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/prepline_oer/api/raters.py b/prepline_oer/api/raters.py index 7e8ca34..9627ead 100644 --- a/prepline_oer/api/raters.py +++ b/prepline_oer/api/raters.py @@ -94,9 +94,7 @@ def partition_oer(layout: DocumentLayout): return {"pages": pages} -BLOCK_TITLE_PATTTERN = ( - r"c. (SIGNIFICANT DUTIES AND RESPONSIBILITIES|COMMENTS ON POTENTIAL):?" -) +BLOCK_TITLE_PATTTERN = r"c. (SIGNIFICANT DUTIES AND RESPONSIBILITIES|COMMENTS ON POTENTIAL):?" NAME_OCR_WHITESPACE = r"\.?_*[\n\r\s]*" @@ -184,8 +182,7 @@ def structure_oer(pages): "position": flat_elements["senior_position"], "comments": flat_elements["senior_rater_comments"], "next_assignment": [ - clean_extra_whitespace(text) - for text in flat_elements["next_assignments"].split(";") + clean_extra_whitespace(text) for text in flat_elements["next_assignments"].split(";") ], }