From fa53d50da2b932547cc2b6715f397f9b99b7ee44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Wed, 4 May 2022 15:40:48 +0200 Subject: [PATCH] web_widget_plotly_chart: pin plotly version As indicated in the addon README. --- requirements.txt | 2 +- setup/web_widget_plotly_chart/setup.py | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 09a40b8bf..7c35a92fc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ # generated from manifests external_dependencies bokeh==1.1.0 mpld3 -plotly +plotly==4.1.0 diff --git a/setup/web_widget_plotly_chart/setup.py b/setup/web_widget_plotly_chart/setup.py index 28c57bb64..c94aab325 100644 --- a/setup/web_widget_plotly_chart/setup.py +++ b/setup/web_widget_plotly_chart/setup.py @@ -2,5 +2,11 @@ import setuptools setuptools.setup( setup_requires=['setuptools-odoo'], - odoo_addon=True, + odoo_addon={ + "external_dependencies_override": { + "python": { + "plotly": "plotly==4.1.0", + } + } + }, )