Your message dated Sun, 2 Jan 2022 16:10:56 +0100
with message-id <2894652a-bb9b-cdb5-d5b8-c6521d723...@debian.org>
and subject line 1002526 fixed in unstable; python-django-extensions: 
autopkgtest needs update for new version of pygments: textual change
has caused the Debian Bug report #1002526,
regarding python-django-extensions: autopkgtest needs update for new version of 
pygments: textual change
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1002526: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002526
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-django-extensions
Version: 3.1.5-1
Severity: serious
X-Debbugs-CC: debian...@lists.debian.org, pygme...@packages.debian.org
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:pygments

Dear maintainer(s),

With a recent upload of pygments the autopkgtest of python-django-extensions fails in testing when that autopkgtest is run with the binary packages of pygments from unstable. It passes when run with only packages from testing. In tabular form:

                         pass            fail
pygments                 from testing    2.10.0+dfsg-1
python-django-extensions from testing    3.1.5-1
all others               from testing    from testing

I copied some of the output at the bottom of this report. Seems like some output was changed a bit.

Currently this regression is blocking the migration of pygments to testing [1]. Of course, pygments shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the change in pygments 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 pygments should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests.

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=pygments

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-django-extensions/17802853/log.gz

=================================== FAILURES =================================== ____ SyntaxColorTagTests.test_should_colorize_noclasses_with_default_lexer _____

self = <tests.templatetags.test_syntax_color.SyntaxColorTagTests testMethod=test_should_colorize_noclasses_with_default_lexer>

        def test_should_colorize_noclasses_with_default_lexer(self):
            ctx = Context({'code_string': '<h1>TEST</h1>'})
            content = """{% load syntax_color %}
    {{ code_string|colorize_noclasses }}
    """
expected_result = '''<div class="highlight" style="background: #f8f8f8"><pre style="line-height: 125%; margin: 0;"><span></span><span style="color: #008000; font-weight: bold">&lt;h1&gt;</span>TEST<span style="color: #008000; font-weight: bold">&lt;/h1&gt;</span>
    </pre></div>'''
            result = Template(content).render(ctx)
    >           self.assertHTMLEqual(result, expected_result)

tests/templatetags/test_syntax_color.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/django/test/testcases.py:795: in assertHTMLEqual
    self.fail(self._formatMessage(msg, standardMsg))
E   AssertionError: <div class="highlight" style="background: #f8f8f8">
E <pre style="line-height: 125 [truncated]... != <div class="highlight" style="background: #f8f8f8">
E   <pre style="line-height: 125 [truncated]...
E     <div class="highlight" style="background: #f8f8f8">
E   - <pre style="line-height: 125%;">
E   + <pre style="line-height: 125%; margin: 0;">
E   ?                               +++++++++++
E   E     <span><span style="color: #008000; font-weight: bold">
E     <h1>
E     </span>TEST<span style="color: #008000; font-weight: bold">
E     </h1>
E     </span>
E     </pre>
E     </div>

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Version: 3.1.5-2

Hi,

I triggered the autopkgtest of python-django-extensions version 3.1.5-2 in testing with pygments from unstable. The test passed.

However, as nothing is ensuring the right combination of tests are checked, this still blocks migration of both python-django-extensions and pygments.

Paul

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply via email to