diff --git a/requirements/deps/constraints.txt b/requirements/deps/constraints.txt index 66227427a2..539e119070 100644 --- a/requirements/deps/constraints.txt +++ b/requirements/deps/constraints.txt @@ -18,7 +18,3 @@ botocore<1.34.132 importlib-metadata>=8.5.0 # (austin): Versions below this have a different interface for passing parameters unstructured-client>=0.23.0 -# (yao): torchvision 0.20 deprecates `extension` -torchvision<0.20.0 -# (yao): torchvision 0.19.x requires torch 2.4.1 -torch<=2.4.1 diff --git a/requirements/extra-pdf-image.txt b/requirements/extra-pdf-image.txt index 56deab0d81..4b00e43081 100644 --- a/requirements/extra-pdf-image.txt +++ b/requirements/extra-pdf-image.txt @@ -151,7 +151,7 @@ pdfminer-six==20231228 # pdfplumber pdfplumber==0.11.4 # via layoutparser -pi-heif==0.18.0 +pi-heif==0.20.0 # via -r ./extra-pdf-image.in pikepdf==9.3.0 # via -r ./extra-pdf-image.in @@ -243,7 +243,7 @@ six==1.16.0 # via # -c ./base.txt # python-dateutil -sympy==1.13.3 +sympy==1.13.1 # via # onnxruntime # torch @@ -255,16 +255,14 @@ tokenizers==0.19.1 # via # -c ././deps/constraints.txt # transformers -torch==2.4.1 +torch==2.5.0 # via - # -c ././deps/constraints.txt # effdet # timm # torchvision # unstructured-inference -torchvision==0.19.1 +torchvision==0.20.0 # via - # -c ././deps/constraints.txt # effdet # timm tqdm==4.66.5 diff --git a/requirements/huggingface.txt b/requirements/huggingface.txt index 08430387f0..5741ccdcd5 100644 --- a/requirements/huggingface.txt +++ b/requirements/huggingface.txt @@ -82,16 +82,14 @@ six==1.16.0 # via # -c ./base.txt # langdetect -sympy==1.13.3 +sympy==1.13.1 # via torch tokenizers==0.19.1 # via # -c ././deps/constraints.txt # transformers -torch==2.4.1 - # via - # -c ././deps/constraints.txt - # -r ./huggingface.in +torch==2.5.0 + # via -r ./huggingface.in tqdm==4.66.5 # via # -c ./base.txt diff --git a/test_unstructured/partition/test_api.py b/test_unstructured/partition/test_api.py index f95dd78595..93f36e2e15 100644 --- a/test_unstructured/partition/test_api.py +++ b/test_unstructured/partition/test_api.py @@ -19,8 +19,8 @@ DIRECTORY = pathlib.Path(__file__).parent.resolve() -# NOTE(crag): point to freemium API for now -API_URL = "https://api.unstructured.io/general/v0/general" +# NOTE(yao): point to paid API for now +API_URL = "https://api.unstructuredapp.io/general/v0/general" is_in_ci = os.getenv("CI", "").lower() not in {"", "false", "f", "0"} skip_not_on_main = os.getenv("GITHUB_REF_NAME", "").lower() != "main"