Skip to content

Conversation

@fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Feb 20, 2025

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

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`

X-original-commit: f1fb052
@robodoo
Copy link
Contributor

robodoo commented Feb 20, 2025

Pull request status dashboard

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Feb 20, 2025
@fw-bot
Copy link
Contributor Author

fw-bot commented Feb 20, 2025

@fw-bot
Copy link
Contributor Author

fw-bot commented Feb 20, 2025

@d-fence ci/runbot failed on this forward-port PR

@C3POdoo C3POdoo added the RD research & development, internal work label Feb 20, 2025
@d-fence
Copy link
Contributor

d-fence commented Feb 21, 2025

robodoo r+

robodoo pushed a commit that referenced this pull request Feb 21, 2025
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 #198473

X-original-commit: f1fb052
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
@robodoo robodoo added the 18.3 label Feb 21, 2025
@robodoo robodoo closed this Feb 21, 2025
@d-fence d-fence deleted the master-16.0-explicit-deb-depends-moc-417359-fw branch February 24, 2025 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

18.3 forwardport This PR was created by @fw-bot RD research & development, internal work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants