Skip to content

Commit

Permalink
[FIX] packaging: more explicit debian control file
Browse files Browse the repository at this point in the history
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-markuosafe` is installed by `python3-jinja2`

closes odoo#198374

X-original-commit: f1fb052
Signed-off-by: Christophe Monniez (moc) <[email protected]>
  • Loading branch information
d-fence committed Feb 21, 2025
1 parent 25f4c0c commit 6bf4c96
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,21 @@ Depends:
python3-babel,
python3-cbor2,
python3-chardet,
python3-cryptography,
python3-dateutil,
python3-decorator,
python3-docutils,
python3-freezegun,
python3-geoip2,
python3-gevent,
python3-greenlet,
python3-idna,
python3-pil,
python3-jinja2,
python3-libsass,
# After lxml 5.2, lxml-html-clean is in a separate package
python3-lxml-html-clean | python3-lxml,
python3-markupsafe,
python3-num2words,
python3-ofxparse,
python3-openpyxl,
Expand All @@ -54,6 +59,7 @@ Depends:
python3-requests,
python3-stdnum,
python3-tz,
python3-urllib3,
python3-vobject,
python3-werkzeug,
python3-xlsxwriter,
Expand Down

0 comments on commit 6bf4c96

Please sign in to comment.