Bug#892633: pytest-catchlog FTBFS with pytest 3.3.2-2

2018-03-31 Thread Hugo Lefeuvre
Upstream replied:

> Like the note in the output says:
>   pytest-catchlog plugin has been merged into the core, please remove it from 
> your requirements.
> So if you ship pytest 3.3.2, there's probably no reason to have a 
> pytest-catchlog package.

So, I guess the pytest-catchlog package has no reasons of existing in
unstable since we ship pytest 3.3.2, and we should let it get removed
from unstable. Also, removing pytest-catchlog from the dependencies of
your package should be fine.

Cheers,
 Hugo

-- 
 Hugo Lefeuvre (hle)|www.owl.eu.com
4096/ 9C4F C8BF A4B0 8FC5 48EB 56B8 1962 765B B9A8 BACA


signature.asc
Description: PGP signature


Bug#892633: pytest-catchlog FTBFS with pytest 3.3.2-2

2018-03-30 Thread Hugo Lefeuvre
Control: forwarded -1 https://github.com/eisensheng/pytest-catchlog/issues/76

Hi,

I've forwarded this issue to upstream.

I suspect incompatibilities with pytest version 3.3.2 (package was
building fine with 3.2.5).

I'm quite in a hurry right now, but without answer from him I'll start
working on a patch (and will probably adopt python-catchlog at the
same time).

Cheers,
 Hugo

-- 
 Hugo Lefeuvre (hle)|www.owl.eu.com
4096/ 9C4F C8BF A4B0 8FC5 48EB 56B8 1962 765B B9A8 BACA


signature.asc
Description: PGP signature


Bug#892633: pytest-catchlog FTBFS with pytest 3.3.2-2

2018-03-11 Thread Adrian Bunk
Source: pytest-catchlog
Version: 1.2.2+git20170915-3
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pytest-catchlog.html

...
I: pybuild base:184: python2.7 -m pytest -v -x
= test session starts ==
platform linux2 -- Python 2.7.14+, pytest-3.3.2, py-1.5.2, pluggy-0.6.0 -- 
/usr/bin/python2.7
cachedir: .cache
rootdir: /build/1st/pytest-catchlog-1.2.2+git20170915, inifile:
plugins: catchlog-1.2.2
collecting ... collected 25 items

tests/test_compat.py::test_camel_case_aliases FAILED [  4%]

=== FAILURES ===
___ test_camel_case_aliases 

testdir = 

def test_camel_case_aliases(testdir):
testdir.makepyfile('''
import logging

logger = logging.getLogger(__name__)

def test_foo(caplog):
caplog.setLevel(logging.INFO)
logger.debug('boo!')

with caplog.atLevel(logging.WARNING):
logger.info('catch me if you can')
''')
result = testdir.runpytest()
>   assert result.ret == 0
E   assert 1 == 0
E+  where 1 = <_pytest.pytester.RunResult instance at 
0x7f8b617edcf8>.ret

/build/1st/pytest-catchlog-1.2.2+git20170915/tests/test_compat.py:19: 
AssertionError
- Captured stdout call -
= test session starts ==
platform linux2 -- Python 2.7.14+, pytest-3.3.2, py-1.5.2, pluggy-0.6.0
rootdir: /tmp/pytest-of-pbuilder1/pytest-0/test_camel_case_aliases0, inifile:
plugins: catchlog-1.2.2
collected 1 item

test_camel_case_aliases.py F [100%]

=== FAILURES ===
___ test_foo ___

caplog = <_pytest.logging.LogCaptureFixture object at 0x7f8b618820d0>

def test_foo(caplog):
>   caplog.setLevel(logging.INFO)
E   AttributeError: 'LogCaptureFixture' object has no attribute 'setLevel'

test_camel_case_aliases.py:6: AttributeError
=== warnings summary ===
None
  pytest-catchlog plugin has been merged into the core, please remove it from 
your requirements.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
= 1 failed, 1 warnings in 0.34 seconds =
=== warnings summary ===
None
  pytest-catchlog plugin has been merged into the core, please remove it from 
your requirements.

-- Docs: http://doc.pytest.org/en/latest/warnings.html
= 1 failed, 1 warnings in 2.64 seconds =
E: pybuild pybuild:283: test: plugin custom failed with: exit code=1: python2.7 
-m pytest -v -x
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned 
exit code 13
make[1]: *** [debian/rules:17: override_dh_auto_install] Error 25