Skip to content

Commit 15a994e

Browse files
committed
[FIX] pdf_helper: fix issue pypdf 5.0 dropped support for python<=3.7
1 parent a65062e commit 15a994e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

account_invoice_import_simple_pdf/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"python": [
1717
"regex",
1818
"dateparser",
19-
"pypdf>=3.1.0",
19+
"pypdf>=3.1.0,<5.0",
2020
],
2121
"deb": ["libmupdf-dev", "mupdf", "mupdf-tools", "poppler-utils"],
2222
},

pdf_helper/__manifest__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
"depends": [
1616
"base",
1717
],
18-
"external_dependencies": {"python": ["pypdf"]},
18+
"external_dependencies": {"python": ["pypdf>=3.1.0,<5.0"]},
1919
}

requirements.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ factur-x
44
invoice2data
55
ovh
66
phonenumbers
7-
pypdf
8-
pypdf>=3.1.0
7+
pypdf>=3.1.0,<5.0
98
pyyaml
109
regex
1110
xmlschema

0 commit comments

Comments
 (0)