[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#939792: hovercraft: autopkgtest needs update for new version of lxml

Source: hovercraft
Version: 2.6-4
Severity: serious
X-Debbugs-CC: debian-ci@lists.debian.org, lxml@packages.debian.org
Tags: sid bullseye
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:lxml

Dear maintainers,

With a recent upload of lxml the autopkgtest of hovercraft fails in
testing when that autopkgtest is run with the binary packages of lxml
from unstable. It passes when run with only packages from testing. In
tabular form:
                       pass            fail
lxml                   from testing    4.4.1-1
hovercraft             from testing    2.6-4
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of lxml to testing
[1]. Of course, lxml shouldn't just break your autopkgtest (or even
worse, your package), but it seems to me that the change in lxml was
intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from lxml should really add a
versioned Breaks on the unfixed version of (one of your) package(s).

More information about this bug and the reason for filing it can be found on


[1] https://qa.debian.org/excuses.php?package=lxml


=================================== FAILURES
________________________ SlideMakerTests.test_advanced

self = <tests.test_parse.SlideMakerTests testMethod=test_advanced>

    def test_advanced(self):
        tree = SlideMaker(make_tree('test_data/advanced.rst')).walk()
        xml = etree.tostring(tree)
        target = (
            b'<document source="&lt;string&gt;" title="Presentation title" '
            b'data-transition-duration="2000" auto-console="True" '
            b'css-screen="extra.css" js-body="extra.js"><paragraph>This
is an advanced '
            b'presentation. It doesn\'t have a section in the first\nstep, '
            b'meaning the first step will not be a step at all, but a
sort of\n'
            b'introductory comment about the presentation, that will not
show up '
            b'in the\npresentation at all.</paragraph><paragraph>It also
sets a '
            b'title and a transition-duration.</paragraph><step
class="step '
            b'step-level-1" step="0" data-x="1000" data-y="1600"><section '
            b'ids="advanced-presentation" names="advanced\\ presentation">'
            b'<title>Advanced Presentation</title><paragraph>Here we '
            b'show the positioning feature, where we can explicitly set a '
            b'position\non one of the
steps.</paragraph></section></step><step '
            b'class="step step-level-1" step="1" id="name-this-step" '
            b'data-x="r1600"><section ids="formatting"
            b'Formatting</title><paragraph>Let us also try some basic '
            b'formatting, like <emphasis>italic</emphasis>, and
            b'</strong>.</paragraph><bullet_list bullet="*"><list_item>'
            b'<paragraph>We can also</paragraph></list_item><list_item>'
            b'<paragraph>have a list</paragraph></list_item><list_item>'
            b'<paragraph>of things.</paragraph></list_item></bullet_list>'
            b'</section></step><step class="step step-level-1" step="2">'
            b'<paragraph>There should also be possible to have\n'
            b'preformatted text for code.</paragraph><literal_block '
            b'classes="code python" xml:space="preserve"><inline
            b'def</inline> <inline classes="nf">foo</inline><inline '
classes="n">bar</inline><inline '
            b'classes="p">):</inline>\n    <inline classes="c1"># Comment'
            b'</inline>\n    <inline classes="n">a</inline> <inline '
            b'classes="o">=</inline> <inline classes="mi">1</inline>
<inline '
            b'classes="o">+</inline> <inline classes="s2">"hubbub"</inline>'
            b'\n    <inline classes="k">return</inline> <inline
            b'None</inline></literal_block></step><step class="step
            b' step="3"><paragraph>An image, with
attributes:</paragraph><image '
            b'classes="imageclass" uri="images/hovercraft_logo.png"
            b'</step><step class="step step-level-1" step="4"><section
ids="character-sets" '
            b'names="character\\ sets"><title>Character
            b'The character set is UTF-8 as of now. Like this: '
>       self.assertEqual(xml, target)
E       AssertionError: b'<do[487 chars]step step="0" class="step
step-level-1" data-x[1829 chars]ent>' != b'<do[487 chars]step
class="step step-level-1" step="0" data-x[1829 chars]ent>'

tests/test_parse.py:73: AssertionError

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: