[FIX] Wrong version of gevent causes chat not to work interactively

This commit is contained in:
Jorge Enrique Gómez Gómez 2020-12-22 21:13:57 -05:00
parent c2268d642d
commit 920dad4423

View File

@ -35,17 +35,21 @@
dest: /opt/odoo dest: /opt/odoo
depth: 1 depth: 1
# Manual temporary fix for
# https://github.com/odoo/odoo/issues/62569
- name: Fix updated requirement before installing
lineinfile:
regexp: "^gevent==.* ; python_version >= '3.7'$"
line: "gevent==20.12.0 ; python_version >= '3.7'"
path: /opt/odoo/core/requirements.txt
- name: Install python requirements for Odoo - name: Install python requirements for Odoo
pip: pip:
virtualenv: /home/odoo/.venv/odoo virtualenv: /home/odoo/.venv/odoo
virtualenv_command: python3.8 -m venv virtualenv_command: python3.8 -m venv
requirements: /opt/odoo/core/requirements.txt requirements: /opt/odoo/core/requirements.txt
# Possible errors in gevent module with Ubuntu 20.04
# (chat, stars, don't update interactively on screen)
# $ pip install --upgrade gevent
# Successfully installed gevent-20.9.0 greenlet-0.4.17 ...
- name: Download and install wkhtmltopdf - name: Download and install wkhtmltopdf
apt: apt:
deb: '{{ wkhtmltopdf_location }}' deb: '{{ wkhtmltopdf_location }}'