Your message dated Wed, 19 Jul 2017 07:20:40 +0000
with message-id <e1dxjhk-000eco...@fasolo.debian.org>
and subject line Bug#868780: fixed in pytest-catchlog 1.2.2-3
has caused the Debian Bug report #868780,
regarding pytest-catchlog: latest pytest breaks test_compat_camel_case_aliases
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.)


-- 
868780: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868780
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pytest-catchlog
Version: 1.2.2-1
Severity: serious
Justification: fails to build from source
Control: forwarded -1 https://github.com/eisensheng/pytest-catchlog/issues/68

Latest Pytest in Debian (3.1.3) breaks the tests of this package:

<cut>
test_pytest_catchlog.py::test_record_tuples PASSED
test_pytest_catchlog.py::test_compat_camel_case_aliases FAILED

=================================== FAILURES ===================================
________________________ test_compat_camel_case_aliases ________________________

testdir = <Testdir 
local('/tmp/pytest-of-aham/pytest-0/testdir/test_compat_camel_case_aliases0')>

    def test_compat_camel_case_aliases(testdir):
        testdir.makepyfile('''
            import logging
    
            def test_foo(caplog):
                caplog.setLevel(logging.INFO)
                logging.getLogger().debug('boo!')
    
                with caplog.atLevel(logging.WARNING):
                    logging.getLogger().info('catch me if you can')
            ''')
        result = testdir.runpytest()
        assert result.ret == 0
    
        py.test.raises(Exception, result.stdout.fnmatch_lines,
                       ['*- Captured *log call -*'])
    
        result = testdir.runpytest('-rw')
        assert result.ret == 0
        result.stdout.fnmatch_lines('''
            =*warning summary*=
            *WL1*test_compat_camel_case_aliases*caplog.setLevel()*deprecated*
            *WL1*test_compat_camel_case_aliases*caplog.atLevel()*deprecated*
>       ''')
E       Failed: nomatch: '=*warning summary*='
E           and: u'============================= test session starts 
=============================='
E           and: u'platform linux2 -- Python 2.7.13, pytest-3.1.3, py-1.4.34, 
pluggy-0.4.0'
E           and: u'rootdir: 
/tmp/pytest-of-aham/pytest-0/testdir/test_compat_camel_case_aliases0, inifile:'
E           and: u'plugins: catchlog-1.2.2'
E           and: u'collected 1 item'
E           and: u''
E           and: u'test_compat_camel_case_aliases.py .'
E           and: u''
E           and: u'=============================== warnings summary 
==============================='
E           and: u'test_compat_camel_case_aliases.py::test_foo'
E           and: u"  'caplog.setLevel()' is deprecated, use 
'caplog.set_level()' instead"
E           and: u"  'caplog.atLevel()' is deprecated, use 'caplog.at_level()' 
instead"
E           and: u''
E           and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html'
E           and: u'===================== 1 passed, 2 warnings in 0.00 seconds 
====================='
E           and: u''
E       remains unmatched: '=*warning summary*='

/<<PKGBUILDDIR>>/test_pytest_catchlog.py:230: Failed
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.1.3, py-1.4.34, pluggy-0.4.0
rootdir: /tmp/pytest-of-aham/pytest-0/testdir/test_compat_camel_case_aliases0, 
inifile:
plugins: catchlog-1.2.2
collected 1 item

test_compat_camel_case_aliases.py .

=============================== warnings summary ===============================
test_compat_camel_case_aliases.py::test_foo
  'caplog.setLevel()' is deprecated, use 'caplog.set_level()' instead
  'caplog.atLevel()' is deprecated, use 'caplog.at_level()' instead

-- Docs: http://doc.pytest.org/en/latest/warnings.html
===================== 1 passed, 2 warnings in 0.01 seconds =====================
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.1.3, py-1.4.34, pluggy-0.4.0
rootdir: /tmp/pytest-of-aham/pytest-0/testdir/test_compat_camel_case_aliases0, 
inifile:
plugins: catchlog-1.2.2
collected 1 item

test_compat_camel_case_aliases.py .

=============================== warnings summary ===============================
test_compat_camel_case_aliases.py::test_foo
  'caplog.setLevel()' is deprecated, use 'caplog.set_level()' instead
  'caplog.atLevel()' is deprecated, use 'caplog.at_level()' instead

-- Docs: http://doc.pytest.org/en/latest/warnings.html
===================== 1 passed, 2 warnings in 0.00 seconds =====================
------------------------------ Captured log call -------------------------------
test_compat_camel_case_aliases.py    5 DEBUG    boo!
test_compat_camel_case_aliases.py    8 INFO     catch me if you can
test_compat_camel_case_aliases.py    5 DEBUG    boo!
test_compat_camel_case_aliases.py    8 INFO     catch me if you can
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
===================== 1 failed, 10 passed in 0.45 seconds ======================
E: pybuild pybuild:283: test: plugin custom failed with: exit code=2: python2.7 
-m pytest -v -x
</cut>

Thanks,
DS

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

Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), 
LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Source: pytest-catchlog
Source-Version: 1.2.2-3

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

