Your message dated Wed, 30 Aug 2017 17:23:49 +0000
with message-id <e1dn6it-000gpl...@fasolo.debian.org>
and subject line Bug#872992: fixed in pytest-qt 2.1.2-3
has caused the Debian Bug report #872992,
regarding pytest-qt: FTBFS: Tests failures because of logging changes in Qt
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.)


-- 
872992: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872992
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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
--- pytest-qt-2.1.2/debian/rules
+++ pytest-qt-2.1.2/debian/rules
@@ -26,5 +26,5 @@
 
 override_dh_auto_test:
 ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
-	xvfb-run -a dh_auto_test
+	QT_LOGGING_RULES="default.debug=true" xvfb-run -a dh_auto_test
 endif
--- pytest-qt-2.1.2/debian/tests/control
+++ pytest-qt-2.1.2/debian/tests/control
@@ -3,7 +3,7 @@
  ; for py in $(py3versions -r 2>/dev/null)
  ; do cd "$AUTOPKGTEST_TMP"
  ; echo "Testing with $py:"
- ; PYTEST_QT_API=pyqt5 xvfb-run -a $py -m pytest tests
+ ; QT_LOGGING_RULES="default.debug=true" PYTEST_QT_API=pyqt5 xvfb-run -a $py -m pytest tests
  ; done
 Depends: python3-all, python3-pyqt5, python3-pytestqt, xauth, xvfb
 
@@ -12,6 +12,6 @@
  ; for py in $(py3versions -r 2>/dev/null)
  ; do cd "$AUTOPKGTEST_TMP"
  ; echo "Testing with $py:"
- ; PYTEST_QT_API=pyqt4 xvfb-run -a $py -m pytest tests
+ ; QT_LOGGING_RULES="default.debug=true" PYTEST_QT_API=pyqt4 xvfb-run -a $py -m pytest tests
  ; done
 Depends: python3-all, python3-pyqt4, python3-pytestqt, xauth, xvfb

--- End Message ---
--- Begin Message ---
Source: pytest-qt
Source-Version: 2.1.2-3

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

Debian distribution maintenance software
pp.
Ghislain Antony Vaillant <ghisv...@gmail.com> (supplier of updated pytest-qt 
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, 23 Aug 2017 19:26:33 +0100
Source: pytest-qt
Binary: python3-pytestqt python-pytestqt-doc
Architecture: source all
Version: 2.1.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Ghislain Antony Vaillant <ghisv...@gmail.com>
Description:
 python-pytestqt-doc - documentation for pytest-qt
 python3-pytestqt - pytest plugin for Qt application testing (Python 3)
Closes: 872992
Changes:
 pytest-qt (2.1.2-3) unstable; urgency=medium
 .
   * Fix FTBFS due to logging changes in Qt.
     Thanks to Dmitry Shachnev for the patch (Closes: #872992)
   * Use DEB_BUILD_OPTIONS for nocheck and nodoc guards
   * Fixup the Vcs-Browser URI
   * Bump standards version to 4.1.0
Checksums-Sha1:
 21923fea4b682703bc2c05f3128b6964e1177d4d 2429 pytest-qt_2.1.2-3.dsc
 38e28d28f1f9afa0275e7667c975a41b2d7b5098 108381 pytest-qt_2.1.2.orig.tar.gz
 9fa09ef23872de9dc33e8999a8e36724e5769cbd 3880 pytest-qt_2.1.2-3.debian.tar.xz
 ece9e436f49b13badd500c54870c744a3e1755c9 10398 
pytest-qt_2.1.2-3_amd64.buildinfo
 4e0a9deafa1a0f13b0f01f7231560482ba63fd1f 96692 
python-pytestqt-doc_2.1.2-3_all.deb
 9a89d866ccbb68a52ef3ea2c098729189a26726b 28104 python3-pytestqt_2.1.2-3_all.deb
Checksums-Sha256:
 2c2ed6a4487c34489c989ea075d50271a6cfb58c71a5722a44b67af937e4af7e 2429 
pytest-qt_2.1.2-3.dsc
 1f029b2aa1654f6b90fb7b2cbebd185cc1de7b792df6fdbb9af948b854a05ff7 108381 
pytest-qt_2.1.2.orig.tar.gz
 89be93be003a0c4abf379c7094bde8c17345d86078fa9145ae740ec288c78dc7 3880 
pytest-qt_2.1.2-3.debian.tar.xz
 c86e751ea3bdb932dfcb0b80607aff9cd1a7d1859b37726ed3a45f3cb7646a2c 10398 
pytest-qt_2.1.2-3_amd64.buildinfo
 8ba1351b4002dbafb234ce02cc53ae5cd6423843a43aee6b833728cf17ec9f0a 96692 
python-pytestqt-doc_2.1.2-3_all.deb
 fd0093a14cd6d97577b7092e76e57f4d4fef8479abf30edb517870f40fe78db8 28104 
python3-pytestqt_2.1.2-3_all.deb
Files:
 001e8b6640c04f05de226ed59bb96c33 2429 python optional pytest-qt_2.1.2-3.dsc
 a73d396f6141c7a5ced821030c0e8c23 108381 python optional 
pytest-qt_2.1.2.orig.tar.gz
 4e6fe5eae00241d5afa04322e1fb3d39 3880 python optional 
pytest-qt_2.1.2-3.debian.tar.xz
 99fd114ff3accd1015fffcb014a1cc29 10398 python optional 
pytest-qt_2.1.2-3_amd64.buildinfo
 627714c42315ae88975e922eeea3b910 96692 doc optional 
python-pytestqt-doc_2.1.2-3_all.deb
 0a33d99eb5d0f0e2fc1dbe88c0f9d023 28104 python optional 
python3-pytestqt_2.1.2-3_all.deb

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

iQIzBAEBCgAdFiEEbiJhr5LBUJGFGPlCVSVvKKxgYRoFAlmm7o0ACgkQVSVvKKxg
YRrfiRAApPTlh259V81ojhpoRMRfngJhIvpmcXQNheM44fu26w8CghiAZhSzZq+F
t9qsIzy5brnwxk1EuTZrmnEZVy/Eo5AnbQkXy+UJVa+M1qKJ3yZ9LCp/svyLUzs4
Fk4XOZSa0ZsUOuzXJOLgywDtGhXutz4RCCXlMdfO1YG4DFqk63y4HMSBwY6cUind
BI7jHx8j8eT0fooA5oyQwAXnxuF+N/FvuB4m1kIft3Qt4uS4AhCRohbrDjv0ikPC
FYAxEwB9xj5SaGXubNd96Vmgru6Y6/acp4m9Ww57qpf9viYbR6dJp5+J3Kj/GNiA
shzUi2LrghH6Lpdc/as/PNnUQYCSEoEwbkhzVKJkngXpS+INbH3xzhx+2etaDBOY
Scu633vtt5rAATMyJ9dj/gYFxBabud//KZfEzJwKBKFrjEwoPUwFewb4mrkXoHB+
cPCYvWc84kJxiDOS2tqTuqDOCs3Ox1QNC2DbEmWuoTRS8Ef16r6n2FXKMeLms6EN
ZsISScdZ90Zjbop5ERpD5r7ObiKrdMnxutRovAhgCOa7BOLW2fSebj8MhZBiJOxp
mxJ3ULZ1RK3KIecVr01ezKDhePoYgkYqnV0uVBmke+wVqTTVJc9ej3r07i8yp+3/
3UODAVPbOQ7C02EOqaZAo3S0YLbNbPCZoVDysLizEVbnT3zkW4w=
=0U4i
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to