Your message dated Wed, 18 Jan 2023 19:44:19 +0000
with message-id <e1piem7-009bhl...@fasolo.debian.org>
and subject line Bug#1028622: fixed in sphinx-prompt 1.5.0-3
has caused the Debian Bug report #1028622,
regarding sphinx-prompt: autopkgtest is failng after updating pygments to 
2.14.0+dfsg-1
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.)


-- 
1028622: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028622
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sphinx-prompt
Version: 1.5.0-2
Severity: serious

Dear Maintainer,

after the upload of pygments 2.14.0+dfsg-1 your package is failung while
running the autopkgtest.

Some of the failing parts are:

autopkgtest [03:25:03]: test unittests: [-----------------------
============================= test session starts ==============================
platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
rootdir: /tmp/autopkgtest-lxc.k5oqcgm7/downtmp/build.h5g/src
collected 12 items

../build.h5g/src/tests/test_sphinx_prompt.py .FF.FFFF..F.                [100%]

=================================== FAILURES ===================================
_ test[arguments1-options1-content1-<div class="highlight-default 
notranslate"><div class="highlight"><pre><style 
type="text/css">\nspan.prompt1:before {\n  content: "$ ";\n}\n</style><span 
class="prompt1">one line</span>\n</pre></div></div>] _

arguments = ['bash'], options = {'language': 'bash'}, content = ['one line']
expected = '<div class="highlight-default notranslate"><div 
class="highlight"><pre><style type="text/css">\nspan.prompt1:before {\n  
content: "$ ";\n}\n</style><span class="prompt1">one 
line</span>\n</pre></div></div>'

    @pytest.mark.parametrize("arguments, options, content, expected", testdata)
    def test(arguments, options, content, expected):
        sphinx_prompt._cache.next_index = 1
        sphinx_prompt._cache.prompts.clear()
        stream = StringIO()
        reporter = docutils.utils.Reporter("test data", 2, 4, stream, 1)
        statemachine = docutils.statemachine.StateMachine([], None)
        setattr(statemachine, "reporter", reporter)
        directive = sphinx_prompt.PromptDirective(
            "prompt", arguments, options, content, 0, 0, "", None, statemachine
        )
        result = directive.run()
>       assert result[0].astext() == expected
E       assert '<div class="...></div></div>' == '<div class="...></div></div>'
E         Skipping 159 identical leading characters in diff, use -v to show
E         - ompt1">one line</span>
E         + ompt1">one<span class="w"> </span>line</span>
E           </pre></div></div>

../build.h5g/src/tests/test_sphinx_prompt.py:165: AssertionError
_ test[arguments2-options2-content2-<div class="highlight-default 
notranslate"><div class="highlight"><pre><style 
type="text/css">\nspan.prompt1:before {\n  content: "$ ";\n}\n</style><span 
class="prompt1">one line</span>\n</pre></div></div>] _

arguments = [], options = {'language': 'bash'}, content = ['one line']
expected = '<div class="highlight-default notranslate"><div 
class="highlight"><pre><style type="text/css">\nspan.prompt1:before {\n  
content: "$ ";\n}\n</style><span class="prompt1">one 
line</span>\n</pre></div></div>'

    @pytest.mark.parametrize("arguments, options, content, expected", testdata)
    def test(arguments, options, content, expected):
        sphinx_prompt._cache.next_index = 1
        sphinx_prompt._cache.prompts.clear()
        stream = StringIO()
        reporter = docutils.utils.Reporter("test data", 2, 4, stream, 1)
        statemachine = docutils.statemachine.StateMachine([], None)
        setattr(statemachine, "reporter", reporter)
        directive = sphinx_prompt.PromptDirective(
            "prompt", arguments, options, content, 0, 0, "", None, statemachine
        )
        result = directive.run()
>       assert result[0].astext() == expected
E       assert '<div class="...></div></div>' == '<div class="...></div></div>'
E         Skipping 159 identical leading characters in diff, use -v to show
E         - ompt1">one line</span>
E         + ompt1">one<span class="w"> </span>line</span>
E           </pre></div></div>
...

It might be enough to pick

https://github.com/sbrunner/sphinx-prompt/commit/f996f7ab96ec63b08e27f96559b759143ccff214

from the upstream git tree to fix the issues.

Regards
Carsten

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: sphinx-prompt
Source-Version: 1.5.0-3
Done: Carsten Schoenert <c.schoen...@t-online.de>

We believe that the bug you reported is fixed in the latest version of
sphinx-prompt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1028...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Carsten Schoenert <c.schoen...@t-online.de> (supplier of updated sphinx-prompt 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 18 Jan 2023 20:06:31 +0100
Source: sphinx-prompt
Architecture: source
Version: 1.5.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Carsten Schoenert <c.schoen...@t-online.de>
Closes: 1028622
Changes:
 sphinx-prompt (1.5.0-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Christian Kastner ]
   * Bump Standards-Version to 4.6.2 (no changes needed)
 .
   [ Carsten Schoenert ]
   * Rebuild patch queue from patch-queue branch
     Added patch:
     Fix-for-new-pygment-version.patch
     (Closes: #1028622)
Checksums-Sha1:
 41a78bbabe779dc0d02d4713b05968ae9fdb2148 2225 sphinx-prompt_1.5.0-3.dsc
 c8f30b3fb54640eecc625695ca7d2d5145347b65 3688 
sphinx-prompt_1.5.0-3.debian.tar.xz
 1f7c512428d1fdfa4f3d98729a7d0d04654f5cb5 7811 
sphinx-prompt_1.5.0-3_amd64.buildinfo
Checksums-Sha256:
 dda36ac5b2ac4e43c264f076fb0df39daf45c4eef9e4422b6c889c8cbe9bf57c 2225 
sphinx-prompt_1.5.0-3.dsc
 c07e10c6549883c99621d33badba5d1c81a8fc79cd579a6da91ccad18fce7a3b 3688 
sphinx-prompt_1.5.0-3.debian.tar.xz
 146db207bbb41153ae09ec1cac53857245b6c7366fe6041a39c52e61a53e064c 7811 
sphinx-prompt_1.5.0-3_amd64.buildinfo
Files:
 f9bb77ca87f61b7c9a3b3ccd124d6b6d 2225 python optional sphinx-prompt_1.5.0-3.dsc
 0d3780447fb3c42faf6fb40e94aa6ca6 3688 python optional 
sphinx-prompt_1.5.0-3.debian.tar.xz
 ba079d3cdd93312620db41675098e60d 7811 python optional 
sphinx-prompt_1.5.0-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtw38bxNP7PwBHmKqgwFgFCUdHbAFAmPIRIUACgkQgwFgFCUd
HbAPlQ/7Bfn1wEgn8ZNick11gpTbCmXsOheMXfoBR5ReUjCeUrLrdT+AZ3+JvOeI
Y4hFRA5dD+t8XndRFUb+WTdrc8V8hh8p7yQ/2aNpLd3cs0h7zzqsMCRDzB+EVG7Y
cvGgKvP41pqZPwqEt8OT+aIlotx2OUSnFpowmPLaCQWE48TQTyfQu2Kn8vuNZPju
SrehQegZIcNgCrOaI5Q88mg2DxzK7IF8ZsXt22hHX834Dh1bQA7EAxP/F1tIYu+M
HyRJkX4j/Hs4ACaI5w55sxd30s7TXvRirpBUT8WuHP1LzwluKR0gNK/ztrkKF0Y2
g4msJSDeoVklgS5JUlRvyk+dyWZdGnfmWPnGKJqiwsLD/cusTzKPyx+1T9UJ9k1B
+b47gb2rsFlc/lbBxNJjj8WNTToKomBqtmPap1KdtSZoKgCNHmVrnlcezWe4fhe0
claxYOV/6fFeDJNYs7oo56ZaJ6coFufB6FdZva2fLcaMefbxqKCFAi0D5Nj3D/Nn
5qTX/I+rpHZdvJnk2uJjaMPD7NphmfBvgf1sE+q2vTvTycQHJV7A8HY1t0Wdc7wQ
9vVY9SRJ3euIZYPvqVe11ohik0HREJb7by7xIiWBO3hnad2GldtW4hAsa4qdSOZJ
0TOsATA0l9PP4g/wgKta8ARGxNgU+PZzDovg4IQxXr5u7Fo1wNU=
=ofI6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to