Skip to content

Commit

Permalink
[FIX] Update python requirements, test
Browse files Browse the repository at this point in the history
  • Loading branch information
adriresu committed Jul 27, 2023
1 parent ca6cae5 commit 43f2688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odoo-15/odoo-test/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 43f2688

Please sign in to comment.