From patchwork Sat Nov 18 10:36:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 19647 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3E33D27BBE9; Sat, 18 Nov 2023 10:37:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1292427BBE2 for ; Sat, 18 Nov 2023 10:37:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r4IhC-000774-UQ; Sat, 18 Nov 2023 05:37:02 -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 1r4IhB-000752-BD for guix-patches@gnu.org; Sat, 18 Nov 2023 05:37:01 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r4IhB-0007ZQ-2a for guix-patches@gnu.org; Sat, 18 Nov 2023 05:37:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r4IhB-0000zi-Pa for guix-patches@gnu.org; Sat, 18 Nov 2023 05:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67258] [PATCH] gnu: python-pytest-perf: Update to 0.13.1. Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Nov 2023 10:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67258 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67258@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17003037913784 (code B ref -1); Sat, 18 Nov 2023 10:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2023 10:36:31 +0000 Received: from localhost ([127.0.0.1]:47869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4Igh-0000yw-2l for submit@debbugs.gnu.org; Sat, 18 Nov 2023 05:36:31 -0500 Received: from lists.gnu.org ([2001:470:142::17]:56992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r4Igc-0000yh-Pu for submit@debbugs.gnu.org; Sat, 18 Nov 2023 05:36: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 1r4IgV-0006fk-Ts for guix-patches@gnu.org; Sat, 18 Nov 2023 05:36:19 -0500 Received: from mout-y-111.mailbox.org ([91.198.250.236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1r4IgS-00072K-VL for guix-patches@gnu.org; Sat, 18 Nov 2023 05:36:19 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-111.mailbox.org (Postfix) with ESMTPS id 4SXVYT0mkDz9tbm for ; Sat, 18 Nov 2023 11:36:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1700303773; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=iTCbHX7QapsN9KIyaX3Q9MA3RmnU3c/ssI9dZ/b2t9U=; b=YreTs+3FGzqbU4+YRWavK0r9PHLpBbAyfGi77CaXBlNcqTRL2sSc9338bNibk3SXpu3OJ9 /8Zi5gG6gLFHmfHxzaYL+MJ1NMU/6t8/L3TICm/nNuV3XEvfA/vIsFBrMJKxzVCTMChGBn UazswxtB9Y5b+/Df1BPlTrrU9OUh/Gba8H/kHJ1SPsXm82clUxI2Qa0tZELvp2DNPvte4e P+XVd7Zca45Cu3KBmo+auX8Z/XPkWx22xmasZrjRzdNI6qN8w4F0Nfdn/xNT/ImWvxYZRM g7qeNv183fGpwGbpNaibh2Lmurqzun8wrlk/LwgKTo+dt8hOD19a4kLtkWi0CA== From: Troy Figiel Date: Sat, 18 Nov 2023 11:36:08 +0100 Message-ID: <87wmufl55z.fsf@troyfigiel.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4SXVYT0mkDz9tbm Received-SPF: pass client-ip=91.198.250.236; envelope-from=troy@troyfigiel.com; helo=mout-y-111.mailbox.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/check.scm (python-pytest-perf): Update to 0.13.1. [build-system]: Switch to pyproject-build-system, because setup.py has been removed since 0.12.1. [arguments]<#:phases>: Remove ignored tests from the check phase. <#:test-flags>: And use test flags instead. Change-Id: Id81e47666a51b411740c6e6a6f6976cee616b6a4 --- gnu/packages/check.scm | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index cf26196a24..1f5b886977 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2551,7 +2551,7 @@ (define-public python-pytest-pep8 (define-public python-pytest-perf (package (name "python-pytest-perf") - (version "0.12.0") + (version "0.13.1") (source (origin (method git-fetch) (uri (git-reference @@ -2560,26 +2560,21 @@ (define-public python-pytest-perf (file-name (git-file-name name version)) (sha256 (base32 - "05mgknvrmyz1kmkgw8jzvisavc68wz1g2wxv69i6xvzgqxf17m9f")))) - (build-system python-build-system) + "1hrccvrbccqwba04pqj749hdzn4sgldmbpg74nf3fzz7wyg6jxqk")))) + (build-system pyproject-build-system) (arguments (list - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-k" - (string-append - ;; Do not test the myproject.toml build as it tries to pull - ;; dependencies from the internet. - "not project " - ;; The benchmark test attempts to install the - ;; package, failing to pull its dependencies from the - ;; network. - "and not BenchmarkRunner " - ;; The upstream_url test requires networking. - "and not upstream_url")))))))) + #:test-flags '(list "-k" + (string-append + ;; Do not test the myproject.toml build as it tries to pull + ;; dependencies from the internet. + "not project " + ;; The benchmark test attempts to install the + ;; package, failing to pull its dependencies from the + ;; network. + "and not BenchmarkRunner " + ;; The upstream_url test requires networking. + "and not upstream_url")))) (native-inputs (list python-pytest python-pytest-black