[Bug 935516]
Idella4
935516 at bugs.launchpad.net
Mon Nov 5 12:08:48 UTC 2012
Fixed by patches prepared upstream;
http://genshi.edgewall.org/ticket/500 & /501
The patch to HTMLParser for issue 13987 that landed in the cpython 2.7
branch breaks tests test_sanitize_remove_script_elem &
test_sanitize_remove_src_javascript
dev-python/genshi $ USE_PYTHON="2.5 2.6 2.7 2.7-pypy-1.9" ebuild
genshi-0.6.ebuild clean test
* Testing of dev-python/genshi-0.6 with CPython 2.5...
----------------------------------------------------------------------
Ran 830 tests in 1.793s
OK
* Testing of dev-python/genshi-0.6 with CPython 2.6...
----------------------------------------------------------------------
Ran 830 tests in 1.670s
OK
* Testing of dev-python/genshi-0.6 with PyPy 1.9 (Python 2.7)...
----------------------------------------------------------------------
Ran 828 tests in 4.563s
OK
# The html_test.patch is needed only for python2.7 for now, breaks all other versions. The html.py needs
# adjusting only to pass the tests for 2.7. Other ABIs still need the original filters/tests/html.py,
# hence this long winded juggling appears the only method to set a viable genshi/filters/tests/html.py
# for each python version. The test needed patching, instead they changed the genshi/filters/tests/html.py
Anyone can reduce this feel free, but I don't seen upstream changing the
test since they've instead made a fix to the html.py used in tests
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is a bug assignee.
https://bugs.launchpad.net/bugs/935516
Title:
genshi version 0.6-2 FTBFS on i386 in precise
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/genshi/+bug/935516/+subscriptions
More information about the Ubuntu-server-bugs
mailing list