mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00
build(deps): dependency cleanup (#1102)
Cleans up some pins that were prone to conflicts. All pins belong in constraints.in.
This commit is contained in:
parent
d835fb1086
commit
cb923b96a2
@ -1,7 +1,8 @@
|
||||
## 0.9.3-dev3
|
||||
## 0.9.3
|
||||
|
||||
### Enhancements
|
||||
|
||||
* Pinned dependency cleanup.
|
||||
* Update `partition_csv` to always use `soupparser_fromstring` to parse `html text`
|
||||
* Update `partition_tsv` to always use `soupparser_fromstring` to parse `html text`
|
||||
* Add `metadata.section` to capture epub table of contents data
|
||||
|
14
MANIFEST.in
14
MANIFEST.in
@ -1,17 +1,21 @@
|
||||
include requirements/base.in
|
||||
include requirements/huggingface.in
|
||||
include requirements/local-inference.in
|
||||
include requirements/ingest-s3.in
|
||||
include requirements/ingest-gcs.in
|
||||
include requirements/ingest-dropbox.in
|
||||
include requirements/ingest-azure.in
|
||||
include requirements/ingest-discord.in
|
||||
include requirements/ingest-github.in
|
||||
include requirements/ingest-gitlab.in
|
||||
include requirements/ingest-reddit.in
|
||||
include requirements/ingest-notion.in
|
||||
include requirements/ingest-slack.in
|
||||
include requirements/ingest-wikipedia.in
|
||||
include requirements/ingest-google-drive.in
|
||||
include requirements/ingest-outlook.in
|
||||
include requirements/ingest-onedrive.in
|
||||
include requirements/ingest-gcs.in
|
||||
include requirements/ingest-elasticsearch.in
|
||||
include requirements/ingest-dropbox.in
|
||||
include requirements/ingest-box.in
|
||||
include requirements/ingest-onedrive.in
|
||||
include requirements/ingest-outlook.in
|
||||
include requirements/ingest-confluence.in
|
||||
include requirements/ingest-airtable.in
|
||||
include requirements/ingest-sharepoint.in
|
||||
|
6
Makefile
6
Makefile
@ -165,6 +165,10 @@ install-ingest-confluence:
|
||||
install-ingest-airtable:
|
||||
python3 -m pip install -r requirements/ingest-airtable.txt
|
||||
|
||||
.PHONY: install-ingest-sharepoint
|
||||
install-ingest-sharepoint:
|
||||
python3 -m pip install -r requirements/ingest-sharepoint.txt
|
||||
|
||||
.PHONY: install-unstructured-inference
|
||||
install-unstructured-inference:
|
||||
python3 -m pip install -r requirements/local-inference.txt
|
||||
@ -220,6 +224,8 @@ pip-compile:
|
||||
pip-compile --upgrade requirements/ingest-outlook.in
|
||||
pip-compile --upgrade requirements/ingest-confluence.in
|
||||
pip-compile --upgrade requirements/ingest-airtable.in
|
||||
pip-compile --upgrade requirements/ingest-sharepoint.in
|
||||
pip-compile --upgrade requirements/ingest-notion.in
|
||||
|
||||
## install-project-local: install unstructured into your local python environment
|
||||
.PHONY: install-project-local
|
||||
|
@ -22,5 +22,6 @@ IPython<8.13
|
||||
# NOTE(robinson) - See this issue here
|
||||
# https://github.com/facebookresearch/detectron2/issues/5010
|
||||
Pillow<10.0.0
|
||||
|
||||
cryptography==41.0.2
|
||||
# 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
|
||||
|
@ -68,7 +68,7 @@ defusedxml==0.7.1
|
||||
# via nbconvert
|
||||
distlib==0.3.7
|
||||
# via virtualenv
|
||||
exceptiongroup==1.1.2
|
||||
exceptiongroup==1.1.3
|
||||
# via
|
||||
# -c requirements/test.txt
|
||||
# anyio
|
||||
|
@ -7,5 +7,3 @@ pdfminer.six
|
||||
# https://github.com/facebookresearch/detectron2/issues/5010
|
||||
Pillow<10
|
||||
unstructured-inference==0.5.9
|
||||
# consistency with other ingest-*.in
|
||||
cryptography==41.0.2
|
@ -22,11 +22,8 @@ coloredlogs==15.0.1
|
||||
# via onnxruntime
|
||||
contourpy==1.1.0
|
||||
# via matplotlib
|
||||
cryptography==41.0.2
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# -r requirements/extra-pdf-image.in
|
||||
# pdfminer-six
|
||||
cryptography==41.0.3
|
||||
# via pdfminer-six
|
||||
cycler==0.11.0
|
||||
# via matplotlib
|
||||
effdet==0.4.1
|
||||
@ -127,7 +124,7 @@ protobuf==4.23.4
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# onnxruntime
|
||||
pycocotools==2.0.6
|
||||
pycocotools==2.0.7
|
||||
# via effdet
|
||||
pycparser==2.21
|
||||
# via cffi
|
||||
|
@ -2,5 +2,3 @@
|
||||
-c base.txt
|
||||
adlfs
|
||||
fsspec
|
||||
# consistency with other ingest-*.in
|
||||
cryptography==41.0.2
|
@ -39,10 +39,8 @@ charset-normalizer==3.2.0
|
||||
# -c requirements/base.txt
|
||||
# aiohttp
|
||||
# requests
|
||||
cryptography==41.0.2
|
||||
cryptography==41.0.3
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# -r requirements/ingest-azure.in
|
||||
# azure-identity
|
||||
# azure-storage-blob
|
||||
# msal
|
||||
|
@ -2,5 +2,3 @@
|
||||
-c base.txt
|
||||
boxfs
|
||||
fsspec
|
||||
# consistency with other ingest-*.in
|
||||
cryptography==41.0.2
|
@ -21,11 +21,8 @@ charset-normalizer==3.2.0
|
||||
# via
|
||||
# -c requirements/base.txt
|
||||
# requests
|
||||
cryptography==41.0.2
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# -r requirements/ingest-box.in
|
||||
# boxsdk
|
||||
cryptography==41.0.3
|
||||
# via boxsdk
|
||||
fsspec==2023.6.0
|
||||
# via
|
||||
# -r requirements/ingest-box.in
|
||||
|
@ -74,7 +74,6 @@ protobuf==4.23.4
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# google-api-core
|
||||
# googleapis-common-protos
|
||||
pyasn1==0.5.0
|
||||
# via
|
||||
# pyasn1-modules
|
||||
|
@ -1,7 +1,4 @@
|
||||
-c constraints.in
|
||||
-c base.txt
|
||||
# NOTE - pygithub==1.58.0 fails due to https://github.com/PyGithub/PyGithub/issues/2436
|
||||
# In the future, we can update this to pygithub>1.58.0
|
||||
pygithub==1.58.2
|
||||
# consistency with other ingest-*.in
|
||||
cryptography==41.0.2
|
||||
pygithub>1.58.0
|
||||
|
@ -17,11 +17,8 @@ charset-normalizer==3.2.0
|
||||
# via
|
||||
# -c requirements/base.txt
|
||||
# requests
|
||||
cryptography==41.0.2
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# -r requirements/ingest-github.in
|
||||
# pyjwt
|
||||
cryptography==41.0.3
|
||||
# via pyjwt
|
||||
deprecated==1.2.14
|
||||
# via pygithub
|
||||
idna==3.4
|
||||
@ -30,7 +27,7 @@ idna==3.4
|
||||
# requests
|
||||
pycparser==2.21
|
||||
# via cffi
|
||||
pygithub==1.58.2
|
||||
pygithub==1.59.1
|
||||
# via -r requirements/ingest-github.in
|
||||
pyjwt[crypto]==2.8.0
|
||||
# via pygithub
|
||||
|
@ -12,7 +12,7 @@ certifi==2023.7.22
|
||||
# -c requirements/constraints.in
|
||||
# httpcore
|
||||
# httpx
|
||||
exceptiongroup==1.1.2
|
||||
exceptiongroup==1.1.3
|
||||
# via anyio
|
||||
h11==0.14.0
|
||||
# via httpcore
|
||||
|
@ -1,5 +1,4 @@
|
||||
-c constraints.in
|
||||
-c base.txt
|
||||
msal
|
||||
Office365-REST-Python-Client==2.4.2
|
||||
cryptography==41.0.2
|
||||
Office365-REST-Python-Client<2.4.3
|
||||
|
@ -15,10 +15,8 @@ charset-normalizer==3.2.0
|
||||
# via
|
||||
# -c requirements/base.txt
|
||||
# requests
|
||||
cryptography==41.0.2
|
||||
cryptography==41.0.3
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# -r requirements/ingest-onedrive.in
|
||||
# msal
|
||||
# pyjwt
|
||||
idna==3.4
|
||||
@ -30,7 +28,9 @@ msal==1.23.0
|
||||
# -r requirements/ingest-onedrive.in
|
||||
# office365-rest-python-client
|
||||
office365-rest-python-client==2.4.2
|
||||
# via -r requirements/ingest-onedrive.in
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# -r requirements/ingest-onedrive.in
|
||||
pycparser==2.21
|
||||
# via cffi
|
||||
pyjwt[crypto]==2.8.0
|
||||
|
@ -1,5 +1,4 @@
|
||||
-c constraints.in
|
||||
-c base.txt
|
||||
msal
|
||||
Office365-REST-Python-Client==2.4.2
|
||||
cryptography==41.0.2
|
||||
Office365-REST-Python-Client<2.4.3
|
||||
|
@ -15,10 +15,8 @@ charset-normalizer==3.2.0
|
||||
# via
|
||||
# -c requirements/base.txt
|
||||
# requests
|
||||
cryptography==41.0.2
|
||||
cryptography==41.0.3
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# -r requirements/ingest-outlook.in
|
||||
# msal
|
||||
# pyjwt
|
||||
idna==3.4
|
||||
@ -30,7 +28,9 @@ msal==1.23.0
|
||||
# -r requirements/ingest-outlook.in
|
||||
# office365-rest-python-client
|
||||
office365-rest-python-client==2.4.2
|
||||
# via -r requirements/ingest-outlook.in
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# -r requirements/ingest-outlook.in
|
||||
pycparser==2.21
|
||||
# via cffi
|
||||
pyjwt[crypto]==2.8.0
|
||||
|
@ -1,6 +1,4 @@
|
||||
-c constraints.in
|
||||
-c base.txt
|
||||
msal==1.23.0
|
||||
Office365-REST-Python-Client==2.4.2
|
||||
pyjwt==2.8.0
|
||||
cryptography==41.0.2
|
||||
msal
|
||||
Office365-REST-Python-Client<2.4.3
|
||||
|
@ -15,9 +15,8 @@ charset-normalizer==3.2.0
|
||||
# via
|
||||
# -c requirements/base.txt
|
||||
# requests
|
||||
cryptography==41.0.2
|
||||
cryptography==41.0.3
|
||||
# via
|
||||
# -r requirements/ingest-sharepoint.in
|
||||
# msal
|
||||
# pyjwt
|
||||
idna==3.4
|
||||
@ -29,13 +28,13 @@ msal==1.23.0
|
||||
# -r requirements/ingest-sharepoint.in
|
||||
# office365-rest-python-client
|
||||
office365-rest-python-client==2.4.2
|
||||
# via -r requirements/ingest-sharepoint.in
|
||||
# via
|
||||
# -c requirements/constraints.in
|
||||
# -r requirements/ingest-sharepoint.in
|
||||
pycparser==2.21
|
||||
# via cffi
|
||||
pyjwt[crypto]==2.8.0
|
||||
# via
|
||||
# -r requirements/ingest-sharepoint.in
|
||||
# msal
|
||||
# via msal
|
||||
pytz==2023.3
|
||||
# via office365-rest-python-client
|
||||
requests==2.31.0
|
||||
|
@ -26,7 +26,7 @@ coverage[toml]==7.3.0
|
||||
# via
|
||||
# -r requirements/test.in
|
||||
# pytest-cov
|
||||
exceptiongroup==1.1.2
|
||||
exceptiongroup==1.1.3
|
||||
# via pytest
|
||||
flake8==6.1.0
|
||||
# via -r requirements/test.in
|
||||
|
1
setup.py
1
setup.py
@ -141,6 +141,7 @@ setup(
|
||||
"outlook": load_requirements("requirements/ingest-outlook.in"),
|
||||
"confluence": load_requirements("requirements/ingest-confluence.in"),
|
||||
"airtable": load_requirements("requirements/ingest-airtable.in"),
|
||||
"sharepoint": load_requirements("requirements/ingest-sharepoint.in"),
|
||||
# Legacy extra requirements
|
||||
"huggingface": load_requirements("requirements/huggingface.in"),
|
||||
"local-inference": all_doc_reqs,
|
||||
|
@ -1 +1 @@
|
||||
__version__ = "0.9.3-dev3" # pragma: no cover
|
||||
__version__ = "0.9.3" # pragma: no cover
|
||||
|
Loading…
x
Reference in New Issue
Block a user