From e536b29479442ad8816da04658a166e54005e0a7 Mon Sep 17 00:00:00 2001 From: John <43506685+Coniferish@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:00:16 -0400 Subject: [PATCH] remove anyio pin --- CHANGELOG.md | 2 +- requirements/base.txt | 11 +++++------ requirements/deps/constraints.txt | 2 -- requirements/dev.txt | 8 ++++---- requirements/extra-docx.txt | 2 +- requirements/extra-markdown.txt | 2 +- requirements/extra-odt.txt | 2 +- requirements/extra-paddleocr.txt | 4 ++-- requirements/extra-pdf-image.txt | 6 +++--- requirements/extra-pptx.txt | 2 +- requirements/huggingface.txt | 2 +- requirements/ingest/astradb.txt | 7 +++++-- requirements/ingest/azure.txt | 2 +- requirements/ingest/chroma.txt | 8 ++++---- requirements/ingest/discord.txt | 2 +- requirements/ingest/elasticsearch.txt | 2 +- requirements/ingest/embed-aws-bedrock.txt | 4 ++-- requirements/ingest/embed-huggingface.txt | 4 ++-- requirements/ingest/embed-octoai.txt | 6 +++--- requirements/ingest/embed-openai.txt | 10 +++++----- requirements/ingest/embed-vertexai.txt | 4 ++-- requirements/ingest/embed-voyageai.txt | 4 ++-- requirements/ingest/gcs.txt | 2 +- requirements/ingest/notion.txt | 7 +++++-- requirements/ingest/onedrive.txt | 2 +- requirements/ingest/outlook.txt | 2 +- requirements/ingest/qdrant.txt | 4 ++-- requirements/ingest/s3.txt | 4 ++-- requirements/ingest/salesforce.txt | 2 +- requirements/ingest/sftp.txt | 2 +- requirements/ingest/sharepoint.txt | 2 +- requirements/ingest/singlestore.txt | 2 +- requirements/ingest/weaviate.txt | 4 ++-- requirements/test.txt | 2 +- unstructured/__version__.py | 2 +- 35 files changed, 68 insertions(+), 65 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 539ac63a8c..02ef78a2b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.15.2-dev6 +## 0.15.2-dev7 ### Enhancements diff --git a/requirements/base.txt b/requirements/base.txt index 6f6c32d9f6..a535a5e331 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -4,10 +4,8 @@ # # pip-compile ./base.in # -anyio==3.7.1 - # via - # -c ././deps/constraints.txt - # httpx +anyio==4.4.0 + # via httpx backoff==2.2.1 # via -r ./base.in beautifulsoup4==4.12.3 @@ -57,7 +55,7 @@ jsonpath-python==1.0.6 # via unstructured-client langdetect==1.0.9 # via -r ./base.in -lxml==5.2.2 +lxml==5.3.0 # via -r ./base.in marshmallow==3.21.3 # via @@ -69,7 +67,7 @@ mypy-extensions==1.0.0 # unstructured-client nest-asyncio==1.6.0 # via unstructured-client -nltk==3.8.1 +nltk==3.8.2 # via -r ./base.in numpy==1.26.4 # via -r ./base.in @@ -121,6 +119,7 @@ tqdm==4.66.5 typing-extensions==4.12.2 # via # -r ./base.in + # anyio # emoji # pypdf # typing-inspect diff --git a/requirements/deps/constraints.txt b/requirements/deps/constraints.txt index f78bc058ae..8a819c776b 100644 --- a/requirements/deps/constraints.txt +++ b/requirements/deps/constraints.txt @@ -24,8 +24,6 @@ pytesseract @ git+https://github.com/madmaze/pytesseract.git@v0.3.13 weaviate-client>3.25.0 # TODO: Pinned in transformers package, remove when that gets updated tokenizers>=0.19,<0.20 -# langchain limits anyio to below 4.0 -anyio<4.0 # NOTE(crag): earlier versions fail in compilation step when pip installing the package pycocotools>=2.0.7 # NOTE(crag): python3.8-python3.11 compat (if it ends up being required) diff --git a/requirements/dev.txt b/requirements/dev.txt index 57c5292f57..f78b20ab9f 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -4,9 +4,8 @@ # # pip-compile ./dev.in # -anyio==3.7.1 +anyio==4.4.0 # via - # -c ././deps/constraints.txt # -c ./base.txt # httpx # jupyter-server @@ -409,6 +408,7 @@ typing-extensions==4.12.2 # via # -c ./base.txt # -c ./test.txt + # anyio # async-lru # ipython uri-template==1.3.0 @@ -423,7 +423,7 @@ virtualenv==20.26.3 # via pre-commit wcwidth==0.2.13 # via prompt-toolkit -webcolors==24.6.0 +webcolors==24.8.0 # via jsonschema webencodings==0.5.1 # via @@ -437,7 +437,7 @@ wheel==0.44.0 # pip-tools widgetsnbextension==4.0.11 # via ipywidgets -zipp==3.19.2 +zipp==3.20.0 # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/extra-docx.txt b/requirements/extra-docx.txt index 3e3df3a684..01e7e2e24b 100644 --- a/requirements/extra-docx.txt +++ b/requirements/extra-docx.txt @@ -4,7 +4,7 @@ # # pip-compile ./extra-docx.in # -lxml==5.2.2 +lxml==5.3.0 # via # -c ./base.txt # python-docx diff --git a/requirements/extra-markdown.txt b/requirements/extra-markdown.txt index d49fa64139..ba1cd8fd59 100644 --- a/requirements/extra-markdown.txt +++ b/requirements/extra-markdown.txt @@ -8,5 +8,5 @@ importlib-metadata==8.2.0 # via markdown markdown==3.6 # via -r ./extra-markdown.in -zipp==3.19.2 +zipp==3.20.0 # via importlib-metadata diff --git a/requirements/extra-odt.txt b/requirements/extra-odt.txt index 759dd0b4c8..9451b480ca 100644 --- a/requirements/extra-odt.txt +++ b/requirements/extra-odt.txt @@ -4,7 +4,7 @@ # # pip-compile ./extra-odt.in # -lxml==5.2.2 +lxml==5.3.0 # via # -c ./base.txt # python-docx diff --git a/requirements/extra-paddleocr.txt b/requirements/extra-paddleocr.txt index 12f215cc90..5c8fb69354 100644 --- a/requirements/extra-paddleocr.txt +++ b/requirements/extra-paddleocr.txt @@ -49,7 +49,7 @@ lanms-neo==1.0.2 # via unstructured-paddleocr lazy-loader==0.4 # via scikit-image -lxml==5.2.2 +lxml==5.3.0 # via # -c ./base.txt # premailer @@ -157,5 +157,5 @@ urllib3==1.26.19 # -c ././deps/constraints.txt # -c ./base.txt # requests -zipp==3.19.2 +zipp==3.20.0 # via importlib-resources diff --git a/requirements/extra-pdf-image.txt b/requirements/extra-pdf-image.txt index 0b349dd177..e9f36b682b 100644 --- a/requirements/extra-pdf-image.txt +++ b/requirements/extra-pdf-image.txt @@ -86,7 +86,7 @@ kiwisolver==1.4.5 # via matplotlib layoutparser==0.3.4 # via unstructured-inference -lxml==5.2.2 +lxml==5.3.0 # via # -c ./base.txt # pikepdf @@ -249,7 +249,7 @@ six==1.16.0 # via # -c ./base.txt # python-dateutil -sympy==1.13.1 +sympy==1.13.2 # via # onnxruntime # torch @@ -301,5 +301,5 @@ wrapt==1.16.0 # -c ././deps/constraints.txt # -c ./base.txt # deprecated -zipp==3.19.2 +zipp==3.20.0 # via importlib-resources diff --git a/requirements/extra-pptx.txt b/requirements/extra-pptx.txt index 42a06959e7..18bbad32ea 100644 --- a/requirements/extra-pptx.txt +++ b/requirements/extra-pptx.txt @@ -4,7 +4,7 @@ # # pip-compile ./extra-pptx.in # -lxml==5.2.2 +lxml==5.3.0 # via python-pptx pillow==10.4.0 # via python-pptx diff --git a/requirements/huggingface.txt b/requirements/huggingface.txt index ff47f92d8e..4f8ce4b1f7 100644 --- a/requirements/huggingface.txt +++ b/requirements/huggingface.txt @@ -85,7 +85,7 @@ six==1.16.0 # via # -c ./base.txt # langdetect -sympy==1.13.1 +sympy==1.13.2 # via torch tokenizers==0.19.1 # via diff --git a/requirements/ingest/astradb.txt b/requirements/ingest/astradb.txt index 3c4682b73a..dfd6f9b943 100644 --- a/requirements/ingest/astradb.txt +++ b/requirements/ingest/astradb.txt @@ -4,10 +4,9 @@ # # pip-compile ./ingest/astradb.in # -anyio==3.7.1 +anyio==4.4.0 # via # -c ./ingest/../base.txt - # -c ./ingest/../deps/constraints.txt # httpx astrapy==1.4.1 # via -r ./ingest/astradb.in @@ -90,6 +89,10 @@ sniffio==1.3.1 # httpx toml==0.10.2 # via astrapy +typing-extensions==4.12.2 + # via + # -c ./ingest/../base.txt + # anyio urllib3==1.26.19 # via # -c ./ingest/../base.txt diff --git a/requirements/ingest/azure.txt b/requirements/ingest/azure.txt index 28707675c8..4d7f4b2815 100644 --- a/requirements/ingest/azure.txt +++ b/requirements/ingest/azure.txt @@ -8,7 +8,7 @@ adlfs==2024.7.0 # via -r ./ingest/azure.in aiohappyeyeballs==2.3.5 # via aiohttp -aiohttp==3.10.2 +aiohttp==3.10.3 # via adlfs aiosignal==1.3.1 # via aiohttp diff --git a/requirements/ingest/chroma.txt b/requirements/ingest/chroma.txt index 888edbc1d9..b57b1e1c0b 100644 --- a/requirements/ingest/chroma.txt +++ b/requirements/ingest/chroma.txt @@ -6,10 +6,9 @@ # annotated-types==0.7.0 # via pydantic -anyio==3.7.1 +anyio==4.4.0 # via # -c ./ingest/../base.txt - # -c ./ingest/../deps/constraints.txt # httpx # starlette # watchfiles @@ -194,7 +193,7 @@ sniffio==1.3.1 # httpx starlette==0.37.2 # via fastapi -sympy==1.13.1 +sympy==1.13.2 # via onnxruntime tenacity==8.5.0 # via @@ -216,6 +215,7 @@ typer==0.9.0 typing-extensions==4.12.2 # via # -c ./ingest/../base.txt + # anyio # chromadb # fastapi # huggingface-hub @@ -247,7 +247,7 @@ wrapt==1.16.0 # -c ./ingest/../deps/constraints.txt # deprecated # opentelemetry-instrumentation -zipp==3.19.2 +zipp==3.20.0 # via # importlib-metadata # importlib-resources diff --git a/requirements/ingest/discord.txt b/requirements/ingest/discord.txt index cb724d49e9..ce1e81cdb8 100644 --- a/requirements/ingest/discord.txt +++ b/requirements/ingest/discord.txt @@ -6,7 +6,7 @@ # aiohappyeyeballs==2.3.5 # via aiohttp -aiohttp==3.10.2 +aiohttp==3.10.3 # via discord-py aiosignal==1.3.1 # via aiohttp diff --git a/requirements/ingest/elasticsearch.txt b/requirements/ingest/elasticsearch.txt index ed66c6b7ab..28e9e7fdc8 100644 --- a/requirements/ingest/elasticsearch.txt +++ b/requirements/ingest/elasticsearch.txt @@ -6,7 +6,7 @@ # aiohappyeyeballs==2.3.5 # via aiohttp -aiohttp==3.10.2 +aiohttp==3.10.3 # via elasticsearch aiosignal==1.3.1 # via aiohttp diff --git a/requirements/ingest/embed-aws-bedrock.txt b/requirements/ingest/embed-aws-bedrock.txt index 331e88a680..1a32b2e791 100644 --- a/requirements/ingest/embed-aws-bedrock.txt +++ b/requirements/ingest/embed-aws-bedrock.txt @@ -6,7 +6,7 @@ # aiohappyeyeballs==2.3.5 # via aiohttp -aiohttp==3.10.2 +aiohttp==3.10.3 # via # langchain # langchain-community @@ -70,7 +70,7 @@ langchain-core==0.2.29 # langchain-text-splitters langchain-text-splitters==0.2.2 # via langchain -langsmith==0.1.98 +langsmith==0.1.99 # via # langchain # langchain-community diff --git a/requirements/ingest/embed-huggingface.txt b/requirements/ingest/embed-huggingface.txt index 21717dafa4..3e28584081 100644 --- a/requirements/ingest/embed-huggingface.txt +++ b/requirements/ingest/embed-huggingface.txt @@ -49,7 +49,7 @@ langchain-core==0.2.29 # via langchain-huggingface langchain-huggingface==0.0.3 # via -r ./ingest/embed-huggingface.in -langsmith==0.1.98 +langsmith==0.1.99 # via langchain-core markupsafe==2.1.5 # via jinja2 @@ -107,7 +107,7 @@ scipy==1.11.3 # sentence-transformers sentence-transformers==3.0.1 # via langchain-huggingface -sympy==1.13.1 +sympy==1.13.2 # via torch tenacity==8.5.0 # via langchain-core diff --git a/requirements/ingest/embed-octoai.txt b/requirements/ingest/embed-octoai.txt index 6ef50a5502..23a5ff4716 100644 --- a/requirements/ingest/embed-octoai.txt +++ b/requirements/ingest/embed-octoai.txt @@ -6,10 +6,9 @@ # annotated-types==0.7.0 # via pydantic -anyio==3.7.1 +anyio==4.4.0 # via # -c ./ingest/../base.txt - # -c ./ingest/../deps/constraints.txt # httpx # openai certifi==2024.7.4 @@ -49,7 +48,7 @@ idna==3.7 # requests jiter==0.5.0 # via openai -openai==1.40.2 +openai==1.40.3 # via -r ./ingest/embed-octoai.in pydantic==2.8.2 # via openai @@ -78,6 +77,7 @@ tqdm==4.66.5 typing-extensions==4.12.2 # via # -c ./ingest/../base.txt + # anyio # openai # pydantic # pydantic-core diff --git a/requirements/ingest/embed-openai.txt b/requirements/ingest/embed-openai.txt index d7024353ef..bfb99f2f24 100644 --- a/requirements/ingest/embed-openai.txt +++ b/requirements/ingest/embed-openai.txt @@ -6,10 +6,9 @@ # annotated-types==0.7.0 # via pydantic -anyio==3.7.1 +anyio==4.4.0 # via # -c ./ingest/../base.txt - # -c ./ingest/../deps/constraints.txt # httpx # openai certifi==2024.7.4 @@ -55,11 +54,11 @@ jsonpointer==3.0.0 # via jsonpatch langchain-core==0.2.29 # via langchain-openai -langchain-openai==0.1.20 +langchain-openai==0.1.21 # via -r ./ingest/embed-openai.in -langsmith==0.1.98 +langsmith==0.1.99 # via langchain-core -openai==1.40.2 +openai==1.40.3 # via langchain-openai orjson==3.10.7 # via langsmith @@ -103,6 +102,7 @@ tqdm==4.66.5 typing-extensions==4.12.2 # via # -c ./ingest/../base.txt + # anyio # langchain-core # openai # pydantic diff --git a/requirements/ingest/embed-vertexai.txt b/requirements/ingest/embed-vertexai.txt index aecf047bc8..b01a62b834 100644 --- a/requirements/ingest/embed-vertexai.txt +++ b/requirements/ingest/embed-vertexai.txt @@ -6,7 +6,7 @@ # aiohappyeyeballs==2.3.5 # via aiohttp -aiohttp==3.10.2 +aiohttp==3.10.3 # via # langchain # langchain-community @@ -120,7 +120,7 @@ langchain-google-vertexai==1.0.8 # via -r ./ingest/embed-vertexai.in langchain-text-splitters==0.2.2 # via langchain -langsmith==0.1.98 +langsmith==0.1.99 # via # langchain # langchain-community diff --git a/requirements/ingest/embed-voyageai.txt b/requirements/ingest/embed-voyageai.txt index f09178a531..50b557367f 100644 --- a/requirements/ingest/embed-voyageai.txt +++ b/requirements/ingest/embed-voyageai.txt @@ -6,7 +6,7 @@ # aiohappyeyeballs==2.3.5 # via aiohttp -aiohttp==3.10.2 +aiohttp==3.10.3 # via # langchain # voyageai @@ -55,7 +55,7 @@ langchain-text-splitters==0.2.2 # via langchain langchain-voyageai==0.1.1 # via -r ./ingest/embed-voyageai.in -langsmith==0.1.98 +langsmith==0.1.99 # via # langchain # langchain-core diff --git a/requirements/ingest/gcs.txt b/requirements/ingest/gcs.txt index 19536895b4..07ac93d7f6 100644 --- a/requirements/ingest/gcs.txt +++ b/requirements/ingest/gcs.txt @@ -6,7 +6,7 @@ # aiohappyeyeballs==2.3.5 # via aiohttp -aiohttp==3.10.2 +aiohttp==3.10.3 # via gcsfs aiosignal==1.3.1 # via aiohttp diff --git a/requirements/ingest/notion.txt b/requirements/ingest/notion.txt index c9c3939231..504d5995ff 100644 --- a/requirements/ingest/notion.txt +++ b/requirements/ingest/notion.txt @@ -4,10 +4,9 @@ # # pip-compile ./ingest/notion.in # -anyio==3.7.1 +anyio==4.4.0 # via # -c ./ingest/../base.txt - # -c ./ingest/../deps/constraints.txt # httpx certifi==2024.7.4 # via @@ -45,3 +44,7 @@ sniffio==1.3.1 # -c ./ingest/../base.txt # anyio # httpx +typing-extensions==4.12.2 + # via + # -c ./ingest/../base.txt + # anyio diff --git a/requirements/ingest/onedrive.txt b/requirements/ingest/onedrive.txt index b0358255f1..d4766d8609 100644 --- a/requirements/ingest/onedrive.txt +++ b/requirements/ingest/onedrive.txt @@ -33,7 +33,7 @@ msal==1.30.0 # via # -r ./ingest/onedrive.in # office365-rest-python-client -office365-rest-python-client==2.5.11 +office365-rest-python-client==2.5.12 # via -r ./ingest/onedrive.in pycparser==2.22 # via cffi diff --git a/requirements/ingest/outlook.txt b/requirements/ingest/outlook.txt index 473e026252..b532ade23e 100644 --- a/requirements/ingest/outlook.txt +++ b/requirements/ingest/outlook.txt @@ -27,7 +27,7 @@ msal==1.30.0 # via # -r ./ingest/outlook.in # office365-rest-python-client -office365-rest-python-client==2.5.11 +office365-rest-python-client==2.5.12 # via -r ./ingest/outlook.in pycparser==2.22 # via cffi diff --git a/requirements/ingest/qdrant.txt b/requirements/ingest/qdrant.txt index 4fd229cc80..7b1fdd6133 100644 --- a/requirements/ingest/qdrant.txt +++ b/requirements/ingest/qdrant.txt @@ -6,10 +6,9 @@ # annotated-types==0.7.0 # via pydantic -anyio==3.7.1 +anyio==4.4.0 # via # -c ./ingest/../base.txt - # -c ./ingest/../deps/constraints.txt # httpx certifi==2024.7.4 # via @@ -74,6 +73,7 @@ sniffio==1.3.1 typing-extensions==4.12.2 # via # -c ./ingest/../base.txt + # anyio # pydantic # pydantic-core urllib3==1.26.19 diff --git a/requirements/ingest/s3.txt b/requirements/ingest/s3.txt index aea41c4bec..ed0380e0fb 100644 --- a/requirements/ingest/s3.txt +++ b/requirements/ingest/s3.txt @@ -4,11 +4,11 @@ # # pip-compile ./ingest/s3.in # -aiobotocore==2.13.1 +aiobotocore==2.13.2 # via s3fs aiohappyeyeballs==2.3.5 # via aiohttp -aiohttp==3.10.2 +aiohttp==3.10.3 # via # aiobotocore # s3fs diff --git a/requirements/ingest/salesforce.txt b/requirements/ingest/salesforce.txt index 29114da44d..a20ed8e2a7 100644 --- a/requirements/ingest/salesforce.txt +++ b/requirements/ingest/salesforce.txt @@ -25,7 +25,7 @@ idna==3.7 # requests isodate==0.6.1 # via zeep -lxml==5.2.2 +lxml==5.3.0 # via # -c ./ingest/../base.txt # zeep diff --git a/requirements/ingest/sftp.txt b/requirements/ingest/sftp.txt index 9d4df3603c..add71cd5b5 100644 --- a/requirements/ingest/sftp.txt +++ b/requirements/ingest/sftp.txt @@ -16,7 +16,7 @@ fsspec==2024.5.0 # via # -c ./ingest/../deps/constraints.txt # -r ./ingest/sftp.in -paramiko==3.4.0 +paramiko==3.4.1 # via -r ./ingest/sftp.in pycparser==2.22 # via cffi diff --git a/requirements/ingest/sharepoint.txt b/requirements/ingest/sharepoint.txt index 3c84d0de9a..5f606f4987 100644 --- a/requirements/ingest/sharepoint.txt +++ b/requirements/ingest/sharepoint.txt @@ -27,7 +27,7 @@ msal==1.30.0 # via # -r ./ingest/sharepoint.in # office365-rest-python-client -office365-rest-python-client==2.5.11 +office365-rest-python-client==2.5.12 # via -r ./ingest/sharepoint.in pycparser==2.22 # via cffi diff --git a/requirements/ingest/singlestore.txt b/requirements/ingest/singlestore.txt index 2a6d094a6a..6d51e2e451 100644 --- a/requirements/ingest/singlestore.txt +++ b/requirements/ingest/singlestore.txt @@ -57,7 +57,7 @@ wheel==0.44.0 # via # -c ./ingest/../deps/constraints.txt # singlestoredb -zipp==3.19.2 +zipp==3.20.0 # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/ingest/weaviate.txt b/requirements/ingest/weaviate.txt index 8d1899bb60..62a9a252df 100644 --- a/requirements/ingest/weaviate.txt +++ b/requirements/ingest/weaviate.txt @@ -6,10 +6,9 @@ # annotated-types==0.7.0 # via pydantic -anyio==3.7.1 +anyio==4.4.0 # via # -c ./ingest/../base.txt - # -c ./ingest/../deps/constraints.txt # httpx authlib==1.3.1 # via weaviate-client @@ -82,6 +81,7 @@ sniffio==1.3.1 typing-extensions==4.12.2 # via # -c ./ingest/../base.txt + # anyio # pydantic # pydantic-core urllib3==1.26.19 diff --git a/requirements/test.txt b/requirements/test.txt index 56487c8736..a34a19e147 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -66,7 +66,7 @@ label-studio-tools==0.0.4 # via label-studio-sdk liccheck==0.9.2 # via -r ./test.in -lxml==5.2.2 +lxml==5.3.0 # via # -c ./base.txt # label-studio-sdk diff --git a/unstructured/__version__.py b/unstructured/__version__.py index b17a9bb28c..56ad20d665 100644 --- a/unstructured/__version__.py +++ b/unstructured/__version__.py @@ -1 +1 @@ -__version__ = "0.15.2-dev6" # pragma: no cover +__version__ = "0.15.2-dev7" # pragma: no cover