mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-18 22:46:44 +00:00

* **Removed `ebooklib` as a dependency** `ebooklib` is licensed under AGPL3, which is incompatible with the Apache 2.0 license. Thus it is being removed.
56 lines
2.2 KiB
Plaintext
56 lines
2.2 KiB
Plaintext
####################################################################################################
|
|
# This file can house global constraints that aren't *direct* requirements of the package or any
|
|
# extras. Putting a dependency here will only affect dependency sets that contain them -- in other
|
|
# words, if something does not require a constraint, it will not be installed.
|
|
####################################################################################################
|
|
# NOTE(alan): Pinning to avoid conflicts with downstream ingest-s3
|
|
urllib3<1.27, >=1.25.4
|
|
boto3<1.28.18
|
|
botocore<1.31.18
|
|
# consistency with local-inference-pin
|
|
protobuf<4.24
|
|
# NOTE(robinson) - Required pins for security scans
|
|
jupyter-core>=4.11.2
|
|
wheel>=0.38.1
|
|
# NOTE(robinson) - The following pins are to address
|
|
# vulnerabilities in dependency scans
|
|
certifi>=2023.7.22
|
|
# From pycocotools in local-inference
|
|
pyparsing<3.1.0
|
|
# NOTE(robinson) - Numpy dropped Python 3.8 support in 1.25.0
|
|
numpy<1.25.0
|
|
scipy<1.11.0
|
|
IPython<8.13
|
|
# NOTE(alan) Pinned to avoid error that occurs with 2.4.3:
|
|
# AttributeError: 'ResourcePath' object has no attribute 'collection'
|
|
Office365-REST-Python-Client<2.4.3
|
|
# NOTE(trevor) `unstructured-inference` is set in extra-pdf-image.in to allow
|
|
# unstructured-inference to be upgraded when unstructured library is upgraded
|
|
# https://github.com/Unstructured-IO/unstructured/issues/1458
|
|
# unstructured-inference
|
|
# NOTE(klaijan) - Moved pin from test.in
|
|
# pinning to avoid error in argilla library
|
|
pydantic<2
|
|
# unable to build wheel for arm on 0.3.3+
|
|
safetensors<=0.3.2
|
|
# use the known compatible version of weaviate and unstructured.pytesseract
|
|
unstructured.pytesseract>=0.3.12
|
|
weaviate-client==3.23.2
|
|
# Note(yuming) - pining to avoid conflict with paddle install
|
|
matplotlib==3.7.2
|
|
# NOTE(crag) - pin to available pandas for python 3.8 (at least in CI)
|
|
fsspec==2023.9.1
|
|
pandas<2.0.4
|
|
# 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)
|
|
torch>2
|
|
# pinned in unstructured paddleocr
|
|
opencv-python==4.8.0.76
|
|
opencv-contrib-python==4.8.0.76
|
|
onnxruntime==1.15.1
|
|
platformdirs==3.10.0
|
|
pillow<=10.0.1
|