From patchwork Tue Jan 7 14:09:14 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Arjan Adriaanse X-Patchwork-Id: 36703 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 8478727BBEA; Tue, 7 Jan 2025 14:11:27 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 119D427BBE2 for ; Tue, 7 Jan 2025 14:11:23 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVAIb-0004A0-0x; Tue, 07 Jan 2025 09:11:16 -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 1tVAIW-00048t-6n for guix-patches@gnu.org; Tue, 07 Jan 2025 09:11:08 -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 1tVAIV-0001fU-U0; Tue, 07 Jan 2025 09:11:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=LqbW/L4D+M4IN8vTfd8TEuKtxIu9omRsFrxsI34X9D8=; b=UdvjOcjjf77lLhSeOSQ3Ii5gTXHcpwm2z80X4VEfDSVjqY7i3AF+9DLcWPJk+aLU+zOlUzEBoO3znm0H9mOkXrHP5+t7qFQ0DCdiFh8E/OS9MIp3SvF5sfS71xLlsS3PF4N+DPSZ9Bpkna1iXRmLKZFHSNFyEtdl3QqOM1Iwpn7KL4IQIUpBZ86f2r4M5UPB4CSJ0yKZCnRID1h/woOgzcyIQEdY86zZoRCSNSDf3O63JEVlA6N5T05TxAN5UclTbhBySgASKljgqv7+pxCHuOc8bEdtFl0q6M4mW1TisjFmkbMa7dHoSdfXYtIQUreTdLi8o31JD2s7AeRA0AAdsA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVAIR-0001AQ-St; Tue, 07 Jan 2025 09:11:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75420] [PATCH python-team 03/11] gnu: Add python-pytest-codspeed. Resent-From: Arjan Adriaanse Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 07 Jan 2025 14:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75420 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75420@debbugs.gnu.org Cc: Arjan Adriaanse , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 75420-submit@debbugs.gnu.org id=B75420.17362590103937 (code B ref 75420); Tue, 07 Jan 2025 14:11:03 +0000 Received: (at 75420) by debbugs.gnu.org; 7 Jan 2025 14:10:10 +0000 Received: from localhost ([127.0.0.1]:42187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVAHY-00011M-8X for submit@debbugs.gnu.org; Tue, 07 Jan 2025 09:10:09 -0500 Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:2219:0:1]:36527) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tVAHS-000108-Py for 75420@debbugs.gnu.org; Tue, 07 Jan 2025 09:10:04 -0500 Received: from smtp.freedom.nl (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4YSCc46zhHzyQP; Tue, 7 Jan 2025 14:09:56 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.108]) by freedom.nl (Postfix) with ESMTPSA id 4YSCc24TZbz2xQn; Tue, 7 Jan 2025 14:09:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=adriaan.se; s=soverin; t=1736258996; bh=XUWgupxHipUaYSQVkZSQKSbB3aUn+m7MicN8q1XDVH0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZVbobRSQUx5fd4JcUjoqWu+fuR4ljnOSnm10IGf7tI39g4KHs5/vY9H2vjaZjOaFh hH8jyNBGuo8g1kEjKjnIucDerHV/BdTGqJWLKwwNqBYYpygk1Sj6STLqlpp+IpnWc7 afxzvvFx4xjZTEzebIIu+KLdThkdnl8WHLolbrZthcNrjgF+EGybwYsjFk2vm8n7Yi X8JYQJaxShTBVzOuopO2eVw84OSeCQB3utfxDIkF7Qc6cBzqGEkM1VCgDlhZ11ujsu A+WWZqwX710vzZPpu+8lIeyWvt6qRpjEvfeA+a6Gc3N6UVrI5BPfqXMLGB1ar4xbfT II/CqHNs05gyg== X-CM-Analysis: v=2.4 cv=WMmFXmsR c=1 sm=1 tr=0 ts=677d35b3 a=fD/rzi2Tphj41Sc3CkWoTA==:617 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=yqlMzxAxAAAA:8 a=uChsZFC9AAAA:8 a=trPKdVC__Up8aId8SjAA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=LsaQmJBP5CD7zixGX6Do:22 a=ULtXvzFHYWHLyBAuiDia:22 X-CM-Envelope: MS4xfA0glx69nww8bbwthKGUvvUMaOXfcJ1O4kjJ5xQEBiEEB3/T1CI/Xg2Q7bGqsdJKJJWFDMIISwocGWztzXRevzf5WIn/PB2tS4UToGZohpuLCVzcB17a wPgwiKVytZWzMY4tZw0FlKwKV4aHhRcSXdKTG/ftohnBtY3nUV6jskVdbBPCRad7eUkkYYKtrcJqrDKUsZW/FjnHd3+JdJejeIG8DlMwyR4py1du1CWx5bxI GUtgJ3De5apGz0fjeJgPPD0+BtGYRys47hdeqz5PsZ4= From: Arjan Adriaanse Date: Tue, 7 Jan 2025 15:09:14 +0100 Message-ID: <482b2dbaf82f97ed17b92d66793392900331829b.1736256868.git.arjan@adriaan.se> In-Reply-To: References: MIME-Version: 1.0 X-Spampanel-Class: ham 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/python-check.scm (python-pytest-codspeed): New variable. Change-Id: Ib6937eca74d98ce1bdbd9c9053394a537107825b --- gnu/packages/python-check.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index e8efb96f5f..1e6debc937 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2024 Navid Afkhami ;;; Copyright © 2024 David Elsing ;;; Copyright © 2024 Eric Bavier +;;; Copyright © 2025 Arjan Adriaanse ;;; ;;; This file is part of GNU Guix. ;;; @@ -48,6 +49,7 @@ (define-module (gnu packages python-check) #:use-module (gnu packages django) #:use-module (gnu packages docker) #:use-module (gnu packages jupyter) + #:use-module (gnu packages libffi) #:use-module (gnu packages openstack) #:use-module (gnu packages perl) #:use-module (gnu packages python-build) @@ -188,6 +190,34 @@ (define-public python-pytest-click interfaces with pytest.") (license license:expat))) +(define-public python-pytest-codspeed + (package + (name "python-pytest-codspeed") + (version "2.2.1") + (source + (origin + ;; No tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/CodSpeedHQ/pytest-codspeed") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0phjjg4ncjgq7j8fvchyag92qx4xvxjw33rkb50admipkz38sbzh")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-cffi + python-pytest)) + (native-inputs + (list python-hatchling + python-filelock + python-pytest + python-pytest-cov)) + (home-page "https://codspeed.io") + (synopsis "Pytest plugin to create CodSpeed benchmarks") + (description "Pytest plugin to create @code{CodSpeed} benchmarks.") + (license license:expat))) + (define-public python-pytest-cram (package (name "python-pytest-cram")