Skip to content

Commit dc30178

Browse files
authored
add min version pin for protobuf to match unstructured repo (#386)
This PR stemmed from removing the `protobuf` pin in `unstructured`. It turned out to be unnecessary to set a pin in this repo, so this PR simply updates the dependencies and addresses some errors that arose during CI (updating the `ruff check` command used in the Makefile and some type hints that were blocking the linting check in CI).
1 parent 7804e0d commit dc30178

File tree

8 files changed

+104
-114
lines changed

8 files changed

+104
-114
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.7.37-dev2
1+
## 0.7.37-dev3
22

33
* refactor: remove layout analysis related code
44
* enhancement: Hide warning about table transformer weights not being loaded

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ check: check-src check-tests check-version
6565
## check-src: runs linters (source only, no tests)
6666
.PHONY: check-src
6767
check-src:
68-
ruff ${PACKAGE_NAME} --line-length 100 --select C4,COM,E,F,I,PLR0402,PT,SIM,UP015,UP018,UP032,UP034 --ignore COM812,PT011,PT012,SIM117
68+
ruff check ${PACKAGE_NAME} --line-length 100 --select C4,COM,E,F,I,PLR0402,PT,SIM,UP015,UP018,UP032,UP034 --ignore COM812,PT011,PT012,SIM117
6969
black --line-length 100 ${PACKAGE_NAME} --check
7070
flake8 ${PACKAGE_NAME}
7171
mypy ${PACKAGE_NAME} --ignore-missing-imports
@@ -92,7 +92,7 @@ check-version:
9292
## tidy: run black
9393
.PHONY: tidy
9494
tidy:
95-
ruff ${PACKAGE_NAME} --fix --line-length 100 --select C4,COM,E,F,I,PLR0402,PT,SIM,UP015,UP018,UP032,UP034 --ignore COM812,PT011,PT012,SIM117
95+
ruff check ${PACKAGE_NAME} --fix --line-length 100 --select C4,COM,E,F,I,PLR0402,PT,SIM,UP015,UP018,UP032,UP034 --ignore COM812,PT011,PT012,SIM117
9696
black --line-length 100 ${PACKAGE_NAME}
9797
black --line-length 100 test_${PACKAGE_NAME}
9898

requirements/base.txt

+32-32
Original file line numberDiff line numberDiff line change
@@ -4,58 +4,58 @@
44
#
55
# pip-compile requirements/base.in
66
#
7-
certifi==2024.6.2
7+
certifi==2024.8.30
88
# via requests
9-
cffi==1.16.0
9+
cffi==1.17.1
1010
# via cryptography
1111
charset-normalizer==3.3.2
1212
# via
1313
# pdfminer-six
1414
# requests
1515
coloredlogs==15.0.1
1616
# via onnxruntime
17-
contourpy==1.2.1
17+
contourpy==1.3.0
1818
# via matplotlib
19-
cryptography==42.0.8
19+
cryptography==43.0.1
2020
# via pdfminer-six
2121
cycler==0.12.1
2222
# via matplotlib
23-
filelock==3.15.4
23+
filelock==3.16.0
2424
# via
2525
# huggingface-hub
2626
# torch
2727
# transformers
2828
flatbuffers==24.3.25
2929
# via onnxruntime
30-
fonttools==4.53.0
30+
fonttools==4.53.1
3131
# via matplotlib
32-
fsspec==2024.6.0
32+
fsspec==2024.9.0
3333
# via
3434
# huggingface-hub
3535
# torch
36-
huggingface-hub==0.23.4
36+
huggingface-hub==0.24.7
3737
# via
3838
# -r requirements/base.in
3939
# timm
4040
# tokenizers
4141
# transformers
4242
humanfriendly==10.0
4343
# via coloredlogs
44-
idna==3.7
44+
idna==3.8
4545
# via requests
46-
importlib-resources==6.4.0
46+
importlib-resources==6.4.5
4747
# via matplotlib
4848
iopath==0.1.10
4949
# via layoutparser
5050
jinja2==3.1.4
5151
# via torch
52-
kiwisolver==1.4.5
52+
kiwisolver==1.4.7
5353
# via matplotlib
5454
layoutparser==0.3.4
5555
# via -r requirements/base.in
5656
markupsafe==2.1.5
5757
# via jinja2
58-
matplotlib==3.9.0
58+
matplotlib==3.9.2
5959
# via -r requirements/base.in
6060
mpmath==1.3.0
6161
# via sympy
@@ -74,9 +74,9 @@ numpy==1.26.4
7474
# scipy
7575
# torchvision
7676
# transformers
77-
onnx==1.16.1
77+
onnx==1.16.2
7878
# via -r requirements/base.in
79-
onnxruntime==1.18.0
79+
onnxruntime==1.19.2
8080
# via -r requirements/base.in
8181
opencv-python==4.10.0.84
8282
# via
@@ -94,24 +94,24 @@ pdf2image==1.17.0
9494
# via layoutparser
9595
pdfminer-six==20231228
9696
# via pdfplumber
97-
pdfplumber==0.11.1
97+
pdfplumber==0.11.4
9898
# via layoutparser
99-
pillow==10.3.0
99+
pillow==10.4.0
100100
# via
101101
# layoutparser
102102
# matplotlib
103103
# pdf2image
104104
# pdfplumber
105105
# torchvision
106-
portalocker==2.10.0
106+
portalocker==2.10.1
107107
# via iopath
108-
protobuf==5.27.1
108+
protobuf==5.28.1
109109
# via
110110
# onnx
111111
# onnxruntime
112112
pycparser==2.22
113113
# via cffi
114-
pyparsing==3.1.2
114+
pyparsing==3.1.4
115115
# via matplotlib
116116
pypdfium2==4.30.0
117117
# via pdfplumber
@@ -121,51 +121,51 @@ python-dateutil==2.9.0.post0
121121
# pandas
122122
python-multipart==0.0.9
123123
# via -r requirements/base.in
124-
pytz==2024.1
124+
pytz==2024.2
125125
# via pandas
126-
pyyaml==6.0.1
126+
pyyaml==6.0.2
127127
# via
128128
# huggingface-hub
129129
# layoutparser
130130
# timm
131131
# transformers
132-
rapidfuzz==3.9.3
132+
rapidfuzz==3.9.7
133133
# via -r requirements/base.in
134-
regex==2024.5.15
134+
regex==2024.9.11
135135
# via transformers
136136
requests==2.32.3
137137
# via
138138
# huggingface-hub
139139
# transformers
140-
safetensors==0.4.3
140+
safetensors==0.4.5
141141
# via
142142
# timm
143143
# transformers
144144
scipy==1.13.1
145145
# via layoutparser
146146
six==1.16.0
147147
# via python-dateutil
148-
sympy==1.12.1
148+
sympy==1.13.2
149149
# via
150150
# onnxruntime
151151
# torch
152-
timm==1.0.7
152+
timm==1.0.9
153153
# via -r requirements/base.in
154154
tokenizers==0.19.1
155155
# via transformers
156-
torch==2.3.1
156+
torch==2.4.1
157157
# via
158158
# -r requirements/base.in
159159
# timm
160160
# torchvision
161-
torchvision==0.18.1
161+
torchvision==0.19.1
162162
# via timm
163-
tqdm==4.66.4
163+
tqdm==4.66.5
164164
# via
165165
# huggingface-hub
166166
# iopath
167167
# transformers
168-
transformers==4.41.2
168+
transformers==4.44.2
169169
# via -r requirements/base.in
170170
typing-extensions==4.12.2
171171
# via
@@ -174,7 +174,7 @@ typing-extensions==4.12.2
174174
# torch
175175
tzdata==2024.1
176176
# via pandas
177-
urllib3==2.2.2
177+
urllib3==2.2.3
178178
# via requests
179-
zipp==3.19.2
179+
zipp==3.20.2
180180
# via importlib-resources

0 commit comments

Comments
 (0)