From 519322b7ae8a6c288b50c8d15c4e86699f30ed10 Mon Sep 17 00:00:00 2001 From: Claude Perrin Date: Sat, 20 Jun 2026 08:03:17 +0200 Subject: [PATCH] [14.0] pre-commit: bump setuptools-odoo to 3.3.2 to fix pkg_resources ImportError setuptools-odoo 3.1.8 imports the removed `pkg_resources` module, so the `setuptools-odoo-make-default` and `setuptools-odoo-get-requirements` hooks fail with `ModuleNotFoundError: No module named 'pkg_resources'` on recent setuptools (>= 81). This makes the pre-commit check red on every PR currently opened against this branch. Bump the hook to 3.3.2, same as #217 for 16.0. Signed-off-by: Claude Perrin --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f67bb141..9b5fc18b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -140,7 +140,7 @@ repos: - --settings=. exclude: /__init__\.py$ - repo: https://github.com/acsone/setuptools-odoo - rev: 3.1.8 + rev: 3.3.2 hooks: - id: setuptools-odoo-make-default - id: setuptools-odoo-get-requirements