Your message dated Tue, 24 Oct 2017 20:52:30 +0000
with message-id <e1e76ba-0003kt...@fasolo.debian.org>
and subject line Bug#871313: fixed in sphinxcontrib-programoutput 0.11-1
has caused the Debian Bug report #871313,
regarding sphinxcontrib-programoutput: FTBFS with Sphinx 1.6: tests failures
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.)


-- 
871313: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871313
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sphinxcontrib-programoutput
Version: 0.8-5
Severity: important
Tags: patch
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx1.6

Dear Maintainer,

sphinxcontrib-programoutput fails to build with Sphinx 1.6, currently
available in experimental:

  =================================== FAILURES 
===================================
  _________________________ test_unexpected_return_code 
__________________________

  app = <sphinx.application.Sphinx object at 0x7fae4aeeeb90>

      @pytest.mark.with_content("""\
      .. program-output:: python -c 'import sys; sys.exit(1)'""")
      def test_unexpected_return_code(app):
          with pytest.raises(SphinxWarning) as excinfo:
              app.build()
          exc_message = 'WARNING: Unexpected return code 1 from command 
{0!r}\n'.format(
              "python -c 'import sys; sys.exit(1)'")
  >       assert str(excinfo.value) == exc_message
  E       assert 'Unexpected r...ys.exit(1)\'"' == 'WARNING: 
Unex...s.exit(1)\'"\n'
  E         - Unexpected return code 1 from command u"python -c \'import sys; 
sys.exit(1)\'"
  E         ?                                                   -               
         -
  E         + WARNING: Unexpected return code 1 from command u"python -c 
'import sys; sys.exit(1)'"
  E         ? +++++++++                                                         
                   +

  tests/test_directive.py:247: AssertionError

A patch to fix this issue is attached.

--
Dmitry Shachnev
Description: fix tests failures with Sphinx 1.6
Author: Dmitry Shachnev <mity...@debian.org>
Forwarded: no
Last-Update: 2017-08-07

--- a/tests/test_directive.py
+++ b/tests/test_directive.py
@@ -242,9 +242,9 @@
 def test_unexpected_return_code(app):
     with pytest.raises(SphinxWarning) as excinfo:
         app.build()
