From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sLKvEMplfmAFDQAAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 07:25:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iPloC8plfmAYPQAAB5/wlQ (envelope-from ) for ; Tue, 20 Apr 2021 05:25:30 +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 EB3C6153B0 for ; Tue, 20 Apr 2021 07:25:29 +0200 (CEST) Received: from localhost ([::1]:39336 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYit7-0002eM-4o for larch@yhetil.org; Tue, 20 Apr 2021 01:25:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYisj-0002Dm-Mn for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYisj-0003Zr-7N for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYisj-0007ez-3K for guix-patches@gnu.org; Tue, 20 Apr 2021 01:25:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47906] [PATCH 08/22] gnu: python-qtconsole: Enable tests. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Apr 2021 05:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47906 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47906@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 47906-submit@debbugs.gnu.org id=B47906.161889627229293 (code B ref 47906); Tue, 20 Apr 2021 05:25:04 +0000 Received: (at 47906) by debbugs.gnu.org; 20 Apr 2021 05:24:32 +0000 Received: from localhost ([127.0.0.1]:52652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYisB-0007cP-MU for submit@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:31 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYis7-0007by-Dy for 47906@debbugs.gnu.org; Tue, 20 Apr 2021 01:24:31 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id C1D932400E5 for <47906@debbugs.gnu.org>; Tue, 20 Apr 2021 07:24:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618896261; bh=erdLv7i9H7rdOqNkxXxerVFCmdK+SOcvWDu02ttbI+o=; h=From:To:Cc:Subject:Date:From; b=OCI0qfIVPMcZItkQtc41LeRPW8aYTxatQ+Vgq083X5dEjGdF2FJ2eoODrIJwsBjfV 0kTAAwW23Rb15epHQSp6kCSgVeymBIPSkDSClLt9K769XKuPQ5kFHoWrs79spourya ELp7fYmDy/IN6kZ5WYtlKJPbxH8M9vXPPLN0E/RboqEDSY7ZbjLIdstAEPan6WwNq9 ZqmItRFXx8hJCzu28yxBRldITQ0fHbcWj1b3OtJ17cWxtgtyYtO1lRnK+whZk5z3Jr hPEOXQCprF7Tx2OOKuGH3H4SmwSZq57hwz1QRQFoZXvFYDuEoZKpwR8yiOAPCfUKgi gXkTbIRuMs/hg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FPXDN3Hzpz6tmJ; Tue, 20 Apr 2021 07:24:20 +0200 (CEST) From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:32 +0000 Message-Id: <20210420052246.470690-8-monego@posteo.net> In-Reply-To: <20210420052246.470690-1-monego@posteo.net> References: <20210420052246.470690-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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618896330; 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=Csl/LiwPGFHRPUMxyhSzOMZvRHck0D5ZWsqcSAYaDt4=; b=hHNJq49gO4GBaOcbxR3bxVYm24CTz5eJMW9HsRarVzP0TfXUL8J8DWLZB/SjJ0/6xLcOFu 7UBMA2W4uChqcA7vDOd/JaeuPzJnpQKBfBys4Qbo+nzU+9Pv6mflFrYdU8FXyhw/RyIXVk UCJbnEWYmanxwsK8K5tKSllQa3pUQMKur+foiqSX8rwySZ0aQyp0eGmM8K6NCZGckivJnd U06Ax4g5M3icbOW18iCg6rhU4sMFy6/wNi6pcUhuiUQBgHFMy1wbpusMB7ozcpRP/ovkW1 GDrZxoGbwMFVTjk8WKIt6xZK+YtNhj87M+teVtuLjsOKZYZR/w5fgWNr9R099w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618896330; a=rsa-sha256; cv=none; b=dQ+WSmno0p4pErkASiTI9nsMrvTt7lZEb6n/hsGpakKmKY3rY+5tqlxkirq2XmAq9h49nm X246CjvB+q34YpUbbu+bNbdHqE6F8Tn+fUqF+nEc2VfCml9Sfi9/JQzMQ2+ogcYsS1Gs0u 0slKGDN0i+ybZAHoBPo2V5tSzWkWhdHX92AUBU3ZBLLm/BDq/rLORnLOyW/K/7JwUccas+ bQI6dRAcLsNCcRxWSriboxbu5D2IkAvrJjiwHxMbHHhXobjAjTXj9t/TRWje235K5VXWNI HP/leVl2skTmnELfoAsD/ZqNSL7UCqKEO/nlN08wI6R0ytUgbhaikYUzw4yTsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OCI0qfIV; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=OCI0qfIV; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EB3C6153B0 X-Spam-Score: 3.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: JzVd6AT2o+zP * gnu/packages/python-xyz.scm (python-qtconsole)[arguments]: Enable tests and skip a failing test. [native-inputs]: Add python-flaky. --- gnu/packages/python-xyz.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 852920db6e..891aa344f1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10741,17 +10741,15 @@ Jupyter kernels such as IJulia and IRKernel.") "0b91mb655pbn85cnikvhcl40is8w4hni2jjc00p478nj0xba74f0")))) (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") + + ;; Skip failing test. + (substitute* "qtconsole/tests/test_jupyter_widget.py" + (("test_other_output") "_test_other_output")) #t))))) (propagated-inputs `(("python-ipykernel" ,python-ipykernel) @@ -10759,7 +10757,8 @@ Jupyter kernels such as IJulia and IRKernel.") ("python-pyqt" ,python-pyqt) ("python-qtpy" ,python-qtpy))) (native-inputs - `(("python-pytest" ,python-pytest))) + `(("python-flaky" ,python-flaky) + ("python-pytest" ,python-pytest))) (home-page "https://jupyter.org") (synopsis "Jupyter Qt console") (description "This package provides a Qt-based console for Jupyter with -- 2.31.1