Bug 1593231

Summary: python-html5lib skips tests
Product: [Fedora] Fedora Reporter: Petr Viktorin (pviktori) <pviktori>
Component: python-html5libAssignee: Miro Hrončok <mhroncok>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dan, kumarpraveen.nitdgp, metherid, mhroncok, michel, pj.pandit
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-html5lib-1.0.1-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-21 15:06:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Viktorin (pviktori) 2018-06-20 10:23:24 UTC
The %check section of python-html5lib is commented out with the note "we need python-webencodings packaged".
That package is in Fedora now. However, the tests fail when %check uncommented.

Comment 1 Jan Kurik 2018-08-14 09:57:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 2 Miro Hrončok 2018-08-20 22:24:55 UTC
https://src.fedoraproject.org/rpms/python-html5lib/pull-request/2

I managed to get basic tests run. Needed to hack around missing pytest-expect. (Would appreciate a review of that.)

Will try to package pytest-expect (probably py3 only tough, keeping the hack for python2).

Comment 3 Miro Hrončok 2018-08-21 09:07:59 UTC
Let's keep this open before we unhack it (at least on py3).

Comment 4 Miro Hrončok 2018-08-21 15:06:23 UTC
https://src.fedoraproject.org/rpms/python-html5lib/c/4bf006ca4bff80e8b167803e2a6f88e46ab1a9c7?branch=master

https://koji.fedoraproject.org/koji/taskinfo?taskID=29215139

This is rawhide. Will do f29 as well as soon as the f29 branch is created for new dependencies.