Package: src:trac-announcer
Version: 0.12.1+r14934-2
Severity: serious
Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:
[...]
debian/rules build-indep
dh build-indep --with python2 --buildsystem=pybuild
dh: Compatibility levels before 9 are deprecated (level 7 in use)
dh_testdir -i -O--buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
dh_auto_configure -i -O--buildsystem=pybuild
dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use)
I: pybuild base:184: python2.7 setup.py config
running config
dh_auto_build -i -O--buildsystem=pybuild
dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use)
I: pybuild base:184: /usr/bin/python setup.py build
running build
[... snipped ...]
--
Traceback (most recent call last):
File
"/<>/trac-announcer-0.12.1+r14934/trunk/announcer/opt/tests/subscribers.py",
line 34, in setUp
self.db = self.env.get_db_cnx()
AttributeError: 'EnvironmentStub' object has no attribute 'get_db_cnx'
==
ERROR: test_init (announcer.opt.tests.subscribers.UserChangeSubscriberTestCase)
--
Traceback (most recent call last):
File
"/<>/trac-announcer-0.12.1+r14934/trunk/announcer/opt/tests/subscribers.py",
line 34, in setUp
self.db = self.env.get_db_cnx()
AttributeError: 'EnvironmentStub' object has no attribute 'get_db_cnx'
==
ERROR: test_init (announcer.opt.tests.subscribers.WatchSubscriberTestCase)
--
Traceback (most recent call last):
File
"/<>/trac-announcer-0.12.1+r14934/trunk/announcer/opt/tests/subscribers.py",
line 34, in setUp
self.db = self.env.get_db_cnx()
AttributeError: 'EnvironmentStub' object has no attribute 'get_db_cnx'
==
ERROR: test_rename_wiki_page
(announcer.opt.tests.subscribers.WikiWatchSubscriberTestCase)
--
Traceback (most recent call last):
File
"/<>/trac-announcer-0.12.1+r14934/trunk/announcer/opt/tests/subscribers.py",
line 34, in setUp
self.db = self.env.get_db_cnx()
AttributeError: 'EnvironmentStub' object has no attribute 'get_db_cnx'
==
FAIL: test_add_attachment_html_notification
(announcer.tests.formatters.TicketFormatterTestCase)
--
Traceback (most recent call last):
File
"/<>/trac-announcer-0.12.1+r14934/trunk/announcer/tests/formatters.py",
line 63, in test_add_attachment_html_notification
self.assertEqual(expected, actual)
AssertionError: 'http://www.w3.org/1999/xhtml;>\n \n
#1: Some ticket summary\n\n body {\n
font: medium "Lucida Grande", Lucida, Verdana, sans-serif;\n }\n
.header {\nfont-size: large;\n }\n .ticketbox {\n
background-color: #fefcd3;\nwidth: 90%;\npadding: .5em 1em;\n
border-style: outset;\nborder-width: 1px;\nmargin: 2px;\n
}\n .title {\nfont-weight: bold;\nborder-bottom: 1pt
inset #dfdfdf;\npadding-bottom: .5em;\n }\n .label {\n
font-size: x-small;\ncolor: #7e7e7e;\nborder-bottom: 1pt inset
#dfdfdf;\npadding-bottom: .5em;\nwidth: 30%;\n }\n
.value {\nborder-bottom: 1pt inset #dfdfdf;\npadding-bottom:
.5em;\nfont-size: small;\n }\n .header {\nwidth:
90%;\npadding-bottom: 1em;\n }\n .descheader {\n
font-size: x-small;\ncolor: #7e7e7e;\nborder-bottom: 1pt
inset #dfdfdf;\npadding-bottom: .5em;\nfont-weight: bold;\n
}\n .descbody {\nfont-size: small;\npadding: 1em;\n
}\n .changetitle {\nfont-size: small;\nmargin: 1em;\n
}\n .changeitem {\nfont-size: small;\n }\n .fieldname
{\nfont-weight: bold;\n }\n .from {\nfont-style:
italic;\n }\n .to {\nfont-style: italic;\n }\n
.longchange {\nfont-size: small;\n }\n .htmldiff {\n
margin-left: 2em;\npadding: 1em;\nwidth: 90%;\n
background-color: #f3f3f3;\nmargin: 5px;\nborder-style:
outset;\nborder-width: 1px;\n }\n .commentstitle {\n
font-size: small;\n