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) security 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 <[email protected]>
1 parent 534314e commit abe7b8e

File tree

9 files changed

+234
-713
lines changed

9 files changed

+234
-713
lines changed

.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)