Skip to content

Commit 6bf4c96

Browse files
committed
[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-markuosafe` is installed by `python3-jinja2` closes odoo#198374 X-original-commit: f1fb052 Signed-off-by: Christophe Monniez (moc) <[email protected]>
1 parent 25f4c0c commit 6bf4c96

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

debian/control

+6
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,21 @@ Depends:
2828
python3-babel,
2929
python3-cbor2,
3030
python3-chardet,
31+
python3-cryptography,
3132
python3-dateutil,
3233
python3-decorator,
3334
python3-docutils,
3435
python3-freezegun,
3536
python3-geoip2,
37+
python3-gevent,
38+
python3-greenlet,
39+
python3-idna,
3640
python3-pil,
3741
python3-jinja2,
3842
python3-libsass,
3943
# After lxml 5.2, lxml-html-clean is in a separate package
4044
python3-lxml-html-clean | python3-lxml,
45+
python3-markupsafe,
4146
python3-num2words,
4247
python3-ofxparse,
4348
python3-openpyxl,
@@ -54,6 +59,7 @@ Depends:
5459
python3-requests,
5560
python3-stdnum,
5661
python3-tz,
62+
python3-urllib3,
5763
python3-vobject,
5864
python3-werkzeug,
5965
python3-xlsxwriter,

0 commit comments

Comments
 (0)