Closed glensc closed 7 years ago
[~/relup/wlc] ➔ python2
Python 2.7.11 (default, May 4 2016, 09:58:29)
[GCC 5.3.0 20151204 (release)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from urllib.request import Request, urlopen
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named request
>>>
[~/relup/wlc] ➔ python3
Python 3.5.2 (default, Aug 14 2016, 22:33:54)
[GCC 5.4.0 20160603 (release)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from urllib.request import Request, urlopen
>>>
[~/relup/wlc] ➔
offending line: https://github.com/WeblateOrg/wlc/blob/0.5/wlc/__init__.py#L22
i suppose upstream should be informed not to import libraries from setup.py ... or?
also that package is python3 only https://github.com/WeblateOrg/wlc/commit/e6c637e99d89d13825c29213c3a9620b1c6fe687
and i run pyp2rpm as python2, perhaps pyp2rpm should detect this and fail early?
pyp2rpm now tries to execute extract_dist command using alternative python interpreter 116cacee3023d71099b0eb if it fails, and removes failing version from metadata d1597eff843a28d.
with d9e0965
package in question info: