fix: remove [ocr] extra to fix wheel install (#42)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2024-08-22 09:25:19 +02:00 committed by GitHub
parent 47c6dab6d2
commit 69952682ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 8 deletions

5
poetry.lock generated
View File

@ -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"

View File

@ -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"