Skip to content

Commit 5ea3895

Browse files
authored
unpin pdfminer-six (#415)
- higher versions can have bugs that user have reported - unpin it in the base.in so leaves other packages and user's constrains to resolve it
1 parent 3d52ab6 commit 5ea3895

File tree

6 files changed

+52
-46
lines changed

6 files changed

+52
-46
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.9
2+
3+
* chore: unpin `pdfminer-six` version
4+
15
## 0.8.8
26
* fix: pdfminer-six dependencies
37
* feat: `PageLayout.elements` is now a `cached_property` to reduce unecessary memory and cpu costs

requirements/base.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ rapidfuzz
1414
pandas
1515
scipy
1616
pypdfium2
17-
pdfminer-six>=20240706
17+
pdfminer-six

requirements/base.txt

+17-17
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# pip-compile requirements/base.in
66
#
7-
certifi==2024.12.14
7+
certifi==2025.1.31
88
# via requests
99
cffi==1.17.1
1010
# via cryptography
@@ -16,24 +16,24 @@ coloredlogs==15.0.1
1616
# via onnxruntime
1717
contourpy==1.3.0
1818
# via matplotlib
19-
cryptography==44.0.0
19+
cryptography==44.0.2
2020
# via pdfminer-six
2121
cycler==0.12.1
2222
# via matplotlib
23-
filelock==3.16.1
23+
filelock==3.17.0
2424
# via
2525
# huggingface-hub
2626
# torch
2727
# transformers
28-
flatbuffers==24.12.23
28+
flatbuffers==25.2.10
2929
# via onnxruntime
30-
fonttools==4.55.4
30+
fonttools==4.56.0
3131
# via matplotlib
32-
fsspec==2024.12.0
32+
fsspec==2025.2.0
3333
# via
3434
# huggingface-hub
3535
# torch
36-
huggingface-hub==0.27.1
36+
huggingface-hub==0.29.2
3737
# via
3838
# -r requirements/base.in
3939
# timm
@@ -45,7 +45,7 @@ idna==3.10
4545
# via requests
4646
importlib-resources==6.5.2
4747
# via matplotlib
48-
jinja2==3.1.5
48+
jinja2==3.1.6
4949
# via torch
5050
kiwisolver==1.4.7
5151
# via matplotlib
@@ -89,7 +89,7 @@ pillow==11.1.0
8989
# via
9090
# matplotlib
9191
# torchvision
92-
protobuf==5.29.3
92+
protobuf==6.30.0
9393
# via
9494
# onnx
9595
# onnxruntime
@@ -105,22 +105,22 @@ python-dateutil==2.9.0.post0
105105
# pandas
106106
python-multipart==0.0.20
107107
# via -r requirements/base.in
108-
pytz==2024.2
108+
pytz==2025.1
109109
# via pandas
110110
pyyaml==6.0.2
111111
# via
112112
# huggingface-hub
113113
# timm
114114
# transformers
115-
rapidfuzz==3.11.0
115+
rapidfuzz==3.12.2
116116
# via -r requirements/base.in
117117
regex==2024.11.6
118118
# via transformers
119119
requests==2.32.3
120120
# via
121121
# huggingface-hub
122122
# transformers
123-
safetensors==0.5.2
123+
safetensors==0.5.3
124124
# via
125125
# timm
126126
# transformers
@@ -132,28 +132,28 @@ sympy==1.13.1
132132
# via
133133
# onnxruntime
134134
# torch
135-
timm==1.0.14
135+
timm==1.0.15
136136
# via -r requirements/base.in
137137
tokenizers==0.21.0
138138
# via transformers
139-
torch==2.5.1
139+
torch==2.6.0
140140
# via
141141
# -r requirements/base.in
142142
# timm
143143
# torchvision
144-
torchvision==0.20.1
144+
torchvision==0.21.0
145145
# via timm
146146
tqdm==4.67.1
147147
# via
148148
# huggingface-hub
149149
# transformers
150-
transformers==4.48.1
150+
transformers==4.49.0
151151
# via -r requirements/base.in
152152
typing-extensions==4.12.2
153153
# via
154154
# huggingface-hub
155155
# torch
156-
tzdata==2024.2
156+
tzdata==2025.1
157157
# via pandas
158158
urllib3==2.3.0
159159
# via requests

requirements/dev.txt

+19-17
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ asttokens==3.0.0
2121
# via stack-data
2222
async-lru==2.0.4
2323
# via jupyterlab
24-
attrs==24.3.0
24+
attrs==25.1.0
2525
# via
2626
# jsonschema
2727
# referencing
28-
babel==2.16.0
28+
babel==2.17.0
2929
# via jupyterlab-server
30-
beautifulsoup4==4.12.3
30+
beautifulsoup4==4.13.3
3131
# via nbconvert
3232
bleach[css]==6.2.0
3333
# via nbconvert
3434
build==1.2.2.post1
3535
# via pip-tools
36-
certifi==2024.12.14
36+
certifi==2025.1.31
3737
# via
3838
# -c requirements/base.txt
3939
# -c requirements/test.txt
@@ -65,9 +65,9 @@ cycler==0.12.1
6565
# via
6666
# -c requirements/base.txt
6767
# matplotlib
68-
debugpy==1.8.12
68+
debugpy==1.8.13
6969
# via ipykernel
70-
decorator==5.1.1
70+
decorator==5.2.1
7171
# via ipython
7272
defusedxml==0.7.1
7373
# via nbconvert
@@ -76,11 +76,11 @@ exceptiongroup==1.2.2
7676
# -c requirements/test.txt
7777
# anyio
7878
# ipython
79-
executing==2.1.0
79+
executing==2.2.0
8080
# via stack-data
8181
fastjsonschema==2.21.1
8282
# via nbformat
83-
fonttools==4.55.4
83+
fonttools==4.56.0
8484
# via
8585
# -c requirements/base.txt
8686
# matplotlib
@@ -135,7 +135,7 @@ isoduration==20.11.0
135135
# via jsonschema
136136
jedi==0.19.2
137137
# via ipython
138-
jinja2==3.1.5
138+
jinja2==3.1.6
139139
# via
140140
# -c requirements/base.txt
141141
# jupyter-server
@@ -173,7 +173,7 @@ jupyter-core==5.7.2
173173
# nbclient
174174
# nbconvert
175175
# nbformat
176-
jupyter-events==0.11.0
176+
jupyter-events==0.12.0
177177
# via jupyter-server
178178
jupyter-lsp==2.2.5
179179
# via jupyterlab
@@ -186,7 +186,7 @@ jupyter-server==2.15.0
186186
# notebook-shim
187187
jupyter-server-terminals==0.5.3
188188
# via jupyter-server
189-
jupyterlab==4.3.4
189+
jupyterlab==4.3.5
190190
# via
191191
# jupyter
192192
# notebook
@@ -215,11 +215,11 @@ matplotlib-inline==0.1.7
215215
# via
216216
# ipykernel
217217
# ipython
218-
mistune==3.1.0
218+
mistune==3.1.2
219219
# via nbconvert
220220
nbclient==0.10.2
221221
# via nbconvert
222-
nbconvert==7.16.5
222+
nbconvert==7.16.6
223223
# via
224224
# jupyter
225225
# jupyter-server
@@ -249,6 +249,7 @@ packaging==24.2
249249
# -c requirements/test.txt
250250
# build
251251
# ipykernel
252+
# jupyter-events
252253
# jupyter-server
253254
# jupyterlab
254255
# jupyterlab-server
@@ -277,7 +278,7 @@ prompt-toolkit==3.0.50
277278
# via
278279
# ipython
279280
# jupyter-console
280-
psutil==6.1.1
281+
psutil==7.0.0
281282
# via ipykernel
282283
ptyprocess==0.7.0
283284
# via
@@ -315,13 +316,13 @@ pyyaml==6.0.2
315316
# -c requirements/base.txt
316317
# -c requirements/test.txt
317318
# jupyter-events
318-
pyzmq==26.2.0
319+
pyzmq==26.2.1
319320
# via
320321
# ipykernel
321322
# jupyter-client
322323
# jupyter-console
323324
# jupyter-server
324-
referencing==0.36.1
325+
referencing==0.36.2
325326
# via
326327
# jsonschema
327328
# jsonschema-specifications
@@ -339,7 +340,7 @@ rfc3986-validator==0.1.1
339340
# via
340341
# jsonschema
341342
# jupyter-events
342-
rpds-py==0.22.3
343+
rpds-py==0.23.1
343344
# via
344345
# jsonschema
345346
# referencing
@@ -402,6 +403,7 @@ typing-extensions==4.12.2
402403
# -c requirements/test.txt
403404
# anyio
404405
# async-lru
406+
# beautifulsoup4
405407
# ipython
406408
# mistune
407409
# python-json-logger

requirements/test.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#
77
anyio==4.8.0
88
# via httpx
9-
black==24.10.0
9+
black==25.1.0
1010
# via -r requirements/test.in
11-
certifi==2024.12.14
11+
certifi==2025.1.31
1212
# via
1313
# -c requirements/base.txt
1414
# httpcore
@@ -22,25 +22,25 @@ click==8.1.8
2222
# via
2323
# -r requirements/test.in
2424
# black
25-
coverage[toml]==7.6.10
25+
coverage[toml]==7.6.12
2626
# via
2727
# -r requirements/test.in
2828
# pytest-cov
2929
exceptiongroup==1.2.2
3030
# via
3131
# anyio
3232
# pytest
33-
filelock==3.16.1
33+
filelock==3.17.0
3434
# via
3535
# -c requirements/base.txt
3636
# huggingface-hub
37-
flake8==7.1.1
37+
flake8==7.1.2
3838
# via
3939
# -r requirements/test.in
4040
# flake8-docstrings
4141
flake8-docstrings==1.7.0
4242
# via -r requirements/test.in
43-
fsspec==2024.12.0
43+
fsspec==2025.2.0
4444
# via
4545
# -c requirements/base.txt
4646
# huggingface-hub
@@ -50,7 +50,7 @@ httpcore==1.0.7
5050
# via httpx
5151
httpx==0.28.1
5252
# via -r requirements/test.in
53-
huggingface-hub==0.27.1
53+
huggingface-hub==0.29.2
5454
# via
5555
# -c requirements/base.txt
5656
# -r requirements/test.in
@@ -64,7 +64,7 @@ iniconfig==2.0.0
6464
# via pytest
6565
mccabe==0.7.0
6666
# via flake8
67-
mypy==1.14.1
67+
mypy==1.15.0
6868
# via -r requirements/test.in
6969
mypy-extensions==1.0.0
7070
# via
@@ -94,7 +94,7 @@ pydocstyle==6.3.0
9494
# via flake8-docstrings
9595
pyflakes==3.2.0
9696
# via flake8
97-
pytest==8.3.4
97+
pytest==8.3.5
9898
# via
9999
# pytest-cov
100100
# pytest-mock
@@ -110,7 +110,7 @@ requests==2.32.3
110110
# via
111111
# -c requirements/base.txt
112112
# huggingface-hub
113-
ruff==0.9.2
113+
ruff==0.9.9
114114
# via -r requirements/test.in
115115
sniffio==1.3.1
116116
# via anyio

unstructured_inference/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.8.8" # pragma: no cover
1+
__version__ = "0.8.9" # pragma: no cover

0 commit comments

Comments
 (0)