From eb49cf5e79cd7a38c8212b315a4b64860c35a7b7 Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Fri, 16 Aug 2024 17:03:19 +0200 Subject: [PATCH] feat(unstructured): increased version (#78) --- pyproject.toml | 2 +- requirements-dev.lock | 6 +----- requirements.lock | 6 +----- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index da9721f..31ef909 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ dependencies = [ "python-pptx>=1.0.2", "llama-parse>=0.4.9", "pdf2docx>=0.5.8", - "unstructured[pdf]==0.15.0", + "unstructured[pdf]>=0.15.0", "langchain>=0.2.14", "langchain-community>=0.2.12", "langchain-openai>=0.1.21", diff --git a/requirements-dev.lock b/requirements-dev.lock index 588496e..0f28307 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -403,7 +403,6 @@ packaging==24.1 ; (python_full_version < '3.12.4' and python_version < '3.12') o # via matplotlib # via onnxruntime # via pikepdf - # via pytesseract # via pytest # via transformers # via unstructured-client @@ -439,7 +438,6 @@ pillow==10.4.0 ; (python_full_version < '3.12.4' and python_version < '3.12') or # via pdfplumber # via pikepdf # via pillow-heif - # via pytesseract # via python-pptx # via torchvision # via unstructured-pytesseract @@ -513,8 +511,6 @@ pypdfium2==4.30.0 ; (python_full_version < '3.12.4' and python_version < '3.12') # via pdfplumber pyreadline3==3.4.1 ; sys_platform == 'win32' and ((python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13')) # via humanfriendly -pytesseract==0.3.13 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') - # via unstructured pytest==8.3.2 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') # via pytest-asyncio # via pytest-cov @@ -690,7 +686,7 @@ typing-inspect==0.9.0 ; (python_full_version < '3.12.4' and python_version < '3. # via unstructured-client tzdata==2024.1 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') # via pandas -unstructured==0.15.0 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') +unstructured==0.15.5 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') # via megaparse unstructured-client==0.25.5 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') # via unstructured diff --git a/requirements.lock b/requirements.lock index 16ff2bc..e5390fc 100644 --- a/requirements.lock +++ b/requirements.lock @@ -346,7 +346,6 @@ packaging==24.1 ; (python_full_version < '3.12.4' and python_version < '3.12') o # via matplotlib # via onnxruntime # via pikepdf - # via pytesseract # via transformers # via unstructured-client # via unstructured-pytesseract @@ -375,7 +374,6 @@ pillow==10.4.0 ; (python_full_version < '3.12.4' and python_version < '3.12') or # via pdfplumber # via pikepdf # via pillow-heif - # via pytesseract # via python-pptx # via torchvision # via unstructured-pytesseract @@ -429,8 +427,6 @@ pypdfium2==4.30.0 ; (python_full_version < '3.12.4' and python_version < '3.12') # via pdfplumber pyreadline3==3.4.1 ; sys_platform == 'win32' and ((python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13')) # via humanfriendly -pytesseract==0.3.13 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') - # via unstructured python-dateutil==2.9.0.post0 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') # via matplotlib # via pandas @@ -577,7 +573,7 @@ typing-inspect==0.9.0 ; (python_full_version < '3.12.4' and python_version < '3. # via unstructured-client tzdata==2024.1 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') # via pandas -unstructured==0.15.0 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') +unstructured==0.15.5 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') # via megaparse unstructured-client==0.25.5 ; (python_full_version < '3.12.4' and python_version < '3.12') or (python_full_version < '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version < '3.12.4' and python_version >= '3.13') or (python_full_version >= '3.12.4' and python_version < '3.12') or (python_full_version >= '3.12.4' and python_version < '3.13' and python_version >= '3.12') or (python_full_version >= '3.12.4' and python_version >= '3.13') # via unstructured