Skip to content

Commit

Permalink
chore: remove cryptography pin and update test (#3482)
Browse files Browse the repository at this point in the history
remove cryptography pin, pin tenacity, and update
test_unstructured_ingest/unit/connector/test_salesforce_connector.py
  • Loading branch information
Coniferish authored Aug 7, 2024
1 parent eba12da commit 6545f16
Show file tree
Hide file tree
Showing 38 changed files with 223 additions and 215 deletions.
8 changes: 4 additions & 4 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ python-iso639==2024.4.27
# via -r ./base.in
python-magic==0.4.27
# via -r ./base.in
rapidfuzz==3.9.4
rapidfuzz==3.9.6
# via -r ./base.in
regex==2024.5.15
regex==2024.7.24
# via nltk
requests==2.32.3
# via
Expand All @@ -114,7 +114,7 @@ soupsieve==2.5
# via beautifulsoup4
tabulate==0.9.0
# via -r ./base.in
tqdm==4.66.4
tqdm==4.66.5
# via
# -r ./base.in
# nltk
Expand All @@ -129,7 +129,7 @@ typing-inspect==0.9.0
# via
# dataclasses-json
# unstructured-client
unstructured-client==0.24.1
unstructured-client==0.25.4
# via
# -c ././deps/constraints.txt
# -r ./base.in
Expand Down
4 changes: 0 additions & 4 deletions requirements/deps/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,3 @@ langchain-community>=0.2.5
# NOTE(robinson): choma was pinned to importlib-metadata>=7.1.0 but 7.1.0 was installed
# instead of 7.2.0. Need to investigate
importlib-metadata==7.1.0

# NOTE(robinson) - due to failure in this job
# https://github.com/Unstructured-IO/unstructured/actions/runs/10044201938/job/27762303563?pr=3427
cryptography<43.0.0
16 changes: 8 additions & 8 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ asttokens==2.4.1
# via stack-data
async-lru==2.0.4
# via jupyterlab
attrs==23.2.0
attrs==24.2.0
# via
# -c ./test.txt
# jsonschema
Expand All @@ -49,7 +49,7 @@ certifi==2024.7.4
# httpcore
# httpx
# requests
cffi==1.16.0
cffi==1.17.0
# via argon2-cffi-bindings
cfgv==3.4.0
# via pre-commit
Expand All @@ -67,7 +67,7 @@ comm==0.2.2
# via
# ipykernel
# ipywidgets
debugpy==1.8.2
debugpy==1.8.5
# via ipykernel
decorator==5.1.1
# via ipython
Expand Down Expand Up @@ -268,7 +268,7 @@ platformdirs==3.10.0
# -c ./test.txt
# jupyter-core
# virtualenv
pre-commit==3.7.1
pre-commit==3.8.0
# via -r ./dev.in
prometheus-client==0.20.0
# via jupyter-server
Expand Down Expand Up @@ -306,12 +306,12 @@ python-dateutil==2.9.0.post0
# jupyter-client
python-json-logger==2.0.7
# via jupyter-events
pyyaml==6.0.1
pyyaml==6.0.2
# via
# -c ./test.txt
# jupyter-events
# pre-commit
pyzmq==26.0.3
pyzmq==26.1.0
# via
# ipykernel
# jupyter-client
Expand Down Expand Up @@ -341,7 +341,7 @@ rfc3986-validator==0.1.1
# via
# jsonschema
# jupyter-events
rpds-py==0.19.0
rpds-py==0.20.0
# via
# -c ./test.txt
# jsonschema
Expand Down Expand Up @@ -432,7 +432,7 @@ webencodings==0.5.1
# tinycss2
websocket-client==1.8.0
# via jupyter-server
wheel==0.43.0
wheel==0.44.0
# via
# -c ././deps/constraints.txt
# pip-tools
Expand Down
10 changes: 5 additions & 5 deletions requirements/extra-paddleocr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cssutils==2.11.1
# via premailer
cycler==0.12.1
# via matplotlib
cython==3.0.10
cython==3.0.11
# via unstructured-paddleocr
et-xmlfile==1.1.0
# via openpyxl
Expand Down Expand Up @@ -116,9 +116,9 @@ python-dateutil==2.9.0.post0
# via
# -c ./base.txt
# matplotlib
pyyaml==6.0.1
pyyaml==6.0.2
# via unstructured-paddleocr
rapidfuzz==3.9.4
rapidfuzz==3.9.6
# via
# -c ./base.txt
# unstructured-paddleocr
Expand Down Expand Up @@ -146,9 +146,9 @@ six==1.16.0
# attrdict
# imgaug
# python-dateutil
tifffile==2024.7.21
tifffile==2024.7.24
# via scikit-image
tqdm==4.66.4
tqdm==4.66.5
# via
# -c ./base.txt
# unstructured-paddleocr
Expand Down
38 changes: 18 additions & 20 deletions requirements/extra-pdf-image.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ certifi==2024.7.4
# -c ././deps/constraints.txt
# -c ./base.txt
# requests
cffi==1.16.0
cffi==1.17.0
# via cryptography
charset-normalizer==3.3.2
# via
Expand All @@ -24,10 +24,8 @@ coloredlogs==15.0.1
# via onnxruntime
contourpy==1.2.1
# via matplotlib
cryptography==42.0.8
# via
# -c ././deps/constraints.txt
# pdfminer-six
cryptography==43.0.0
# via pdfminer-six
cycler==0.12.1
# via matplotlib
deprecated==1.2.14
Expand All @@ -54,19 +52,19 @@ google-auth==2.32.0
# via
# google-api-core
# google-cloud-vision
google-cloud-vision==3.7.3
google-cloud-vision==3.7.4
# via -r ./extra-pdf-image.in
googleapis-common-protos==1.63.2
# via
# google-api-core
# grpcio-status
grpcio==1.65.1
grpcio==1.65.4
# via
# google-api-core
# grpcio-status
grpcio-status==1.62.2
grpcio-status==1.62.3
# via google-api-core
huggingface-hub==0.24.1
huggingface-hub==0.24.5
# via
# timm
# tokenizers
Expand Down Expand Up @@ -119,7 +117,7 @@ numpy==1.26.4
# transformers
omegaconf==2.3.0
# via effdet
onnx==1.16.1
onnx==1.16.2
# via
# -r ./extra-pdf-image.in
# unstructured-inference
Expand Down Expand Up @@ -166,7 +164,7 @@ pillow==10.4.0
# pytesseract
# torchvision
# unstructured-pytesseract
pillow-heif==0.17.0
pillow-heif==0.18.0
# via -r ./extra-pdf-image.in
portalocker==2.10.1
# via iopath
Expand Down Expand Up @@ -217,18 +215,18 @@ python-multipart==0.0.9
# via unstructured-inference
pytz==2024.1
# via pandas
pyyaml==6.0.1
pyyaml==6.0.2
# via
# huggingface-hub
# layoutparser
# omegaconf
# timm
# transformers
rapidfuzz==3.9.4
rapidfuzz==3.9.6
# via
# -c ./base.txt
# unstructured-inference
regex==2024.5.15
regex==2024.7.24
# via
# -c ./base.txt
# transformers
Expand All @@ -240,7 +238,7 @@ requests==2.32.3
# transformers
rsa==4.9
# via google-auth
safetensors==0.4.3
safetensors==0.4.4
# via
# timm
# transformers
Expand All @@ -256,30 +254,30 @@ sympy==1.13.1
# via
# onnxruntime
# torch
timm==1.0.7
timm==1.0.8
# via
# effdet
# unstructured-inference
tokenizers==0.19.1
# via transformers
torch==2.3.1
torch==2.4.0
# via
# -c ././deps/constraints.txt
# effdet
# timm
# torchvision
# unstructured-inference
torchvision==0.18.1
torchvision==0.19.0
# via
# effdet
# timm
tqdm==4.66.4
tqdm==4.66.5
# via
# -c ./base.txt
# huggingface-hub
# iopath
# transformers
transformers==4.43.1
transformers==4.44.0
# via unstructured-inference
typing-extensions==4.12.2
# via
Expand Down
2 changes: 2 additions & 0 deletions requirements/extra-pptx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ pillow==10.4.0
# via python-pptx
python-pptx==1.0.1
# via -r ./extra-pptx.in
typing-extensions==4.12.2
# via python-pptx
xlsxwriter==3.2.0
# via python-pptx
14 changes: 7 additions & 7 deletions requirements/huggingface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fsspec==2024.5.0
# -c ././deps/constraints.txt
# huggingface-hub
# torch
huggingface-hub==0.24.1
huggingface-hub==0.24.5
# via
# tokenizers
# transformers
Expand Down Expand Up @@ -61,11 +61,11 @@ packaging==23.2
# -c ./base.txt
# huggingface-hub
# transformers
pyyaml==6.0.1
pyyaml==6.0.2
# via
# huggingface-hub
# transformers
regex==2024.5.15
regex==2024.7.24
# via
# -c ./base.txt
# sacremoses
Expand All @@ -77,7 +77,7 @@ requests==2.32.3
# transformers
sacremoses==0.1.1
# via -r ./huggingface.in
safetensors==0.4.3
safetensors==0.4.4
# via transformers
sentencepiece==0.2.0
# via -r ./huggingface.in
Expand All @@ -89,17 +89,17 @@ sympy==1.13.1
# via torch
tokenizers==0.19.1
# via transformers
torch==2.3.1
torch==2.4.0
# via
# -c ././deps/constraints.txt
# -r ./huggingface.in
tqdm==4.66.4
tqdm==4.66.5
# via
# -c ./base.txt
# huggingface-hub
# sacremoses
# transformers
transformers==4.43.1
transformers==4.44.0
# via -r ./huggingface.in
typing-extensions==4.12.2
# via
Expand Down
14 changes: 5 additions & 9 deletions requirements/ingest/astradb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ anyio==3.7.1
# -c ./ingest/../base.txt
# -c ./ingest/../deps/constraints.txt
# httpx
astrapy==1.4.0
astrapy==1.4.1
# via -r ./ingest/astradb.in
bson==0.5.10
# via astrapy
cassandra-driver==3.29.1
# via cassio
cassio==0.1.8
Expand All @@ -34,6 +32,8 @@ click==8.1.7
# geomet
deprecation==2.1.0
# via astrapy
dnspython==2.6.1
# via pymongo
exceptiongroup==1.2.2
# via
# -c ./ingest/../base.txt
Expand Down Expand Up @@ -73,20 +73,16 @@ packaging==23.2
# -c ./ingest/../base.txt
# -c ./ingest/../deps/constraints.txt
# deprecation
python-dateutil==2.9.0.post0
# via
# -c ./ingest/../base.txt
# bson
pymongo==4.8.0
# via astrapy
requests==2.32.3
# via
# -c ./ingest/../base.txt
# cassio
six==1.16.0
# via
# -c ./ingest/../base.txt
# bson
# geomet
# python-dateutil
sniffio==1.3.1
# via
# -c ./ingest/../base.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/ingest/azure-cognitive-search.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ azure-common==1.1.28
# via azure-search-documents
azure-core==1.30.2
# via azure-search-documents
azure-search-documents==11.5.0
azure-search-documents==11.5.1
# via -r ./ingest/azure-cognitive-search.in
certifi==2024.7.4
# via
Expand Down
Loading

0 comments on commit 6545f16

Please sign in to comment.