[FIX] Wrong version of gevent causes chat not to work interactively
This commit is contained in:
parent
c2268d642d
commit
920dad4423
@ -35,17 +35,21 @@
|
||||
dest: /opt/odoo
|
||||
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
|
||||
pip:
|
||||
virtualenv: /home/odoo/.venv/odoo
|
||||
virtualenv_command: python3.8 -m venv
|
||||
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
|
||||
apt:
|
||||
deb: '{{ wkhtmltopdf_location }}'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user