Your message dated Tue, 01 Jan 2019 12:20:12 +0000
with message-id <e1gej1o-0007yt...@fasolo.debian.org>
and subject line Bug#915896: fixed in python-py 1.7.0-2
has caused the Debian Bug report #915896,
regarding python-py FTBFS: test 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.)


-- 
915896: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915896
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-py
Version: 1.7.0-1
Severity: serious
Tags: ftbfs

Some recent change in unstable makes python-py FTBFS:

https://tests.reproducible-builds.org/debian/history/python-py.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-py.html

...
=================================== FAILURES ===================================
___________________________ test_apiwarn_functional ____________________________

recwarn = WarningsRecorder(record=True)

    def test_apiwarn_functional(recwarn):
        capture = py.io.StdCapture()
        py.log._apiwarn("x.y.z", "something", stacklevel=1)
        out, err = capture.reset()
        py.builtin.print_("out", out)
        py.builtin.print_("err", err)
>       assert err.find("x.y.z") != -1
E       AssertionError: assert -1 != -1
E        +  where -1 = <built-in method find of unicode object at 
0x7fca862b7180>('x.y.z')
E        +    where <built-in method find of unicode object at 0x7fca862b7180> 
= ''.find

testing/log/test_warning.py:26: AssertionError
----------------------------- Captured stdout call -----------------------------
out 
err 
_______________________________ test_stacklevel ________________________________

recwarn = WarningsRecorder(record=True)

    def test_stacklevel(recwarn):
        def f():
            py.log._apiwarn("x", "some", stacklevel=2)
        # 3
        # 4
        capture = py.io.StdCapture()
        f()
        out, err = capture.reset()
        lno = py.code.getrawcode(test_stacklevel).co_firstlineno + 6
        warning = str(err)
>       assert warning.find(":%s" % lno) != -1
E       AssertionError: assert -1 != -1
E        +  where -1 = <built-in method find of str object at 
0x7fca86286508>((':%s' % 37))
E        +    where <built-in method find of str object at 0x7fca86286508> = 
''.find

testing/log/test_warning.py:41: AssertionError
_____________________ test_stacklevel_initpkg_with_resolve _____________________

testdir = <Testdir 
local('/tmp/pytest-of-pbuilder1/pytest-0/test_stacklevel_initpkg_with_resolve0')>
recwarn = WarningsRecorder(record=True)

    def test_stacklevel_initpkg_with_resolve(testdir, recwarn):
        testdir.makepyfile(modabc="""
            import py
            def f():
                py.log._apiwarn("x", "some", stacklevel="apipkg123")
        """)
        testdir.makepyfile(apipkg123="""
            def __getattr__():
                import modabc
                modabc.f()
        """)
        p = testdir.makepyfile("""
            import apipkg123
            apipkg123.__getattr__()
        """)
        capture = py.io.StdCapture()
        p.pyimport()
        out, err = capture.reset()
        warning = str(err)
        loc = 'test_stacklevel_initpkg_with_resolve.py:2'
>       assert warning.find(loc) != -1
E       AssertionError: assert -1 != -1
E        +  where -1 = <built-in method find of str object at 
0x7fca86286508>('test_stacklevel_initpkg_with_resolve.py:2')
E        +    where <built-in method find of str object at 0x7fca86286508> = 
''.find

/build/1st/python-py-1.7.0/testing/log/test_warning.py:63: AssertionError
______________________ test_stacklevel_initpkg_no_resolve ______________________

recwarn = WarningsRecorder(record=True)

    def test_stacklevel_initpkg_no_resolve(recwarn):
        def f():
            py.log._apiwarn("x", "some", stacklevel="apipkg")
        capture = py.io.StdCapture()
        f()
        out, err = capture.reset()
        lno = 
py.code.getrawcode(test_stacklevel_initpkg_no_resolve).co_firstlineno + 2
        warning = str(err)
>       assert warning.find(":%s" % lno) != -1
E       AssertionError: assert -1 != -1
E        +  where -1 = <built-in method find of str object at 
0x7fca86286508>((':%s' % 67))
E        +    where <built-in method find of str object at 0x7fca86286508> = 
''.find

testing/log/test_warning.py:73: AssertionError
________________________________ test_function _________________________________

recwarn = WarningsRecorder(record=True)

    def test_function(recwarn):
        capture = py.io.StdCapture()
        py.log._apiwarn("x.y.z", "something", function=test_function)
        out, err = capture.reset()
        py.builtin.print_("out", out)
        py.builtin.print_("err", err)
