From db3769c9ba1e5986267333ba5f59082d9af71aa9 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Mon, 9 Feb 2026 12:57:09 +0100 Subject: [PATCH] [FIX] pin setuptools to v81.0 --- .github/workflows/documentation-commit.yml | 2 ++ .github/workflows/generate-analysis.yml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/documentation-commit.yml b/.github/workflows/documentation-commit.yml index 8b69cde83dcf..c7d445ee6521 100644 --- a/.github/workflows/documentation-commit.yml +++ b/.github/workflows/documentation-commit.yml @@ -52,6 +52,8 @@ jobs: unixodbc-dev - name: Requirements Installation run: | + export PIP_CONSTRAINT=pip-constraint.txt + echo 'setuptools < 82.0.0' > pip-constraint.txt sed -i -E "s/(gevent==)21\.8\.0( ; sys_platform != 'win32' and python_version == '3.10')/\122.10.2\2/;s/(greenlet==)1.1.2( ; sys_platform != 'win32' and python_version == '3.10')/\12.0.2\2/" odoo/requirements.txt pip install -q -r odoo/requirements.txt pip install -r ./requirements.txt diff --git a/.github/workflows/generate-analysis.yml b/.github/workflows/generate-analysis.yml index 00268e00c571..e6b267e54853 100644 --- a/.github/workflows/generate-analysis.yml +++ b/.github/workflows/generate-analysis.yml @@ -93,6 +93,8 @@ jobs: wget -q -O- https://github.com/oca/server-tools/archive/refs/heads/$FROM_VERSION.tar.gz | tar -xz python -mvenv env-$FROM_VERSION . env-$FROM_VERSION/bin/activate + export PIP_CONSTRAINT=pip-constraint.txt + echo 'setuptools < 82.0.0' > pip-constraint.txt pip install ${{ inputs.from_version_requirements }} sed -iE '${{ inputs.from_version_requirements_sed }}' OCB-$FROM_VERSION/requirements.txt pip install -r OCB-$FROM_VERSION/requirements.txt @@ -108,6 +110,8 @@ jobs: wget -q -O- https://github.com/oca/server-tools/archive/refs/heads/$TO_VERSION.tar.gz | tar -xz python -mvenv env-$TO_VERSION . env-$TO_VERSION/bin/activate + export PIP_CONSTRAINT=pip-constraint.txt + echo 'setuptools < 82.0.0' > pip-constraint.txt pip install ${{ inputs.to_version_requirements }} sed -iE '${{ inputs.to_version_requirements_sed }}' OCB-$TO_VERSION/requirements.txt pip install -r OCB-$TO_VERSION/requirements.txt