diff --git a/account_invoice_import_simple_pdf/__manifest__.py b/account_invoice_import_simple_pdf/__manifest__.py index 62111358f0..f157a716ca 100644 --- a/account_invoice_import_simple_pdf/__manifest__.py +++ b/account_invoice_import_simple_pdf/__manifest__.py @@ -16,7 +16,7 @@ "python": [ "regex", "dateparser", - "pypdf>=3.1.0", + "pypdf>=3.1.0,<5.0", ], "deb": ["libmupdf-dev", "mupdf", "mupdf-tools", "poppler-utils"], }, diff --git a/pdf_helper/__manifest__.py b/pdf_helper/__manifest__.py index f59b56b1cf..f565a3189b 100644 --- a/pdf_helper/__manifest__.py +++ b/pdf_helper/__manifest__.py @@ -15,5 +15,5 @@ "depends": [ "base", ], - "external_dependencies": {"python": ["pypdf"]}, + "external_dependencies": {"python": ["pypdf>=3.1.0,<5.0"]}, } diff --git a/requirements.txt b/requirements.txt index d72b73d55c..c286b36efc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,8 +4,7 @@ factur-x invoice2data ovh phonenumbers -pypdf -pypdf>=3.1.0 +pypdf>=3.1.0,<5.0 pyyaml regex xmlschema