Skip to content

Commit 625255a

Browse files
authored
include pdfminer in base.in (#406)
when removing layoutparser package, there are some packages that installed as a dependency by layoutparser also removed. This PR is to bring back the necessary packages still required by other scripts to pass CI. Previously, included pdfplumber to cover those deps. however, pdfminer version is bounded by pdfplumber in `unstructured`. so instead, explicitly bump the pdfminer version here
1 parent 4d0c20a commit 625255a

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.5
2+
3+
* fix: remove `pdfplumber` but include `pdfminer-six==20240706` to update `pdfminer`
4+
15
## 0.8.4
26

37
* feat: add `text_as_html` and `table_as_cells` to `LayoutElements` class as new attributes

requirements/base.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ transformers>=4.25.1
1313
rapidfuzz
1414
pandas
1515
scipy
16-
pdfplumber
16+
pypdfium2
17+
pdfminer-six==20240706

requirements/base.txt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ filelock==3.16.1
2727
# transformers
2828
flatbuffers==24.12.23
2929
# via onnxruntime
30-
fonttools==4.55.3
30+
fonttools==4.55.4
3131
# via matplotlib
3232
fsspec==2024.12.0
3333
# via
@@ -83,14 +83,11 @@ packaging==24.2
8383
# transformers
8484
pandas==2.2.3
8585
# via -r requirements/base.in
86-
pdfminer-six==20231228
87-
# via pdfplumber
88-
pdfplumber==0.11.5
86+
pdfminer-six==20240706
8987
# via -r requirements/base.in
9088
pillow==11.1.0
9189
# via
9290
# matplotlib
93-
# pdfplumber
9491
# torchvision
9592
protobuf==5.29.3
9693
# via
@@ -101,7 +98,7 @@ pycparser==2.22
10198
pyparsing==3.2.1
10299
# via matplotlib
103100
pypdfium2==4.30.1
104-
# via pdfplumber
101+
# via -r requirements/base.in
105102
python-dateutil==2.9.0.post0
106103
# via
107104
# matplotlib
@@ -135,7 +132,7 @@ sympy==1.13.1
135132
# via
136133
# onnxruntime
137134
# torch
138-
timm==1.0.13
135+
timm==1.0.14
139136
# via -r requirements/base.in
140137
tokenizers==0.21.0
141138
# via transformers
@@ -150,7 +147,7 @@ tqdm==4.67.1
150147
# via
151148
# huggingface-hub
152149
# transformers
153-
transformers==4.48.0
150+
transformers==4.48.1
154151
# via -r requirements/base.in
155152
typing-extensions==4.12.2
156153
# via

requirements/dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ executing==2.1.0
8080
# via stack-data
8181
fastjsonschema==2.21.1
8282
# via nbformat
83-
fonttools==4.55.3
83+
fonttools==4.55.4
8484
# via
8585
# -c requirements/base.txt
8686
# matplotlib
@@ -106,7 +106,7 @@ idna==3.10
106106
# httpx
107107
# jsonschema
108108
# requests
109-
importlib-metadata==8.5.0
109+
importlib-metadata==8.6.1
110110
# via
111111
# build
112112
# jupyter-client
@@ -273,7 +273,7 @@ platformdirs==4.3.6
273273
# jupyter-core
274274
prometheus-client==0.21.1
275275
# via jupyter-server
276-
prompt-toolkit==3.0.48
276+
prompt-toolkit==3.0.50
277277
# via
278278
# ipython
279279
# jupyter-console
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.8.4" # pragma: no cover
1+
__version__ = "0.8.5" # pragma: no cover

0 commit comments

Comments
 (0)