-    exc_message = 'WARNING: Unexpected return code 1 from command {0!r}\n'.format(
+    exc_message = 'Unexpected return code 1 from command {0!r}'.format(
         "python -c 'import sys; sys.exit(1)'")
-    assert str(excinfo.value) == exc_message
+    assert exc_message in str(excinfo.value)
 
 
 @pytest.mark.with_content("""\
@@ -253,9 +253,9 @@
 def test_shell_with_unexpected_return_code(app):
     with pytest.raises(SphinxWarning) as excinfo:
         app.build()
-    exc_message = 'WARNING: Unexpected return code 1 from command {0!r}\n'.format(
+    exc_message = 'Unexpected return code 1 from command {0!r}'.format(
         "python -c 'import sys; sys.exit(1)'")
-    assert str(excinfo.value) == exc_message
+    assert exc_message in str(excinfo.value)
 
 
 @pytest.mark.with_content("""\

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: sphinxcontrib-programoutput
Source-Version: 0.11-1

We believe that the bug you reported is fixed in the latest version of
sphinxcontrib-programoutput, 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 871...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated 
sphinxcontrib-programoutput 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: SHA256

Format: 1.8
Date: Tue, 24 Oct 2017 20:11:33 +0000
Source: sphinxcontrib-programoutput
Binary: python-sphinxcontrib.programoutput 
python-sphinxcontrib.programoutput-doc python3-sphinxcontrib.programoutput
Architecture: source all
Version: 0.11-1
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <openstack-de...@lists.alioth.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Description:
 python-sphinxcontrib.programoutput - insert the output of arbitrary commands 
into documents - Python 2
 python-sphinxcontrib.programoutput-doc - insert the output of arbitrary 
commands into documents - doc
 python3-sphinxcontrib.programoutput - insert the output of arbitrary commands 
into documents - Python 3
Closes: 871313
Changes:
 sphinxcontrib-programoutput (0.11-1) unstable; urgency=medium
 .
   [ Daniel Baumann ]
   * Updating vcs fields.
   * Updating copyright format url.
   * Updating maintainer field.
   * Running wrap-and-sort -bast.
   * Updating standards version to 4.0.0.
   * Removing gbp.conf, not used anymore or should be specified in the
     developers dotfiles.
   * Updating standards version to 4.0.1.
   * Deprecating priority extra as per policy 4.0.1.
   * Updating standards version to 4.1.0.
 .
   [ Thomas Goirand ]
   * New upstream release:
     - Builds with sphinx 1.6+ (Closes: #871313).
   * Remove all patches.
   * Using setup.py test to run tests.
   * Removed transition package.
Checksums-Sha1:
 82bf65056b584fa0ac5d62bee880a9d94009f672 2595 
sphinxcontrib-programoutput_0.11-1.dsc
 1642023115ff4b6322c588c631525dc45a04ca4b 15468 
sphinxcontrib-programoutput_0.11.orig.tar.xz
 b5dda6079fde3669bdb0e2125b6ca41ed0b0fd79 7556 
sphinxcontrib-programoutput_0.11-1.debian.tar.xz
 7324f840a5855d6d242bac9a799f30adfca2c393 27274 
python-sphinxcontrib.programoutput-doc_0.11-1_all.deb
 1ca57a46291271a11475d5d6e57d96c5f67726b8 16698 
python-sphinxcontrib.programoutput_0.11-1_all.deb
 b859f4039167c87a88199f8d21a1bbb7abe99740 16704 
python3-sphinxcontrib.programoutput_0.11-1_all.deb
 29db813bee4d432d14ed175350e7dfac45d8b1f3 8778 
sphinxcontrib-programoutput_0.11-1_amd64.buildinfo
Checksums-Sha256:
 9a63082a95ee55d13f9c086657309f21739e8eff829e2c6b2363e258b6ec4a87 2595 
sphinxcontrib-programoutput_0.11-1.dsc
 0c2aa2a380ddb5cd68e6056c221e6bac883d86f13898c45d1b4ab7945e7f80f1 15468 
sphinxcontrib-programoutput_0.11.orig.tar.xz
 2c668e0c14f83607829f31846770a4d3c61a9653f8b96cbf65755a1db7b69d82 7556 
sphinxcontrib-programoutput_0.11-1.debian.tar.xz
 394f0c346588dad1994f9cb74efe7777087768c0269b2568f1cdc282a8d77e94 27274 
python-sphinxcontrib.programoutput-doc_0.11-1_all.deb
 a72d74e1d6671d0802c9b2ef9ce383c40d87c39b271249a9bf5c5f4647bbb3c2 16698 
python-sphinxcontrib.programoutput_0.11-1_all.deb
 89da94cb6a1b4ed92fda272bd98ee6aaa189259a3c5619f116f1a25b4f4610fe 16704 
python3-sphinxcontrib.programoutput_0.11-1_all.deb
 5b7c8bd518ab5a626c32338c8dfa502463cce960bf43c9b529dbd384402e9b1a 8778 
sphinxcontrib-programoutput_0.11-1_amd64.buildinfo
Files:
 f734d3b6f2683120e2197b9481166359 2595 python optional 
sphinxcontrib-programoutput_0.11-1.dsc
 267be5a4859fb0bc2573dc0900ab1b05 15468 python optional 
sphinxcontrib-programoutput_0.11.orig.tar.xz
 83e234e90240e9a902bb6388ac505d7f 7556 python optional 
sphinxcontrib-programoutput_0.11-1.debian.tar.xz
 74fdf84392c940c1438b9969533742a2 27274 doc optional 
python-sphinxcontrib.programoutput-doc_0.11-1_all.deb
 c74a0b58c6b6b2a8d12edcf72471dc59 16698 python optional 
python-sphinxcontrib.programoutput_0.11-1_all.deb
 139390ec3aa7ea1922d7e7f25b67f4be 16704 python optional 
python3-sphinxcontrib.programoutput_0.11-1_all.deb
 2cd64230d3d9933b80ceca8baeb2b872 8778 python optional 
sphinxcontrib-programoutput_0.11-1_amd64.buildinfo

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

iQJEBAEBCAAuFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAlnvoSwQHHppZ29AZGVi
aWFuLm9yZwAKCRDUFq0VrGtD/gngD/9BloxusgR3Kee9GXH7E/vS3Ik8GWsS9+4n
P9HF7MYKNMUXrROYoRmrASa8W7uwYw9aeh9Gz+SICie3MYTolXNG5gN6NFRknpBq
OlFvoPzyD2wvu0EtKFuyBurSoDPXA2Og5RMgYN8N1WPBR02a6mEUb+JYAcNIB7xN
kXzXCFRaDcRg61Nj2vjcBkhqshJIfABZciU5wsNaTi6Lu/lSPegvb8vEIlfmDZEf
caOmQcfHUZXMaoMFehdu+uiJWQjPJ7FOJJ12V82Ck6CWNdN3gQiMDob/h6Vv6bhp
BeUzUjGOla/FUKaOrEJ3wcU+Ln7FlRByofoQYyIe720vo072pdpnD9hBNEl9goST
/cIxRjU1QVzxfEqHHzoefOhkAP3Y+rfzrKsSowZ0iXhmLgXYbGZmFIuz35i4OlJr
OhRs9mZjimWbAFByzWzAiNkutkJEsBr2dGwM/iLT6Q47SNqej+U9HxkGnOtra180
LvVyxYn5/4NwfTTHr26S+sNJ/N5rxT1IrKHua9uM8mcFVhxp2HIiBPKDB1sFu021
5z99fW1tQTskLq+GIYNYiJxWQyP/wLp6u4m0ogbGLAcxnp1wIWjdnF2gmFzyMQzN
UT/gu6ryWnf2AhmOfoLc0roBxHm4X0rgkh60snvaxWJFaRyz3LyenZJBH11N8tNy
d8RsjxPAXA==
=Bxdj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to