FS#61488 - [python-kitchen] python2-kitchen have python3 scripts

Attached to Project: Community Packages
Opened by Anthony PERARD (sheep_42) - Monday, 21 January 2019, 11:25 GMT
Last edited by Balló György (City-busz) - Friday, 29 March 2019, 11:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python2-kitchen seems to contain the source for python3.

"import kitchen" on python2 fails.

Additional info:
* package version: python2-kitchen-1.2.5-3
* The AUR python2-kitchen-1.2.5-1 package works fine.


Steps to reproduce:
$ python2 -c 'import kitchen'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/kitchen/__init__.py", line 30, in <module>
from kitchen import i18n
File "/usr/lib/python2.7/site-packages/kitchen/i18n/__init__.py", line 110, in <module>
from kitchen.text.converters import to_bytes, to_unicode
File "/usr/lib/python2.7/site-packages/kitchen/text/converters.py", line 51, in <module>
from kitchen.text.misc import guess_encoding, html_entities_unescape, \
File "/usr/lib/python2.7/site-packages/kitchen/text/misc.py", line 37, in <module>
import html.entities
ImportError: No module named html.entities
This task depends upon

Closed by  Balló György (City-busz)
Friday, 29 March 2019, 11:50 GMT
Reason for closing:  Won't fix
Additional comments about closing:  python2-kitchen is no longer provided in the official repositories

Loading...