[Python-modules-team] Bug#872992: pytest-qt: FTBFS: Tests failures because of logging changes in Qt

Dmitry Shachnev mitya57 at debian.org
Wed Aug 23 11:57:05 UTC 2017


Source: pytest-qt
Version: 2.1.2-2
Severity: serious
Tags: patch

Dear maintainer,

pytest-qt fails to build in the current sid:

  tests/test_logging.py .F.FF......F.................

  tests/test_logging.py::test_basic_logging[True-False] FAILED
  tests/test_logging.py::test_basic_logging[False-False] FAILED
  tests/test_logging.py::test_qtlog_fixture FAILED
  tests/test_logging.py::test_logging_fails_tests[DEBUG-1] FAILED

These failures are caused by the configure file that is now shipped with Qt
and which disables all debug output. See bug #805399 for details.

The fix is exporting QT_LOGGING_RULES="default.debug=true" when running the
tests. A patch to do this is attached.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pytest_logging.diff
Type: text/x-diff
Size: 1038 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170823/8edf25d2/attachment.diff>


More information about the Python-modules-team mailing list