From unknown Sun Jun 22 03:55:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 May 2021 08:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48645@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162193184010649 (code B ref -1); Tue, 25 May 2021 08:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2021 08:37:20 +0000 Received: from localhost ([127.0.0.1]:44641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSYr-0002lb-Lj for submit@debbugs.gnu.org; Tue, 25 May 2021 04:37:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:43706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSYq-0002lS-1K for submit@debbugs.gnu.org; Tue, 25 May 2021 04:37:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSYp-0000Sx-Q0 for guix-patches@gnu.org; Tue, 25 May 2021 04:37:11 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:34820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSYi-0005ow-R4 for guix-patches@gnu.org; Tue, 25 May 2021 04:37:11 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Fq6rZ1kVmz1qtdc for ; Tue, 25 May 2021 10:37:02 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Fq6rZ1dBmz1qsbC for ; Tue, 25 May 2021 10:37:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id eQL8wMqXXpet for ; Tue, 25 May 2021 10:37:01 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-55-137.dynamic.mnet-online.de [188.174.55.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 25 May 2021 10:37:01 +0200 (CEST) Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id DF32A600E3; Tue, 25 May 2021 10:42:28 +0200 (CEST) From: Hartmut Goebel Date: Tue, 25 May 2021 10:36:59 +0200 Message-Id: <7a6f8d0a36821597ebc833cd6ce2fdfcf6d309d7.1621931753.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-check.scm (python-pytest-mp): New variable. --- gnu/packages/python-check.scm | 39 ++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index f0b454eec9..19e87d3ab7 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2019, 2020 Efraim Flashner ;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer -;;; Copyright © 2019 Hartmut Goebel +;;; Copyright © 2019, 2021 Hartmut Goebel ;;; Copyright © 2020 Julien Lepiller ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Edouard Klein @@ -1463,3 +1463,40 @@ allows one to create a set of tests using @emph{pairwise combinations} method, reducing a number of combinations of variables into a lesser set that covers most situations.") (license license:expat))) + +(define-public python-pytest-mp + (package + (name "python-pytest-mp") + (version "0.0.4p2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ansible/pytest-mp") + (commit "49a8ff2ca9ef62d8c86854ab31d6b5d5d6cf3f28"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01v98b6n3yvkfmxf2v38xk5ijqlk6ika0yljwkhl5bh6qhq23498")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pytest" ,python-pytest) + ("python-psutil" ,python-psutil))) + (arguments + ;; tests require setuptools-markdown, which is deprecated and not in guix + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-useless-requirements + (lambda _ + (substitute* "setup.py" + ((" setup_requires=") " #"))))))) + (home-page "https://github.com/ansible/pytest-mp") + (synopsis "Multiprocess and Segregate Tests") + (description "pytest-mp is a minimalist approach to distributing and +segregating pytest tests across processes using python's multiprocessing +library and is heavily inspired by pytest-concurrent and pytest-xdist. As a +very early beta, it doesn't pledge or intend to support the majority of +platforms or use cases. Design is based on supporting slow, io-bound testing +with often tedious system under test configuration that can benefit from +running several tests at one time.") + (license license:expat))) -- 2.30.2 From unknown Sun Jun 22 03:55:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Jun 2021 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 48645@debbugs.gnu.org Received: via spool by 48645-submit@debbugs.gnu.org id=B48645.16229252446429 (code B ref 48645); Sat, 05 Jun 2021 20:35:02 +0000 Received: (at 48645) by debbugs.gnu.org; 5 Jun 2021 20:34:04 +0000 Received: from localhost ([127.0.0.1]:50148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpczc-0001fc-D6 for submit@debbugs.gnu.org; Sat, 05 Jun 2021 16:34:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpczZ-0001ep-U4 for 48645@debbugs.gnu.org; Sat, 05 Jun 2021 16:34:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58016) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpczU-0007oD-IX; Sat, 05 Jun 2021 16:33:56 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53464 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpczU-0007BS-90; Sat, 05 Jun 2021 16:33:56 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <7a6f8d0a36821597ebc833cd6ce2fdfcf6d309d7.1621931753.git.h.goebel@crazy-compilers.com> Date: Sat, 05 Jun 2021 22:33:55 +0200 In-Reply-To: <7a6f8d0a36821597ebc833cd6ce2fdfcf6d309d7.1621931753.git.h.goebel@crazy-compilers.com> (Hartmut Goebel's message of "Tue, 25 May 2021 10:36:59 +0200") Message-ID: <87pmx0m4p8.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Hartmut Goebel skribis: > * gnu/packages/python-check.scm (python-pytest-mp): New variable. [...] > + (arguments > + ;; tests require setuptools-markdown, which is deprecated and not i= n guix > + '(#:tests? #f =E2=80=9CNot in Guix=E2=80=9D is generally not a valid excuse, but OK. ;-) > + (home-page "https://github.com/ansible/pytest-mp") > + (synopsis "Multiprocess and Segregate Tests") I cannot parse this (=E2=80=9Csegregate=E2=80=9D is not an adjective); coul= d you rephrase it? Please avoid capitals when unnecessary. OK to push with a change along these lines, thanks! Ludo=E2=80=99. From unknown Sun Jun 22 03:55:49 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#48645] [PATCH 2/2] gnu: Add python-pytest-mp. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Jun 2021 15:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48645 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 48645@debbugs.gnu.org Received: via spool by 48645-submit@debbugs.gnu.org id=B48645.162299489025859 (code B ref 48645); Sun, 06 Jun 2021 15:55:02 +0000 Received: (at 48645) by debbugs.gnu.org; 6 Jun 2021 15:54:50 +0000 Received: from localhost ([127.0.0.1]:53746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpv6w-0006j0-K5 for submit@debbugs.gnu.org; Sun, 06 Jun 2021 11:54:50 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:34747) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpv6v-0006is-4p for 48645@debbugs.gnu.org; Sun, 06 Jun 2021 11:54:49 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Fyh072pRhz1sDRm; Sun, 6 Jun 2021 17:54:47 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Fyh070DXHz1qql3; Sun, 6 Jun 2021 17:54:47 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 1UFKbXceQibW; Sun, 6 Jun 2021 17:54:46 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-61-158.dynamic.mnet-online.de [188.174.61.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sun, 6 Jun 2021 17:54:46 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 926F360089; Sun, 6 Jun 2021 17:54:44 +0200 (CEST) References: <7a6f8d0a36821597ebc833cd6ce2fdfcf6d309d7.1621931753.git.h.goebel@crazy-compilers.com> <87pmx0m4p8.fsf_-_@gnu.org> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: Date: Sun, 6 Jun 2021 17:54:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <87pmx0m4p8.fsf_-_@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: de-DE X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Pushed as 5d4bd2ee94075a1c9abb12d16c62edddf9bb006c Thanks for the review. >> + (arguments >> + ;; tests require setuptools-markdown, which is deprecated and not in guix >> + '(#:tests? #f > “Not in Guix” is generally not a valid excuse, but OK. ;-) Agreed :-) -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Sun Jun 22 03:55:49 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Hartmut Goebel Subject: bug#48645: closed (Re: bug#48645: [PATCH 2/2] gnu: Add python-pytest-mp.) Message-ID: References: <60ea935c-9c5d-cf77-6fce-09a1b29b8c0d@crazy-compilers.com> <7a6f8d0a36821597ebc833cd6ce2fdfcf6d309d7.1621931753.git.h.goebel@crazy-compilers.com> X-Gnu-PR-Message: they-closed 48645 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 48645@debbugs.gnu.org Date: Sun, 06 Jun 2021 16:00:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1622995202-26337-1" This is a multi-part message in MIME format... ------------=_1622995202-26337-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #48645: [PATCH 2/2] gnu: Add python-pytest-mp. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48645@debbugs.gnu.org. --=20 48645: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48645 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1622995202-26337-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 48645-close) by debbugs.gnu.org; 6 Jun 2021 15:59:40 +0000 Received: from localhost ([127.0.0.1]:53750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpvBc-0006pr-4u for submit@debbugs.gnu.org; Sun, 06 Jun 2021 11:59:40 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:45634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpvBa-0006pj-Rp for 48645-close@debbugs.gnu.org; Sun, 06 Jun 2021 11:59:39 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Fyh5k2193z1sF53 for <48645-close@debbugs.gnu.org>; Sun, 6 Jun 2021 17:59:38 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Fyh5k1vjPz1qql3 for <48645-close@debbugs.gnu.org>; Sun, 6 Jun 2021 17:59:38 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id LGB8SsazG13B for <48645-close@debbugs.gnu.org>; Sun, 6 Jun 2021 17:59:37 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-61-158.dynamic.mnet-online.de [188.174.61.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for <48645-close@debbugs.gnu.org>; Sun, 6 Jun 2021 17:59:37 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 290F160089 for <48645-close@debbugs.gnu.org>; Sun, 6 Jun 2021 17:59:36 +0200 (CEST) From: Hartmut Goebel Subject: Re: bug#48645: [PATCH 2/2] gnu: Add python-pytest-mp. To: 48645-close@debbugs.gnu.org References: <7a6f8d0a36821597ebc833cd6ce2fdfcf6d309d7.1621931753.git.h.goebel@crazy-compilers.com> <87pmx0m4p8.fsf_-_@gnu.org> Organization: crazy-compilers.com Message-ID: <60ea935c-9c5d-cf77-6fce-09a1b29b8c0d@crazy-compilers.com> Date: Sun, 6 Jun 2021 17:59:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <87pmx0m4p8.fsf_-_@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: de-DE X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48645-close X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) ------------=_1622995202-26337-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 May 2021 08:37:20 +0000 Received: from localhost ([127.0.0.1]:44641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSYr-0002lb-Lj for submit@debbugs.gnu.org; Tue, 25 May 2021 04:37:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:43706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSYq-0002lS-1K for submit@debbugs.gnu.org; Tue, 25 May 2021 04:37:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSYp-0000Sx-Q0 for guix-patches@gnu.org; Tue, 25 May 2021 04:37:11 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:34820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSYi-0005ow-R4 for guix-patches@gnu.org; Tue, 25 May 2021 04:37:11 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Fq6rZ1kVmz1qtdc for ; Tue, 25 May 2021 10:37:02 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Fq6rZ1dBmz1qsbC for ; Tue, 25 May 2021 10:37:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id eQL8wMqXXpet for ; Tue, 25 May 2021 10:37:01 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-55-137.dynamic.mnet-online.de [188.174.55.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 25 May 2021 10:37:01 +0200 (CEST) Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id DF32A600E3; Tue, 25 May 2021 10:42:28 +0200 (CEST) From: Hartmut Goebel To: guix-patches@gnu.org Subject: [PATCH 2/2] gnu: Add python-pytest-mp. Date: Tue, 25 May 2021 10:36:59 +0200 Message-Id: <7a6f8d0a36821597ebc833cd6ce2fdfcf6d309d7.1621931753.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/python-check.scm (python-pytest-mp): New variable. --- gnu/packages/python-check.scm | 39 ++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index f0b454eec9..19e87d3ab7 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2019, 2020 Efraim Flashner ;;; Copyright © 2019, 2020, 2021 Maxim Cournoyer -;;; Copyright © 2019 Hartmut Goebel +;;; Copyright © 2019, 2021 Hartmut Goebel ;;; Copyright © 2020 Julien Lepiller ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Edouard Klein @@ -1463,3 +1463,40 @@ allows one to create a set of tests using @emph{pairwise combinations} method, reducing a number of combinations of variables into a lesser set that covers most situations.") (license license:expat))) + +(define-public python-pytest-mp + (package + (name "python-pytest-mp") + (version "0.0.4p2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ansible/pytest-mp") + (commit "49a8ff2ca9ef62d8c86854ab31d6b5d5d6cf3f28"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01v98b6n3yvkfmxf2v38xk5ijqlk6ika0yljwkhl5bh6qhq23498")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pytest" ,python-pytest) + ("python-psutil" ,python-psutil))) + (arguments + ;; tests require setuptools-markdown, which is deprecated and not in guix + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-useless-requirements + (lambda _ + (substitute* "setup.py" + ((" setup_requires=") " #"))))))) + (home-page "https://github.com/ansible/pytest-mp") + (synopsis "Multiprocess and Segregate Tests") + (description "pytest-mp is a minimalist approach to distributing and +segregating pytest tests across processes using python's multiprocessing +library and is heavily inspired by pytest-concurrent and pytest-xdist. As a +very early beta, it doesn't pledge or intend to support the majority of +platforms or use cases. Design is based on supporting slow, io-bound testing +with often tedious system under test configuration that can benefit from +running several tests at one time.") + (license license:expat))) -- 2.30.2 ------------=_1622995202-26337-1--