trytond_import_zip doesn't support Python3
trytond_import_zip:
import urllib2
which is not present in Python3
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Mathias Behrle added country type::behavior + 1 deleted label
added country type::behavior + 1 deleted label
- Owner
I think it is a bug of setuptools which should run 2to3 on scripts. So it should be reported to the upstream.
- Cédric Krier added type::crash + 1 deleted label and removed type::behavior + 1 deleted label
added type::crash + 1 deleted label and removed type::behavior + 1 deleted label
- Author Developer
- Author Developer
JFTR there is a working patch at https://github.com/pypa/setuptools/issues/1251#issuecomment-357725060
- Mathias Behrle added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Owner
This is not a patch but a workaround. We did not put in package scripts because we do not want it to be in the module. So depending if setuptools is going to fix quickly or not, we may have to write the script in compatible way for both Python version.
- Cédric Krier assigned to @ced
assigned to @ced
- Cédric Krier added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
review40951003 updated at https://codereview.tryton.org/40951003/#ps1
New changeset 9aaae1eb71ba by Cédric Krier in branch 'default':
Make script compatible Python 2 and Python 3
http://hg.tryton.org/modules/country/rev/9aaae1eb71ba- Roundup Robot added 1 deleted label and removed 1 deleted label
added 1 deleted label and removed 1 deleted label
- Roundup Robot closed
closed