From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sJYLOvHVqGPeogAAbAwnHQ (envelope-from ) for ; Mon, 26 Dec 2022 00:00:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sIoTOfHVqGPDIwEAG6o9tA (envelope-from ) for ; Mon, 26 Dec 2022 00:00:01 +0100 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 945EA19E2A for ; Mon, 26 Dec 2022 00:00:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9Zxp-0000eh-Cm; Sun, 25 Dec 2022 17:59:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9ZxP-0000UY-5J for guix-patches@gnu.org; Sun, 25 Dec 2022 17:59:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9ZxO-0006r2-Kx for guix-patches@gnu.org; Sun, 25 Dec 2022 17:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p9ZxO-0005Sp-7P for guix-patches@gnu.org; Sun, 25 Dec 2022 17:59:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60324] [PATCH 1/3] gnu: python-pyqtgraph: Update to 0.13.1. References: <20221225225330.829571-1-monego@posteo.net> In-Reply-To: <20221225225330.829571-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Dec 2022 22:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60324@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 60324-submit@debbugs.gnu.org id=B60324.167200910520928 (code B ref 60324); Sun, 25 Dec 2022 22:59:02 +0000 Received: (at 60324) by debbugs.gnu.org; 25 Dec 2022 22:58:25 +0000 Received: from localhost ([127.0.0.1]:50263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9Zwm-0005RS-Lj for submit@debbugs.gnu.org; Sun, 25 Dec 2022 17:58:25 -0500 Received: from mout01.posteo.de ([185.67.36.65]:35461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9Zwk-0005R7-GV for 60324@debbugs.gnu.org; Sun, 25 Dec 2022 17:58:23 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5AC65240135 for <60324@debbugs.gnu.org>; Sun, 25 Dec 2022 23:58:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1672009096; bh=3oFyI3QC2TgENUeM3VA50EYLY00pJ/qnUGhfMKCB9OY=; h=From:To:Cc:Subject:Date:From; b=rMS1hzBp+uQ8LYsUiC4xtFnHmwdv08yXXZsetmpSofrP3VoSEpjR5Jilw2giTM5Xb FKN1mwa+cO+VHDT1ZSAP3Zp+8NPJAXgfbLnUDOxO6/n583eYxk7BLTnxd50wj5MS2f U+eh+3EvbnFsJtw7XKU0n9orTynDFhmUvKzR9KyieDDqb3Na2Nw3zsyKug2EzRYIfQ lYt80P1v9mJ8XwA108IS+NL0m+uMvpQe9+EcFvrSN+ATCLhp8Sb2lxv/zsh/E1eV4P wjLQQQLpovL76KbKYS7ywhT3I9WXuCJ2WvWHbTQgT2hSM79mNgaqT55emA3mWVHVob eT18w9xEJETkw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NgGY04fjSz6tmx; Sun, 25 Dec 2022 23:58:12 +0100 (CET) From: Vinicius Monego Date: Sun, 25 Dec 2022 22:57:59 +0000 Message-Id: <20221225225801.829867-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-Mailman-Approved-At: Sun, 25 Dec 2022 17:59:27 -0500 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672009201; 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=NtFb64f1AcD2dk07f48M8YXGdWy9c1rvgyoN4gmSypc=; b=Lj10iVJbqybDu/J/kbtgQHOGwvbx4gYZboRTz66idUDQNIk2ywOsiapwE/F1NLY2W2U/WT 9jljC1X8/9beuHVTbFMPxbykDxNoEG0rJaBd5GnS8H+C95jJzll5cFhFAEOAO3wKhOQf9A tL9fhTEjSEEnlUwZ3FLU2QRASas0quuZ2VH58pLePt9itbe5+DGdv0ZHCoeF3encxpvfrq +0G30cR6Cuwrq7Q/8WCdNOVPvTqrNHpuTN9LURUr5z6Ten/P9Tzv/2nO2DZAVZ24c+ff98 VsOvGdC+XknBRQSlqNV4/Ty8EUWn7EsfC2XzkM3LWTicp4T2WeTUMJBNmN6fZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=rMS1hzBp; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672009201; a=rsa-sha256; cv=none; b=pjOLOWcAwaWrYMCvYrKPV+fABDdpImnsPObu9NC+pQDRwWwq2Yx1YalMfVQmsjT70k0eKm 6ASB7SyTrDToeOCGlJJSrZqJYZ2nRmTUyFky2AdcmRbsmsIzEdDAVnCQ32Ea8p0vxwNpys 4Lb9nTskSNmuPiSM98F3W2kDop6TJmNdybM+LnaAKCJg/M0CmRl5QAslWs+f/N80J6bCdo JHIKAkdIbOGZN/H9a4ZGckOO5H9XH6RY6VJ/9wvKaUI+7uBnmStNtb6NkUyPdRIEcXOwPE GuPVoByxP4UJh4QgTSIGGmzL/hAlRR7FLPsIzl/KCJ9DaYCZSgBHhuVZ/tFRSA== X-Spam: Yes X-Migadu-Queue-Id: 945EA19E2A X-Migadu-Spam: Yes X-Spam-Score: 7.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=rMS1hzBp; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.28 X-TUID: QE0V7RkVSRU1 * gnu/packages/python-xyz.scm (python-pyqtgraph): Update to 0.13.1. [build-system]: Use pyproject-build-system. [arguments]: Rewrite as G-expressions; add #:test-flags to disable broken tests and enable more tests. [phases]: Remove trailing #t; do not replace 'check phase; rename 'set-home-and-qpa phase to 'set-qpa. [native-inputs]: Replace python-pytest with python-pytest-7.1. --- Curious about the commit message on this one. gnu/packages/python-xyz.scm | 43 +++++++++++-------------------------- 1 file changed, 13 insertions(+), 30 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ba87a0e4bc..7f0e08bbdf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16078,42 +16078,25 @@ (define-public python-anyqt (define-public python-pyqtgraph (package (name "python-pyqtgraph") - (version "0.12.1") + (version "0.13.1") (source (origin (method url-fetch) (uri (pypi-uri "pyqtgraph" version)) (sha256 - (base32 "0kc7ncv0lr3spni29i9g8nszyr4xinswqi2zzs6v8kqqi593pvyj")))) - (build-system python-build-system) + (base32 "026wq2p7h1dmg2ldwhxiv28i5qld0llhnak06dxp4rdrkpsqg3v9")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'set-home-and-qpa - (lambda _ - (setenv "HOME" "/tmp") - (setenv "QT_QPA_PLATFORM" "offscreen") - #t)) - (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv" "-k" - (string-append - ;; These tests try to download online data. - "not test_PolyLineROI" - " and not test_getArrayRegion_axisorder" - " and not test_getArrayRegion" - " and not test_PlotCurveItem" - " and not test_NonUniformImage_colormap" - " and not test_NonUniformImage_lut" - " and not test_ImageItem_axisorder" - " and not test_ImageItem" - ;; The test_reload test fails and suggests adding - ;; "--assert=plain" to the pytest command, but it - ;; doesn't solve the failure. - " and not test_reload"))))))) - (native-inputs - (list python-pytest python-pytest-cov python-pytest-xdist)) + ;; This test fails. It suggests to disable assert rewriting in Pytest, + ;; but it still doesn't pass. + (list #:test-flags #~'("-k" "not test_reload") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-qpa + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (native-inputs + (list python-pytest-7.1 python-pytest-cov python-pytest-xdist)) (inputs (list qtbase-5)) (propagated-inputs -- 2.34.1