Debian distribution maintenance software
pp.
Daniel Stender <sten...@debian.org> (supplier of updated pytest-catchlog 
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, 19 Jul 2017 08:58:05 +0200
Source: pytest-catchlog
Binary: python-pytest-catchlog python3-pytest-catchlog
Architecture: source all
Version: 1.2.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Daniel Stender <sten...@debian.org>
Description:
 python-pytest-catchlog - py.test plugin to capture test log messages
 python3-pytest-catchlog - py.test plugin to capture test log messages (Python3)
Closes: 868780
Changes:
 pytest-catchlog (1.2.2-3) unstable; urgency=medium
 .
   * drop git-dpm patch regime (remove deb/.git-dpm).
   * deb/gbp.conf:
     + change debian-branch to meet DEP-14.
     + add sign-tags.
   * deb/copyright: expand copyright span.
   * deb/tests/control: dropped allow-stderr (not needed).
   * add fix-test-failures.patch (Closes: #868780).
Checksums-Sha1:
 5020fc0fb9125e45f83358150673975170450259 2389 pytest-catchlog_1.2.2-3.dsc
 6e8d81bdd3267584bdab8b923b3210ec5eafd088 10456 
pytest-catchlog_1.2.2.orig.tar.xz
 f08a0e869535881678c21edb9dacda4f2d25d445 3384 
pytest-catchlog_1.2.2-3.debian.tar.xz
 76fda0bf6ee098e78114add8f11d351882c0adb0 7097 
pytest-catchlog_1.2.2-3_amd64.buildinfo
 8d549866b8f842f67c33a06173db5dcf85a09f0c 11604 
python-pytest-catchlog_1.2.2-3_all.deb
 e24193aa24bddaa45cf2d857b5b51c1b3eb9e900 11682 
python3-pytest-catchlog_1.2.2-3_all.deb
Checksums-Sha256:
 19304546fd3a0391237790af0ea1204c8896cc945427cd1c1f7803b9a0d4d68e 2389 
pytest-catchlog_1.2.2-3.dsc
 cf373d439f25b4f9c81908ebbcb4c496d187dc0e410be6e06904e2286e49a66a 10456 
pytest-catchlog_1.2.2.orig.tar.xz
 112ec59615f7dcf9b1e7688e886fffae92b63db64c913190235c10183477fddb 3384 
pytest-catchlog_1.2.2-3.debian.tar.xz
 322d0f791041c66e313f9e97fb255046831050629a234b009b5a73b3847761fd 7097 
pytest-catchlog_1.2.2-3_amd64.buildinfo
 32f654abd97d32bd91780c2776e1db030dbe5f5b4ebc5e841fc9a24333220b1b 11604 
python-pytest-catchlog_1.2.2-3_all.deb
 44126d99093035fbc76b9a6c5e37cb67f9bce41b372ba4c17d04074ef90b78be 11682 
python3-pytest-catchlog_1.2.2-3_all.deb
Files:
 0dc7aceb7204430055ef54cbfa1092d9 2389 python optional 
pytest-catchlog_1.2.2-3.dsc
 3d382b824404e1794f141a89c4c6314b 10456 python optional 
pytest-catchlog_1.2.2.orig.tar.xz
 ffcf748cf6066539fc21a81feffc7a1a 3384 python optional 
pytest-catchlog_1.2.2-3.debian.tar.xz
 1d3232603a14f0c08252059753e4ebe5 7097 python optional 
pytest-catchlog_1.2.2-3_amd64.buildinfo
 909097b002b41dfc046d4e917ff07547 11604 python optional 
python-pytest-catchlog_1.2.2-3_all.deb
 4201a26a767b82e2bc56d5b4d92acb4b 11682 python optional 
python3-pytest-catchlog_1.2.2-3_all.deb

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

iQIzBAEBCgAdFiEERsscqJ6jt0N2dh25FeCa9N9RgsgFAllvBA4ACgkQFeCa9N9R
gsgzwhAAlwImVbTvsGKbIvAjyLn8GUaicRR+Dcn894OknxGR3dvX/M8VrJ0Ih9f4
KB3G8syd20kp8Y2hlfFq0zsRRQbO4ktDX1Q+M3nKec9p+Jkx27D90Lhb7abf6eeU
QL9niwaRBGF43mnnwZkYM4payLQkVRTAu4ZRiKv4SVLWOZLdZ7ky6BiD1uoYZNT2
BxRAgliwnr1Zjvtw02JVHjcbxnuNJhOaSvOuG16NhA0r5PkopZz/xz6tWsVDbpTY
UAEZWxatXtXnufclU+MYKKD81tSVpwXJdaWNzSovMbj1ODKG0mNrszlWtNLBl0el
8/4aMl8G3e3qKsEDiMrIFhmSwSkcKdHC5vBQz3XQJIG/J6+imIymkn44xKSDa2E5
ucQiGJW9n2CsG2bmcvTo0qaIOs41pV98dw1m9ruKQiOs7MDs2TbKQ4Iw9cFgVoNk
7IkCx0OcT+ytndPhUQ8uGUJZm8QQjykRaYfJBRpluznM8bTOVtfqNGlZE86E9e+t
kc27RH2hCDFFcklzRjL9E0LA8trFKDDRpEmkDhtkwrDbaJTrxw/pxOOUorU/0S87
JuDJn62MkdF2X0GIzC+IxDW6P24IEOOAOEjXIy70IHuCf+LBGILr8s4Z4sg87vYn
NWUo2NgN6nnZ0s6LVg4t6ZnH7K03EZeXadQV6P3N64vHWqkzjnA=
=42uA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to