changeset 5a9f47ee0cbc in modules/stock_package_shipping_dpd:5.0
details: 
https://hg.tryton.org/modules/stock_package_shipping_dpd?cmd=changeset;node=5a9f47ee0cbc
description:
        Fix lxml version as zeep dependency

        lxml 4.4.0 has incorrect python_requires which make pip install it on 
Python
        3.4 which is not supported.

        issue9014
        review273001002
diffstat:

 setup.py |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r b3a302e0db06 -r 5a9f47ee0cbc setup.py
--- a/setup.py  Sun Mar 01 21:03:51 2020 +0100
+++ b/setup.py  Wed Mar 04 23:07:03 2020 +0100
@@ -46,6 +46,8 @@
             name[8:], name, version))
 
 requires = ['zeep >= 0.12', 'PyPDF2']
+# Fix lxml dependency of zeep 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))

Reply via email to