From df12235e1d4b03f6c589c669db34a7973199b272 Mon Sep 17 00:00:00 2001 From: thien Date: Thu, 19 Sep 2024 15:42:20 +0700 Subject: [PATCH] [FIX] fix issue pypdf 5.0 dropped support for python<=3.7 --- requirements.txt | 3 +++ test-requirements.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/requirements.txt b/requirements.txt index 4022d125a1..09cd49accf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,7 @@ # generated from manifests external_dependencies +# The factur-x library requires pypdf >=3.15.0 +# pypdf 5.0 dropped support for python<=3.7 +pypdf>=3.15.0,<5.0 factur-x invoice2data==0.3.5 ovh diff --git a/test-requirements.txt b/test-requirements.txt index 5c4163411a..7d60827d03 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,4 @@ invoice2data==0.3.5 freezegun odoo_test_helper +pypdf>=3.15.0,<5.0