From 9421ed87d5b88a1f52d47e0797fad878b9930ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 1 Nov 2023 12:31:25 +0100 Subject: [PATCH] Make sure to have the latest pip --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f2948e4..c3964b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,7 +91,7 @@ RUN pipx inject --pip-args="--no-cache-dir" pyproject-dependencies $build_deps # make sure addons we test declare all their python dependencies properly ARG setuptools_constraint RUN python$python_version -m venv /opt/odoo-venv \ - && /opt/odoo-venv/bin/pip install "setuptools$setuptools_constraint" "pip>=21.3.1;python_version>='3.6'" \ + && /opt/odoo-venv/bin/pip install -U "setuptools$setuptools_constraint" "pip" \ && /opt/odoo-venv/bin/pip list ENV PATH=/opt/odoo-venv/bin:$PATH