>       assert err.find("x.y.z") != -1
E       AssertionError: assert -1 != -1
E        +  where -1 = <built-in method find of unicode object at 
0x7fca862b7180>('x.y.z')
E        +    where <built-in method find of unicode object at 0x7fca862b7180> 
= ''.find

testing/log/test_warning.py:82: AssertionError
...
 5 failed, 797 passed, 35 skipped, 15 xfailed, 1 xpassed, 656 warnings in 25.84 
seconds 
E: pybuild pybuild:338: test: plugin custom failed with: exit code=1: python2.7 
-m pytest testing -k-testing/log/test_warning.py
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned 
exit code 13
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 25

--- End Message ---
--- Begin Message ---
Source: python-py
Source-Version: 1.7.0-2

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

Debian distribution maintenance software
pp.
Ondřej Nový <on...@debian.org> (supplier of updated python-py 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: Tue, 01 Jan 2019 13:00:34 +0100
Source: python-py
Binary: python3-py python-py pypy-py
Architecture: source
Version: 1.7.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Ondřej Nový <on...@debian.org>
Description:
 pypy-py    - Advanced Python development support library (PyPy)
 python-py  - Advanced Python development support library (Python 2)
 python3-py - Advanced Python development support library (Python 3)
Closes: 915896
Changes:
 python-py (1.7.0-2) unstable; urgency=medium
 .
   * Use --ignore instead of -k- for ignoring tests (Closes: #915896)
   * Bump standards version to 4.3.0 (no changes)
   * Bump debhelper compat level to 12 and use debhelper-compat
Checksums-Sha1:
 508b862ed0f62c55b7d9d482b13da55100653e56 2341 python-py_1.7.0-2.dsc
 cfe84cf0a8fe8577aa79adfbeaed1992a7404499 7116 python-py_1.7.0-2.debian.tar.xz
 1d12914c2be5f8c16647a0602d4091da658e2db0 8377 python-py_1.7.0-2_amd64.buildinfo
Checksums-Sha256:
 d743826365d7e30aa9a9efc4c8418c962b42727be3d67c4eb759ea16924ae807 2341 
python-py_1.7.0-2.dsc
 18b37b59c4b58d777e0b483c9e33f39ee7fa9748a7692d7d8954e215a98be3dd 7116 
python-py_1.7.0-2.debian.tar.xz
 5c79ef2f4b03c78328fd9a80ae60479c6be6c77e583f82150dd95cd64a082b0e 8377 
python-py_1.7.0-2_amd64.buildinfo
Files:
 34b5d1e93fe497405f0e44dcb628a068 2341 python optional python-py_1.7.0-2.dsc
 f79176929dadd485b4c4195a3552aa1e 7116 python optional 
python-py_1.7.0-2.debian.tar.xz
 2ed453420fd185604798569b2d5525ec 8377 python optional 
python-py_1.7.0-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEPZg8UuuFmAxGpWCQNXMSVZ0eBksFAlwrV2UACgkQNXMSVZ0e
Bks3sBAAqGEhnjxepJkXeest45YyqeXb6T1Wn2iEAb/89HhJp4AKENn86FhndP2a
4davpMKXEYiNDSA5BAD9+3MUJ1JDjQRjpgJD+PR0F50pZoZ9lZ+yaJs1QvjRhmlZ
Vpmy1wkSsWRZ7x9EgsPr2HKh65WjAPvtmi2f9xZTqjC1eYxd0B71ECzZ9+kzXZX5
AQuVkMocE0falTHplLmKsc3ZGFLUasnZmqy8eR7pLUaI4T/+7l4mpIluBDcLLGQB
lnbIIhFJ3k+iYnARNIblxWH7rAoUyiKVHf+0YgPp6U85fqtHE8BPowvpcFQ6MQAm
dcW5wSgjK5wTuYhmBqgHVHQaw7dJTn241JSgNueD2+1iokY6Crau7QCQff7DVGuV
sp0pWozdi62OMJkim4hJ2fQ+tMqN30IjpFLf9Os96TYfAwVGRcO/3qZZUsGqS/rm
K0jziaIXG775zafXAHXloRzNS6l7q0AahhMfV7FIEzbq6PfvUMoCt2TtN9Q3gpGv
wiRiWA1j6veJVbk3OmqpvmoOtQrj32ELtew0BWZpx3adQ1YxOD6JtCq0Vammq0+A
EkIm/yq68hwqCsEmF33eaZ1WpbWZcQHqAz9UWSibA3pgJYtcbG0BXx926IFgkQQk
hcZhHmlahbRSQUTkQae/QzyXn6gbw4S16ZPO+FLiTHbv5aPwDZM=
=lDi3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to