Preserve requirements.txt

Such kind of hard pins should be avoided, but I'll leave that to
maintainers of web_widget_mpld3.
This commit is contained in:
Stéphane Bidoul
2023-01-09 17:44:26 +01:00
parent a52c3df048
commit 0de495bcb4
2 changed files with 12 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
# web_widget_bokeh_chart
# generated from manifests external_dependencies
bokeh==1.1.0
# web_widget_mpld3_chart
matplotlib==3.0.3; python_version < '3.7'
matplotlib==3.4.1; python_version >= '3.7'
mpld3==0.3

View File

@@ -2,5 +2,15 @@ import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
odoo_addon={
"external_dependencies_override": {
"python": {
"mpld3": [
"matplotlib==3.0.3; python_version < '3.7'",
"matplotlib==3.4.1; python_version >= '3.7'",
"mpld3==0.3",
],
},
},
},
)