From patchwork Sat Mar 23 22:04:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 62180 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 EFBB927BBEB; Sat, 23 Mar 2024 22:40:35 +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=ham 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 AAB7427BBE2 for ; Sat, 23 Mar 2024 22:40:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roA2K-0003Ij-Uv; Sat, 23 Mar 2024 18:40:24 -0400 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 1roA2J-0003GT-19 for guix-patches@gnu.org; Sat, 23 Mar 2024 18:40:23 -0400 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 1roA2I-0006n0-P8 for guix-patches@gnu.org; Sat, 23 Mar 2024 18:40:22 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1roA2y-0007um-4w for guix-patches@gnu.org; Sat, 23 Mar 2024 18:41:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH v4 05/32] gnu: Add python-pytest-shard. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Mar 2024 22:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69591@debbugs.gnu.org Cc: David Elsing Received: via spool by 69591-submit@debbugs.gnu.org id=B69591.171123363030276 (code B ref 69591); Sat, 23 Mar 2024 22:41:04 +0000 Received: (at 69591) by debbugs.gnu.org; 23 Mar 2024 22:40:30 +0000 Received: from localhost ([127.0.0.1]:58197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roA2Q-0007sA-BV for submit@debbugs.gnu.org; Sat, 23 Mar 2024 18:40:30 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ro9d7-0006jy-Em for 69591@debbugs.gnu.org; Sat, 23 Mar 2024 18:14:22 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7858B240103 for <69591@debbugs.gnu.org>; Sat, 23 Mar 2024 23:05:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711231523; bh=bulN+Gpgsiv5WBF6bs3jIyCUrRdwTykkxh53Vxaa3dE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=POVMvFL9pg/aER3qZ0S4s+G4lwA1iO8lJBjgASWduJ7WnrWNCfz/EirKedbKQYW9F DBvDlY7G/yR+fT+po9bKqJXZ4vf59cLWyNU8TyeFoAJXvTX78LdFfN2f7TovNl9TZ+ cykdkic4JBuWIncSnLfv2odcjbiGcH+UEUVmiBrEkR3KECtVRAXJVYciPMNaj7W81V t52EnmOyZlHoU9pncrXnTJcU9d4YQVVbIYW0qWA3ReZqrUS4IbxaWKy0eGSx13xWY+ b4znYMTVy0abCSvPlESFbNMjoDDhnoDXq0V/mCmM2ku2YHUoaHid347Y4ULXJ2uaDb /TbvfAVTV3S0A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V2CtW17G5z6trs; Sat, 23 Mar 2024 23:05:23 +0100 (CET) From: David Elsing Date: Sat, 23 Mar 2024 22:04:44 +0000 Message-ID: <20240323220518.25063-5-david.elsing@posteo.net> In-Reply-To: <20240323214040.20221-1-david.elsing@posteo.net> References: <20240323214040.20221-1-david.elsing@posteo.net> MIME-Version: 1.0 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-shard): New variable. --- gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 247f8af98b..f876088488 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -210,6 +210,30 @@ (define-public python-pytest-flakefinder times and detect flakyness.") (license license:asl2.0))) +(define-public python-pytest-shard + (let ((commit "64610a08dac6b0511b6d51cf895d0e1040d162ad") + (revision "0")) + (package + (name "python-pytest-shard") + (version (git-version "0.1.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AdamGleave/pytest-shard") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1h31m68igz670bzl307hazjrfbr8pk14mxflllar18ydmlrnl677")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-pytest)) + (home-page "https://github.com/AdamGleave/pytest-shard") + (synopsis "Pytest plugin for sharding tests") + (description "This package provides a Pytest extension for sharding +tests at the granularity of individual test cases, which can be run in +parallel and on multiple machines.") + (license license:expat)))) + (define-public python-testfixtures (package (name "python-testfixtures")