FS#52463 - [python2-tempita] 0.5.2-4 complains about no existing module parse (and 0.5.2-3 does not)
Attached to Project:
Community Packages
Opened by christiane (zoe) - Tuesday, 10 January 2017, 09:44 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 17 February 2017, 16:18 GMT
Opened by christiane (zoe) - Tuesday, 10 January 2017, 09:44 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 17 February 2017, 16:18 GMT
|
Details
python2-tempita (0.5.2-4) complains about no existing module
parse (and 0.5.2-3 does not) :
ImportError: No module named parse In console, launch pytrainer pytrainer crashes with this error : File "/usr/lib/python2.7/site-packages/tempita/__init__.py", line 35, in <module> from urllib.parse import quote as url_quote ImportError: No module named parse After dowgrading python2-tempita to 0.5.2-3, pytrainer is OK, and all is fine. |
This task depends upon
It seems that Tempita is using Python 3 module names & functions.
In a development clone on Github there's the following commit that (re-)implements compatibility with Python 2.7:
https://github.com/gjhiggins/tempita/commit/6cdd36dcf566afcda4e8a124dd8646d065127c49
After applying the changes to the imports in tempita/__init__.py I can at least start Buildbot again.
community-testing/python-tempita-0.5.3dev20170202
community-testing/python2-tempita-0.5.3dev20170202