all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Arjan Adriaanse <arjan@adriaan.se>
To: 75420@debbugs.gnu.org
Cc: Arjan Adriaanse <arjan@adriaan.se>,
	Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>,
	Tanguy Le Carrour <tanguy@bioneland.org>,
	jgart <jgart@dismail.de>
Subject: [bug#75420] [PATCH python-team 03/11] gnu: Add python-pytest-codspeed.
Date: Tue,  7 Jan 2025 15:09:14 +0100	[thread overview]
Message-ID: <482b2dbaf82f97ed17b92d66793392900331829b.1736256868.git.arjan@adriaan.se> (raw)
In-Reply-To: <cover.1736256868.git.arjan@adriaan.se>

* 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 <navid.afkhami@mdc-berlin.de>
 ;;; Copyright © 2024 David Elsing <david.elsing@posteo.net>
 ;;; Copyright © 2024 Eric Bavier <bavier@posteo.net>
+;;; Copyright © 2025 Arjan Adriaanse <arjan@adriaan.se>
 ;;;
 ;;; 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")
-- 
2.46.0





  parent reply	other threads:[~2025-01-07 14:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-07 13:56 [bug#75420] [PATCH python-team 00/11] Fix python-matrix-nio and pantalaimon builds Arjan Adriaanse
2025-01-07 14:09 ` [bug#75420] [PATCH python-team 01/11] gnu: Add python-expandvars Arjan Adriaanse
2025-01-07 14:09 ` [bug#75420] [PATCH python-team 02/11] gnu: python-yarl: Update to 1.12.1 Arjan Adriaanse
2025-01-07 14:09 ` Arjan Adriaanse [this message]
2025-01-07 14:09 ` [bug#75420] [PATCH python-team 04/11] gnu: Add python-aiohappyeyeballs Arjan Adriaanse
2025-01-07 14:09 ` [bug#75420] [PATCH python-team 05/11] gnu: python-aiohttp: Update to 3.10.11 Arjan Adriaanse
2025-01-07 14:09 ` [bug#75420] [PATCH python-team 06/11] gnu: python-pytest-aiohttp: Update to 1.0.5 Arjan Adriaanse
2025-01-07 14:09 ` [bug#75420] [PATCH python-team 07/11] gnu: python-socks: Update to 2.4.4 Arjan Adriaanse
2025-01-07 14:09 ` [bug#75420] [PATCH python-team 08/11] gnu: python-aiohttp-socks: Update to 0.8.4 Arjan Adriaanse
2025-01-07 14:09 ` [bug#75420] [PATCH python-team 09/11] gnu: python-matrix-nio: Update to 0.25.1 Arjan Adriaanse
2025-01-07 14:09 ` [bug#75420] [PATCH python-team 10/11] gnu: python-platformdirs: Update to 4.3.6 Arjan Adriaanse
2025-01-07 14:15 ` [bug#75420] [PATCH python-team 11/11] gnu: pantalaimon: Update to 0.10.5-0.257ef6a Arjan Adriaanse

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=482b2dbaf82f97ed17b92d66793392900331829b.1736256868.git.arjan@adriaan.se \
    --to=arjan@adriaan.se \
    --cc=75420@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    --cc=sharlatanus@gmail.com \
    --cc=tanguy@bioneland.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.