From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4FsRMMdcwWFFeAAAgWs5BA (envelope-from ) for ; Tue, 21 Dec 2021 05:49:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eNe2K8dcwWE0aAAA1q6Kng (envelope-from ) for ; Tue, 21 Dec 2021 04:49:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 88D0B28D1C for ; Tue, 21 Dec 2021 05:49:11 +0100 (CET) Received: from localhost ([::1]:60146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzX5K-0006YC-Or for larch@yhetil.org; Mon, 20 Dec 2021 23:49:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzX4J-000514-2w for guix-patches@gnu.org; Mon, 20 Dec 2021 23:48:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzX4I-0004sD-Ql for guix-patches@gnu.org; Mon, 20 Dec 2021 23:48:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mzX4I-0001Yh-Q4 for guix-patches@gnu.org; Mon, 20 Dec 2021 23:48:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52696] [PATCH 09/12] gnu: python-qtconsole: Enable tests. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Dec 2021 04:48:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52696 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52696@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 52696-submit@debbugs.gnu.org id=B52696.16400620785869 (code B ref 52696); Tue, 21 Dec 2021 04:48:06 +0000 Received: (at 52696) by debbugs.gnu.org; 21 Dec 2021 04:47:58 +0000 Received: from localhost ([127.0.0.1]:52080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzX49-0001WZ-K6 for submit@debbugs.gnu.org; Mon, 20 Dec 2021 23:47:58 -0500 Received: from mout01.posteo.de ([185.67.36.65]:47761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mzX44-0001VA-Gb for 52696@debbugs.gnu.org; Mon, 20 Dec 2021 23:47:56 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id D9089240027 for <52696@debbugs.gnu.org>; Tue, 21 Dec 2021 05:47:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1640062066; bh=OOtEUxs0YrgQOTvEVRgcv84QstPtbs3t+owX7wU/zU8=; h=From:To:Cc:Subject:Date:From; b=lFEMdUfZe3nkzlutZtU6hkJEksyciembAC7lBWmJ+6EAm2sgRf8qdQcsKE8rN+Hnd ayiXGP9uKZ8HgTXMzMbxKgaKC7WKgvKPBFY9egjM0JglyukMblDw8XKRhYYYa3dHcP KWhHUL7nOyT0djZ9cOxso+VEECjRzn8qZ8S6KvSdWZhsGGpv25S7JusJUIBXlItkWr fGljqRQd2hwZh2jyolUHoO5H8ZjFRTx92St9E+o4KzuYq/UsUdpSze/MJJthLR1m9I l6fRv7uI+x6iL9DRH91ChAYg+GVA9urURqG7txayWt/6IZaFhBmyRY2gW4TeXfFlnm jfCCgtKJkfIuA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JJ3q56p1rz9rxF; Tue, 21 Dec 2021 05:47:45 +0100 (CET) From: Vinicius Monego Date: Tue, 21 Dec 2021 04:46:40 +0000 Message-Id: <20211221044643.78959-9-monego@posteo.net> In-Reply-To: <20211221044643.78959-1-monego@posteo.net> References: <20211221044643.78959-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640062151; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QjjfFKYSJYIzg89VuqdT+Lk0YWeaq/fsxiF7q2dChwY=; b=maLRbdpOh+7irhj+1I1hHXIIL8UF7t3DVO3yEB8bl3kv3yq1QrVaIE4iT4S2dYUMCL/GBO 1A3wfH9PI2NWgDysk0dCl42Plvz2WMIZonlB8iZZWdKpa+/O2T5HRzaV6xxHCyhZGoMB3S VRWsz1J4nPKDsIXkgzFN/lPiX4THJHEE162FVhsL/RZ7zd3X/+PngEDI44ikEkSzkKhIXm GG05DIIN/TaCZzKXQs2XgrYF/62K2DDr27jrEGRf2ozp6lthbh/g2OhDebxwkJPoxIiWqq 5e2mioPCIhOU0gcZ/rrWiV3aBe1PXT/k++7yl8/MmbO9yp5I7kLDDn9MCCCFJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640062151; a=rsa-sha256; cv=none; b=ZCjh3lNnWtAeazG3+JqvYUFfijM5xnbvRYPiyTliVKh/K6ne+mLVT6vrt9Pzx2hLR00CNC n7yo2mffIeK4YWo5cXBAzchfAjeTz7Bk2h8liczaZRoyaYD1NoHJXVjl7C+acanvC18tzp kKoEYHs16LB0vj3wose4Rev8JfyGBIcLtL4xit2KT+zV5pOX4Fllt+o//ffUpz1awdQiVS RtlUJXzB69/+C3VvCF9YKSbvhHLY3VbhZvTY+hSPq1mgjKLZ2vaffCHqd+DfuVEIupcpqi DgcAkL5VagQj0/xfDsvhNBflNFWgrw2tC3FQMpOmhc2zFsjXt1yw1qhs21YkOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=lFEMdUfZ; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=lFEMdUfZ; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 88D0B28D1C X-Spam-Score: -1.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: pCXiZJGvHsN6 * gnu/packages/python-xyz.scm (python-qtconsole)[arguments]: Remove #:tests?. <#:phases>: Set HOME and skip a failing test in the 'pre-check phase. [native-inputs]: Add python-flaky. --- gnu/packages/python-xyz.scm | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 40f7a7c7ad..d421369666 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12228,23 +12228,21 @@ Jupyter kernels such as IJulia and IRKernel.") (base32 "013qgpsm8jzcz3prhq7sxs36l8f7fgagmn3xa010gfhxf7cfldpj")))) (build-system python-build-system) (arguments - ;; XXX: Tests are disabled, because this package needs python-ipython 7, - ;; but we only have the LTS version 5.x. This means that there might be - ;; runtime errors, but since this is a dependency of the Jupyter package, - ;; and Jupyter can be used without the qtconsole we can overlook this for - ;; now. - `(#:tests? #f - #:phases + `(#:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda _ - (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (setenv "QT_QPA_PLATFORM" "offscreen") + (setenv "HOME" "/tmp") + ;; FIXME: skip a failing test. + (substitute* "qtconsole/tests/test_jupyter_widget.py" + (("def test_other_output") "def _test_other_output"))))))) (propagated-inputs (list python-ipykernel python-ipython-genutils python-jupyter-client python-jupyter-core python-pygments python-pyqt python-pyzmq python-qtpy python-traitlets)) (native-inputs - (list python-pytest)) + (list python-flaky python-pytest)) (home-page "https://jupyter.org") (synopsis "Jupyter Qt console") (description "This package provides a Qt-based console for Jupyter with -- 2.30.2