We have our Odoo deployed on Debian trixie (with Python 3.13.5), and PyPDF2 doesn't get installed by Odoo's requirements.txt anymore:
PyPDF2==1.26.0 ; python_version <= '3.10'
PyPDF2==2.12.1 ; python_version > '3.10' and python_version < '3.13' # (Noble and below)
PyPDF==5.4.0 ; python_version >= '3.13' # (Trixie)
Now, when installing OCA/sign, it requires PyPDF2 at runtime, but doesn't document it in a requirements.txt file.
Perhaps it would make sense to import Odoo's odoo/tools/pdf/ directly, as it does the "depend on any PyPDF alternative" dance already
We have our Odoo deployed on Debian trixie (with Python 3.13.5), and PyPDF2 doesn't get installed by Odoo's
requirements.txtanymore:Now, when installing OCA/sign, it requires PyPDF2 at runtime, but doesn't document it in a
requirements.txtfile.Perhaps it would make sense to import Odoo's odoo/tools/pdf/ directly, as it does the "depend on any PyPDF alternative" dance already