From 80907425f1f4baf622d103e9102c0406798c0df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A0n=20Todorovich?= Date: Tue, 6 Apr 2021 12:23:38 -0300 Subject: [PATCH] [FIX] Freeze and bump matplotlib More recent versions of matplotlib depend on Pillow >= 6.2 which is incompatible with Odoo dependencies. We use python_version markers to support both Python 3.5 and 3.8 as there isn't any version that satisfies both. --- requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index a9f67c1cb..2158c25ed 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ # web_widget_bokeh_chart bokeh==1.1.0 # web_widget_mpld3_chart -matplotlib>=2.0.0 +matplotlib==3.0.3; python_version < '3.7' +matplotlib==3.4.1; python_version >= '3.7' mpld3==0.3