From 787474dae9bb0a4a8f0125fa7c2966f80a3a2b2f Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Tue, 13 Oct 2026 15:00:56 +0200 Subject: [PATCH] feat(revision): update requirements.txt for Odoo 17.0 and 18.0 compatibility - Add conditional constraints for wheel and setuptools based on Python version - Remove python-ldap and rl-renderPM dependencies for Python <= 3.8 - Reorganize comments to distinguish between Odoo 17.0 and 18.0 requirements --- requirements.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 87a6b918..c7d4ad35 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,9 +9,11 @@ pylint-odoo pytest-odoo # Setup +# Until Odoo 17.0: wheel<0.40 ; python_version <= '3.11' +setuptools<82 ; python_version <= '3.11' +# From Odoo 18.0: wheel ; python_version >= '3.12' -setuptools<82 ; python_version <= '3.11' setuptools ; python_version >= '3.12' watchdog pdfminer.six @@ -38,10 +40,6 @@ git+https://github.com/OCA/oca-port git+https://github.com/OCA/odoo-module-migrator git+https://github.com/OCA/maintainer-tools -# Odoo Compatibility -python-ldap ; python_version <= '3.8' -rl-renderPM ; python_version <= '3.8' - # Jupyter Notebook jupyter papermill