From 1eb86a4667033969cb059047112a3d2bb5e15db5 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 ea7cf2fd3..5210ff291 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,6 @@ bokeh==1.1.0 # web_widget_plotly_chart plotly==4.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