[Python-apps-team] Bug#939792: hovercraft: autopkgtest needs update for new version of lxml

Paul Gevers elbrus at debian.org
Sun Sep 8 20:27:18 BST 2019


Source: hovercraft
Version: 2.6-4
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org, lxml at packages.debian.org
Tags: sid bullseye
User: debian-ci at 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
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

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

https://ci.debian.net/data/autopkgtest/testing/amd64/h/hovercraft/2909341/log.gz

=================================== 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="<string>" 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"
names="formatting"><title>'
            b'Formatting</title><paragraph>Let us also try some basic '
            b'formatting, like <emphasis>italic</emphasis>, and
<strong>bold'
            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
classes="k">'
            b'def</inline> <inline classes="nf">foo</inline><inline '
            b'classes="p">(</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
classes="bp">'
            b'None</inline></literal_block></step><step class="step
step-level-1"'
            b' step="3"><paragraph>An image, with
attributes:</paragraph><image '
            b'classes="imageclass" uri="images/hovercraft_logo.png"
width="50%"/>'
            b'</step><step class="step step-level-1" step="4"><section
ids="character-sets" '
            b'names="character\\ sets"><title>Character
sets</title><paragraph>'
            b'The character set is UTF-8 as of now. Like this: '
            b'åäö.</paragraph></section></step></document>')
>       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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20190908/a491d397/attachment.sig>


More information about the Python-apps-team mailing list