Bug 789900

Summary: Enable python3 build?
Product: [Fedora] Fedora Reporter: Terje Røsten <terje.rosten>
Component: python-html5libAssignee: Praveen Kumar <kumarpraveen.nitdgp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kumarpraveen.nitdgp, metherid, pj.pandit
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-html5lib-0.95-1.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-10 02:11:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Terje Røsten 2012-02-13 08:34:21 UTC
Description of problem:

Hi, seems like HTML5lib as a working python3 module, could you please enable that?

Some useful info about creating a python3 subpackage:
 
 http://fedoraproject.org/wiki/Packaging:Python

Comment 1 Praveen Kumar 2012-02-14 06:01:34 UTC
This weekend,I will work on it.

Comment 2 Fedora Update System 2012-02-21 17:46:04 UTC
python-html5lib-0.95-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/python-html5lib-0.95-1.fc16

Comment 3 Fedora Update System 2012-02-21 17:47:32 UTC
python-html5lib-0.95-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-html5lib-0.95-1.fc17

Comment 4 Terje Røsten 2012-02-21 18:09:40 UTC
Thanks for the quick fix!

Comment 5 Fedora Update System 2012-02-22 01:58:46 UTC
Package python-html5lib-0.95-1.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-html5lib-0.95-1.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2151/python-html5lib-0.95-1.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-03-10 02:11:04 UTC
python-html5lib-0.95-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-03-10 21:55:47 UTC
python-html5lib-0.95-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Terje Røsten 2012-08-01 18:40:33 UTC
Hi Praveen, seems like this was a bit too fast, I am sorry.

Might be html5lib is not ready for Python 3 after all.

In the  %check section of the spec file you have

%{__python} setup.py test

%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py test

However, if you make sure python-nose and python3-nose are installed and do as suggested
by the README file:

%{__python} setup.py nosetests
and 
%{__python3} setup.py nosetests

you will get lots of errors and failures is seems. 

Maybe pinging upstream would be a good idea?