# HG changeset patch # User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr> # Date 1696580082 -7200 # Fri Oct 06 10:14:42 2023 +0200 # Node ID a08a50f106f14a1b97214796497b271658d7014a # Parent 559b7de5d02a5566997c5172efcbb33303b63bb1 📠docker_build: remove --user when installing dev tools --user is not compatible with the use of venv. diff --git a/NEWS.rst b/NEWS.rst --- a/NEWS.rst +++ b/NEWS.rst @@ -2,6 +2,11 @@ History ======= +20.8.2 +------ + +docker_build: When building image with dev tools, do not add the user flags. This allows using venv and when odoo is installed in a user, it is picked automatically. + 20.8.1 ------ diff --git a/odoo_scripts/docker_build.py b/odoo_scripts/docker_build.py --- a/odoo_scripts/docker_build.py +++ b/odoo_scripts/docker_build.py @@ -19,9 +19,9 @@ _logger = logging.getLogger(__name__) -__version__ = "1.4.0" +__version__ = "1.4.1" __date__ = "2018-04-04" -__updated__ = "2023-03-02" +__updated__ = "2023-10-06" def add_build_options(parser: argparse.ArgumentParser): @@ -216,7 +216,7 @@ myfile.write("RUN pip install pyinotify") else: myfile.write( - "RUN python3 -m pip --no-cache-dir install --user pdbpp watchdog " + "RUN python3 -m pip --no-cache-dir install pdbpp watchdog " "ipdb pyinotify\n" )