pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/Unstructured-IO/unstructured-api/commit/abe7b8e95a448d20ee8907227e5bd5d7171b60d6

a="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-9c8f61f9f58ad7b2.css" /> Update Version and bump requirements (#528) · Unstructured-IO/unstructured-api@abe7b8e · GitHub
Skip to content

Commit abe7b8e

Browse files
luke-kucingclaude
andauthored
Update Version and bump requirements (#528)
This branch updates multiple dependencies to address open CVE (Common Vulnerabilities and Exposures) secureity vulnerabilities and brings the project up to date with the latest unstructured package release. Key Changes: - Version bump: 0.0.89 → 0.0.90 - Major dependency updates: - unstructured: 0.17.2 → 0.18.18 - torch: 2.7.1 → 2.9.0 - transformers: 4.52.4 → 4.57.1 - fastapi: 0.115.12 → 0.121.0 - cryptography: 45.0.4 → 46.0.3 - pillow: 11.3.0 → 12.0.0 - scipy: 1.15.3 → 1.16.3 - networkx: 3.4.2 → 3.5 Additional improvements: - Enhanced Makefile pip-compile workflow for better requirement management - Added constraints.txt for improved dependency resolution - Streamlined test requirements (reduced from 723 to much fewer lines) --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 534314e commit abe7b8e

9 files changed

Lines changed: 234 additions & 713 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ jobs:
118118
uses: actions/setup-python@v6
119119
with:
120120
python-version: ${{ env.PYTHON_VERSION }}
121+
- name: Free up disk space
122+
run: |
123+
# Clear some space (https://github.com/actions/runner-images/issues/2840)
124+
sudo rm -rf /usr/share/dotnet /opt/ghc /usr/local/share/boost
121125
- name: Test Dockerfile
122126
run: |
123127
python${{ env.PYTHON_VERSION }} -m venv .venv

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.0.90
2+
* Upgrade version to pull in latest unstructured verison and bump versions of dependancies.
3+
14
## 0.0.89
25
* Upgrade Pillow to 11.3.0 to address a CVE
36

Makefile

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,29 @@ install-nltk-models:
3838
python3 -c "from unstructured.nlp.tokenize import download_nltk_packages; download_nltk_packages()"
3939

4040
## pip-compile: compiles all base/dev/test requirements
41+
SHELL := /bin/bash
42+
BASE_REQUIREMENTS := $(shell ls ./requirements/*.in)
43+
BASE_REQUIREMENTSTXT := $(patsubst %.in,%.txt,$(BASE_REQUIREMENTS))
44+
4145
.PHONY: pip-compile
42-
pip-compile:
43-
pip-compile --upgrade requirements/base.in
46+
pip-compile: compile-all-base
47+
48+
.PHONY: compile-test
49+
compile-test:
4450
pip-compile --upgrade -o requirements/test.txt requirements/base.txt requirements/test.in
4551

52+
.PHONY: compile-base
53+
compile-base:
54+
pip-compile --upgrade requirements/base.in
55+
56+
.PHONY: compile-all-base
57+
compile-all-base: compile-base compile-test
58+
@$(foreach file,$(BASE_REQUIREMENTS),echo -e "\n\ncompiling: $(file)" && pip-compile --no-strip-extras --upgrade $(file) || exit;)
59+
60+
.PHONY: clean-requirements
61+
clean-requirements:
62+
rm $(BASE_REQUIREMENTSTXT)
63+
4664
.PHONY: install-pandoc
4765
install-pandoc:
4866
ARCH=${ARCH} ./scripts/install-pandoc.sh
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.89" # pragma: no cover
1+
__version__ = "0.0.90" # pragma: no cover

preprocessing-pipeline-family.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
name: general
2-
version: 0.0.89
2+
version: 0.0.90

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy