FS#52464 - 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, 10:03 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 10 January 2017, 16:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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.

After digging, I found this difference :
In __init__.py, version 0.5.2-3 (which works), line 35 :
from urllib import quote as url_quote

In __init__.py, version 0.5.2-4 (which crashes), line 35 :
from urllib.parse import quote as url_quote
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 10 January 2017, 16:16 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#52463 

Loading...