Skip to content

Commit afd9118

Browse files
authored
fix(deps): Bump fonttools to address cve (#4125)
<!-- CURSOR_SUMMARY --> > [!NOTE] > Constrain fonttools to >=4.60.2 (CVE-2025-66034), bump extras to 4.61.0, switch setup_ingest to ubuntu-latest-m, and release 0.18.22. > > - **Dependencies**: > - Constrain `fonttools>=4.60.2` in `requirements/deps/constraints.txt` to address CVE-2025-66034. > - Bump `fonttools` to `4.61.0` in `requirements/extra-*.txt`; refresh files via uv and align constraint references. > - **CI**: > - Update `setup_ingest` job in `.github/workflows/ci.yml` to run on `ubuntu-latest-m`. > - **Release**: > - Bump version to `0.18.22` and update `CHANGELOG.md`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 6ec072e. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 91a9888 commit afd9118

File tree

6 files changed

+78
-82
lines changed

6 files changed

+78
-82
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ jobs:
225225
strategy:
226226
matrix:
227227
python-version: ["3.10"]
228-
runs-on: ubuntu-latest
228+
runs-on: ubuntu-latest-m
229229
needs: [setup]
230230
steps:
231231
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.18.22
2+
3+
### Fixes
4+
- Constrain fonttools to >=4.60.2 to address CVE-2025-66034
5+
16
## 0.18.21
27

38
### Enhancement

requirements/deps/constraints.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ unstructured-client>=0.23.0,<0.26.0
1515
protobuf>=6.30.0
1616
# (yao) issues with pdfminer-six above 20250416
1717
pdfminer.six<20250416
18+
# nickf: CVE-2025-66034 fix for fonttools
19+
fonttools>=4.60.2

requirements/extra-paddleocr.txt

Lines changed: 28 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.10
3-
# by the following command:
4-
#
5-
# pip-compile --no-strip-extras ./extra-paddleocr.in
6-
#
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile ./extra-paddleocr.in -o ./extra-paddleocr.txt
73
albucore==0.0.24
84
# via
95
# albumentations
@@ -14,47 +10,45 @@ annotated-types==0.7.0
1410
# via pydantic
1511
anyio==4.11.0
1612
# via
17-
# -c base.txt
13+
# -c ./base.txt
1814
# httpx
1915
beautifulsoup4==4.14.2
2016
# via
21-
# -c base.txt
17+
# -c ./base.txt
2218
# unstructured-paddleocr
2319
certifi==2025.11.12
2420
# via
25-
# -c base.txt
21+
# -c ./base.txt
2622
# httpcore
2723
# httpx
2824
# requests
2925
charset-normalizer==3.4.4
3026
# via
31-
# -c base.txt
27+
# -c ./base.txt
3228
# requests
3329
cython==3.2.1
3430
# via unstructured-paddleocr
35-
exceptiongroup==1.3.0
36-
# via
37-
# -c base.txt
38-
# anyio
3931
fire==0.7.1
4032
# via unstructured-paddleocr
41-
fonttools==4.60.1
42-
# via unstructured-paddleocr
33+
fonttools==4.61.0
34+
# via
35+
# -c ././deps/constraints.txt
36+
# unstructured-paddleocr
4337
h11==0.16.0
4438
# via
45-
# -c base.txt
39+
# -c ./base.txt
4640
# httpcore
4741
httpcore==1.0.9
4842
# via
49-
# -c base.txt
43+
# -c ./base.txt
5044
# httpx
5145
httpx==0.28.1
5246
# via
53-
# -c base.txt
47+
# -c ./base.txt
5448
# paddlepaddle
5549
idna==3.11
5650
# via
57-
# -c base.txt
51+
# -c ./base.txt
5852
# anyio
5953
# httpx
6054
# requests
@@ -64,15 +58,15 @@ lazy-loader==0.4
6458
# via scikit-image
6559
lxml==6.0.2
6660
# via
67-
# -c base.txt
61+
# -c ./base.txt
6862
# python-docx
6963
networkx==3.4.2
7064
# via
7165
# paddlepaddle
7266
# scikit-image
7367
numpy==2.2.6
7468
# via
75-
# -c base.txt
69+
# -c ./base.txt
7670
# albucore
7771
# albumentations
7872
# imageio
@@ -98,11 +92,11 @@ opt-einsum==3.3.0
9892
# via paddlepaddle
9993
packaging==25.0
10094
# via
101-
# -c base.txt
95+
# -c ./base.txt
10296
# lazy-loader
10397
# scikit-image
10498
paddlepaddle==3.2.2
105-
# via -r extra-paddleocr.in
99+
# via -r ./extra-paddleocr.in
106100
pillow==12.0.0
107101
# via
108102
# imageio
@@ -111,7 +105,7 @@ pillow==12.0.0
111105
# unstructured-paddleocr
112106
protobuf==6.33.1
113107
# via
114-
# -c deps/constraints.txt
108+
# -c ././deps/constraints.txt
115109
# paddlepaddle
116110
pyclipper==1.3.0.post6
117111
# via unstructured-paddleocr
@@ -127,11 +121,11 @@ pyyaml==6.0.3
127121
# unstructured-paddleocr
128122
rapidfuzz==3.14.3
129123
# via
130-
# -c base.txt
124+
# -c ./base.txt
131125
# unstructured-paddleocr
132126
requests==2.32.5
133127
# via
134-
# -c base.txt
128+
# -c ./base.txt
135129
# unstructured-paddleocr
136130
safetensors==0.7.0
137131
# via paddlepaddle
@@ -147,11 +141,11 @@ simsimd==6.5.3
147141
# via albucore
148142
sniffio==1.3.1
149143
# via
150-
# -c base.txt
144+
# -c ./base.txt
151145
# anyio
152146
soupsieve==2.8
153147
# via
154-
# -c base.txt
148+
# -c ./base.txt
155149
# beautifulsoup4
156150
stringzilla==4.2.3
157151
# via albucore
@@ -161,14 +155,13 @@ tifffile==2025.5.10
161155
# via scikit-image
162156
tqdm==4.67.1
163157
# via
164-
# -c base.txt
158+
# -c ./base.txt
165159
# unstructured-paddleocr
166160
typing-extensions==4.15.0
167161
# via
168-
# -c base.txt
162+
# -c ./base.txt
169163
# anyio
170164
# beautifulsoup4
171-
# exceptiongroup
172165
# paddlepaddle
173166
# pydantic
174167
# pydantic-core
@@ -177,9 +170,9 @@ typing-extensions==4.15.0
177170
typing-inspection==0.4.2
178171
# via pydantic
179172
unstructured-paddleocr==2.10.0
180-
# via -r extra-paddleocr.in
173+
# via -r ./extra-paddleocr.in
181174
urllib3==2.5.0
182175
# via
183-
# -c base.txt
184-
# -c deps/constraints.txt
176+
# -c ./base.txt
177+
# -c ././deps/constraints.txt
185178
# requests

0 commit comments

Comments
 (0)