changeset bd5f26389492 in modules/account_statement_ofx:5.0
details:
https://hg.tryton.org/modules/account_statement_ofx?cmd=changeset;node=bd5f26389492
description:
Fix lxml version as ofxparse dependency
lxml 4.4.0 has incorrect python_requires which make pip install it on
Python
3.4 which is not supported.
issue9014
review272981005
diffstat:
setup.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r aa6456ba14de -r bd5f26389492 setup.py
--- a/setup.py Sun Mar 01 21:03:49 2020 +0100
+++ b/setup.py Wed Mar 04 23:06:37 2020 +0100
@@ -49,6 +49,8 @@
name[8:], name, version))
requires = ['ofxparse']
+# Fix lxml dependency of ofxparse against wrong definition of 4.4.0 version
+requires.append('lxml >=2.0, < 4.4; python_version == "3.4"')
for dep in info.get('depends', []):
if not re.match(r'(ir|res)(\W|$)', dep):
requires.append(get_require_version('trytond_%s' % dep))