From 69952682edd014a3f252e9c87edffa7c34f1033b Mon Sep 17 00:00:00 2001 From: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:25:19 +0200 Subject: [PATCH] fix: remove [ocr] extra to fix wheel install (#42) Signed-off-by: Michele Dolfi --- poetry.lock | 5 +---- pyproject.toml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index b23d6407..4b24f128 100644 --- a/poetry.lock +++ b/poetry.lock @@ -5139,10 +5139,7 @@ files = [ doc = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more-itertools", "pytest (>=6,!=8.1.*)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy", "pytest-ruff (>=0.2.1)"] -[extras] -ocr = ["easyocr"] - [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "b500d11dcacd08180cf586a5710e94e7686e8cb5c709b20373ff3b65eacc6605" +content-hash = "4b0af4695af17ce1cdbcd04b4c29360cacd866acc77b5a0529749651ee633323" diff --git a/pyproject.toml b/pyproject.toml index 96569441..9c6fac84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ pypdfium2 = "^4.30.0" pydantic-settings = "^2.3.0" huggingface_hub = ">=0.23,<1" requests = "^2.32.3" -easyocr = { version = "^1.7"} +easyocr = "^1.7" docling-parse = "^0.2.0" certifi = ">=2024.7.4" rtree = "^1.3.0" @@ -51,9 +51,6 @@ types-requests = "^2.31.0.2" flake8-pyproject = "^1.2.3" pylint = "^2.17.5" -[tool.poetry.extras] -ocr = ["easyocr"] - [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api"