From 43f26882d31394c7719984d4e35d6d3151196383 Mon Sep 17 00:00:00 2001 From: Adrian Resua Vidal Date: Thu, 27 Jul 2023 09:34:31 +0200 Subject: [PATCH] [FIX] Update python requirements, test --- odoo-15/odoo-test/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/odoo-15/odoo-test/Dockerfile b/odoo-15/odoo-test/Dockerfile index 0a44995..a753592 100644 --- a/odoo-15/odoo-test/Dockerfile +++ b/odoo-15/odoo-test/Dockerfile @@ -106,8 +106,8 @@ RUN /bin/bash -c "mkdir -p /opt/odoo/custom-addons" # Create Virtual Enviroment RUN /bin/bash -c "cd /opt/odoo && virtualenv -p python3.8 venv" -# Python dependencies -RUN /bin/bash -c "cd /opt/odoo && source venv/bin/activate && pip install -U setuptools && pip3 install -r /opt/odoo/odoo/requirements.txt && deactivate" +# Python dependencies, specific library versions to fix dependences error +RUN /bin/bash -c "cd /opt/odoo && source venv/bin/activate && pip install -U setuptools && pip3 install -r /opt/odoo/odoo/requirements.txt && pip3 install -U cryptography==38.0.2 && pip3 install -U pyopenssl==23.2.0 && deactivate" # Clone interesting OCA repositories RUN /bin/bash -c "cd /opt/odoo/custom-addons && git clone https://github.com/OCA/account-analytic -b 15.0 --single-branch --depth 1 account-analytic"