public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/qutebrowser/files/, www-client/qutebrowser/
Date: Sun, 17 Sep 2023 01:59:59 +0000 (UTC)	[thread overview]
Message-ID: <1694915695.f45b72a5c98aef514d1565b2b59f4d1645f3231f.ionen@gentoo> (raw)

commit:     f45b72a5c98aef514d1565b2b59f4d1645f3231f
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 16 07:40:46 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Sep 17 01:54:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f45b72a5

www-client/qutebrowser: ignore new Qt warnings for tests

Maybe bit early to do this, but currently getting these
warnings with due-for-release-soon 6.5.3 and 6.6.0 branches.

Temporary either way, that's something upstream will handle
if still needed by the time of next release.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../qutebrowser/files/qutebrowser-3.0.0-tests-qt653.patch      | 10 ++++++++++
 www-client/qutebrowser/qutebrowser-3.0.0.ebuild                |  4 ++++
 2 files changed, 14 insertions(+)

diff --git a/www-client/qutebrowser/files/qutebrowser-3.0.0-tests-qt653.patch b/www-client/qutebrowser/files/qutebrowser-3.0.0-tests-qt653.patch
new file mode 100644
index 000000000000..e6d1185202cd
--- /dev/null
+++ b/www-client/qutebrowser/files/qutebrowser-3.0.0-tests-qt653.patch
@@ -0,0 +1,10 @@
+Qt6.5.3+ emits new warnings and causes tests to be aborted even if did
+not really fail. May(?) indicate that something needs to be done better
+in PyQt6 or qutebrowser, but let's just ignore it here for now.
+--- a/pytest.ini
++++ b/pytest.ini
+@@ -61,2 +61,4 @@
+     ^QBackingStore::endPaint\(\) called with active painter; did you forget to destroy it or call QPainter::end\(\) on it\?$
++    # ...and Qt 6.5.3
++    ^QItemSelectionModel: Selecting when no model has been set will result in a no-op\.
+ xfail_strict = true

diff --git a/www-client/qutebrowser/qutebrowser-3.0.0.ebuild b/www-client/qutebrowser/qutebrowser-3.0.0.ebuild
index 917250eb0675..0b5e8e7dd8d5 100644
--- a/www-client/qutebrowser/qutebrowser-3.0.0.ebuild
+++ b/www-client/qutebrowser/qutebrowser-3.0.0.ebuild
@@ -81,6 +81,10 @@ fi
 
 distutils_enable_tests pytest
 
+PATCHES=(
+	"${FILESDIR}"/${P}-tests-qt653.patch
+)
+
 src_prepare() {
 	distutils-r1_src_prepare
 


             reply	other threads:[~2023-09-17  2:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-17  1:59 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-27  8:47 [gentoo-commits] repo/gentoo:master commit in: www-client/qutebrowser/files/, www-client/qutebrowser/ Ionen Wolkens
2023-03-18 23:22 Ionen Wolkens
2022-12-11 18:14 Ionen Wolkens
2021-12-02  5:13 Ionen Wolkens
2020-05-27 16:19 Stefan Strogin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1694915695.f45b72a5c98aef514d1565b2b59f4d1645f3231f.ionen@gentoo \
    --to=ionen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox