odoo/odoo#198374

Created by fw-bot
Merged at 6bf4c96f5554bd8fc1a4b5bc091b0b63bca988a3

Statuses:

label
odoo-dev:18.0-16.0-explicit-deb-depends-moc-417232-fw
head
66aa36daa12dbbb4da6015075df48037d3df20b2
merged
8 months ago by Framework (ORM), Christophe Monniez (moc)
odoo/odoo
16.0 #197302
17.0 #198102
saas-17.4 #198342
18.0 #198374
saas-18.1 #198397
saas-18.2 #198418
saas-18.3
saas-18.4
19.0
master #198473

[FW][FIX] packaging: more explicit debian control file

The Debian control file is used when installing Debian packages needed by Odoo by using the debinstall.sh script. On the other hand, when the Odoo Debian package is built, the Debian dependencies are also computed by the dh_python3 script. So finally the real dependencies may differ.

The main issue is python3-gevent which is missing in the control file.

With this commit, the packages are explicitely declared in the control file instead of relying on incidentally installed packages.

  • python3-cryptography is installed by python3-openssl
  • python3-idna and python3-urllib3 are installed by python3-requests
  • python3-markupsafe is installed by python3-jinja2

Forward-Port-Of: #198102
Forward-Port-Of: #197302