Skip to content

Commit 2b31050

Browse files
authored
Update soupsieve to 4.0.1 in the file extractor (#1661)
* Update soupsieve to 4.0.1 in the file extractor * Tag the file extractor image 3 so a deploy rebuilds it
1 parent 46698c9 commit 2b31050

7 files changed

Lines changed: 19 additions & 13 deletions

File tree

‎deploy/ee/file-extractor/compile-requirements.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ set -eu
99
DIR="$(cd "$(dirname "$0")" && pwd)"
1010
cd "$DIR"
1111
UV="${UV:-uv}"
12-
CUTOFF="${CUTOFF:-2026-10-17T23:59:59Z}"
12+
CUTOFF="${CUTOFF:-2026-11-04T23:59:59Z}"
1313
HEADER="# Licensed under the AnythingMCP Commercial License, see deploy/ee/LICENSE."
1414
COMMON="--universal --python-version 3.12 --exclude-newer $CUTOFF --generate-hashes --quiet"
1515

‎deploy/ee/file-extractor/requirements-dev.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Licensed under the AnythingMCP Commercial License, see deploy/ee/LICENSE.
22
# This file was autogenerated by uv via the following command:
3-
# uv pip compile --universal --python-version 3.12 --exclude-newer 2026-10-17T23:59:59Z --generate-hashes requirements-dev.in -c requirements.txt -o requirements-dev.txt
3+
# uv pip compile --universal --python-version 3.12 --exclude-newer 2026-11-04T23:59:59Z --generate-hashes requirements-dev.in -c requirements.txt -o requirements-dev.txt
44
anyio==4.15.1 \
55
--hash=sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101 \
66
--hash=sha256:9f28306018cbd6d329e64a36d58256edff76dd996fe423bc957326e578b82a94

‎deploy/ee/file-extractor/requirements-ocr.txt‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Licensed under the AnythingMCP Commercial License, see deploy/ee/LICENSE.
22
# This file was autogenerated by uv via the following command:
3-
# uv pip compile --universal --python-version 3.12 --exclude-newer 2026-10-17T23:59:59Z --generate-hashes requirements.in requirements-ocr.in --override ocr-overrides.txt -c requirements.txt -o requirements-ocr.txt
3+
# uv pip compile --universal --python-version 3.12 --exclude-newer 2026-11-04T23:59:59Z --generate-hashes requirements.in requirements-ocr.in --override ocr-overrides.txt -c requirements.txt -o requirements-ocr.txt
44
annotated-doc==0.0.5 \
55
--hash=sha256:117bac03a25ede5df5440e855b32d556049ca169ead221505badf432fed4b101 \
66
--hash=sha256:c7e58ce09192557605d8bbd92836d7e1d520ac9580096042c0bfd197efacf1bb
@@ -1302,11 +1302,12 @@ six==1.17.0 \
13021302
--hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
13031303
--hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
13041304
# via rapidocr-onnxruntime
1305-
soupsieve==3.0.3 \
1306-
--hash=sha256:7dcf6022eed0399eb9934a75e020148f7a2024c37b7dfcd3cf2c5505d69c364e \
1307-
--hash=sha256:fa30e3ba4809cb81ce1f3209f2fbe3e779fc445f0439bc147a0d7c4601743f21
1305+
soupsieve==4.0.1 \
1306+
--hash=sha256:2e68cf7dd5a0f29d81f9d485275ccf294e6475f615e211895d91cb81f8614f04 \
1307+
--hash=sha256:7621e3c5f6b371ed2c5eabaac5de300ac3d66d05e6d7f34783e31b63c4f90c75
13081308
# via
13091309
# -c requirements.txt
1310+
# -r requirements.in
13101311
# beautifulsoup4
13111312
starlette==1.8.0 \
13121313
--hash=sha256:1565dc0b35d5737a271ed1e0e04e949f4e81198799f216d2667b0a0fb9cf9522 \

‎deploy/ee/file-extractor/requirements.in‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ python-pptx==1.0.2
1414
striprtf==0.0.33
1515
extract-msg==0.56.1
1616
pyxlsb==1.0.10
17+
# Security floor for a transitive dependency (beautifulsoup4, via extract-msg):
18+
# soupsieve < 4.0.0 has a polynomial-time selector match (Dependabot #134/#135).
19+
soupsieve>=4.0.0

‎deploy/ee/file-extractor/requirements.txt‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Licensed under the AnythingMCP Commercial License, see deploy/ee/LICENSE.
22
# This file was autogenerated by uv via the following command:
3-
# uv pip compile --universal --python-version 3.12 --exclude-newer 2026-10-17T23:59:59Z --generate-hashes requirements.in -o requirements.txt
3+
# uv pip compile --universal --python-version 3.12 --exclude-newer 2026-11-04T23:59:59Z --generate-hashes requirements.in -o requirements.txt
44
annotated-doc==0.0.5 \
55
--hash=sha256:117bac03a25ede5df5440e855b32d556049ca169ead221505badf432fed4b101 \
66
--hash=sha256:c7e58ce09192557605d8bbd92836d7e1d520ac9580096042c0bfd197efacf1bb
@@ -895,10 +895,12 @@ rtfde==0.1.2.2 \
895895
--hash=sha256:2f0cd6ecd644071e39452e6fc4f4a1435453af0ec7c90ea86fb4fc96010c7f1b \
896896
--hash=sha256:d43868c74f21ae9ea5acbfd4176d5de1f2cfae0ff7f267698471c606287c04ec
897897
# via extract-msg
898-
soupsieve==3.0.3 \
899-
--hash=sha256:7dcf6022eed0399eb9934a75e020148f7a2024c37b7dfcd3cf2c5505d69c364e \
900-
--hash=sha256:fa30e3ba4809cb81ce1f3209f2fbe3e779fc445f0439bc147a0d7c4601743f21
901-
# via beautifulsoup4
898+
soupsieve==4.0.1 \
899+
--hash=sha256:2e68cf7dd5a0f29d81f9d485275ccf294e6475f615e211895d91cb81f8614f04 \
900+
--hash=sha256:7621e3c5f6b371ed2c5eabaac5de300ac3d66d05e6d7f34783e31b63c4f90c75
901+
# via
902+
# -r requirements.in
903+
# beautifulsoup4
902904
starlette==1.8.0 \
903905
--hash=sha256:1565dc0b35d5737a271ed1e0e04e949f4e81198799f216d2667b0a0fb9cf9522 \
904906
--hash=sha256:dfdd6b29c26483288088d990eee59631dedadd66ce20d203402a7ca8e3c4656f

‎docker-compose.cloud.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ services:
432432
max-file: "5"
433433

434434
file-extractor:
435-
image: ${FILE_EXTRACTOR_IMAGE:-anythingmcp-file-extractor:2}
435+
image: ${FILE_EXTRACTOR_IMAGE:-anythingmcp-file-extractor:3}
436436
build:
437437
context: ./deploy/ee/file-extractor
438438
profiles: [files]

‎docker-compose.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ services:
332332
file-extractor:
333333
build:
334334
context: ./deploy/ee/file-extractor
335-
image: anythingmcp-file-extractor:2
335+
image: anythingmcp-file-extractor:3
336336
profiles: ["files"]
337337
container_name: ${COMPOSE_PROJECT_NAME:-amcp}-file-extractor
338338
environment:

0 commit comments

Comments
 (0)