From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wOTlH4W3rGAWWQAAgWs5BA (envelope-from ) for ; Tue, 25 May 2021 10:38:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MOSEG4W3rGDDXQAAbx9fmQ (envelope-from ) for ; Tue, 25 May 2021 08:38:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD726CEB9 for ; Tue, 25 May 2021 10:38:28 +0200 (CEST) Received: from localhost ([::1]:57110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llSa3-00016Y-HI for larch@yhetil.org; Tue, 25 May 2021 04:38:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSZf-00012G-J9 for guix-patches@gnu.org; Tue, 25 May 2021 04:38:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llSZe-0006Jn-Su for guix-patches@gnu.org; Tue, 25 May 2021 04:38:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llSZe-0002mt-RK for guix-patches@gnu.org; Tue, 25 May 2021 04:38:02 -0400 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-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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621931908; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Wjqy/QO4IhF6R4Q8C5B29MjU2CIQ5h3c8ZiDjDjddfs=; b=X68RMm2vsK3xDcPu5sSHLGarY/04ayoB3IVro65fGBwROeM84nYYw9srNjzjPlksxc6Q9m LHHyNInuc3SVzt12XV3OYdfICD7Xr8tSjj8SrDKxjzKOMFb3X45CFve8azFNK6XuVVUGu5 xypdVauiA5MWhqNKPmC17Qi/ITcwbllHn32jKSEjYK5iRBJpB7BocmafMPQHhIM3WAOEnS ABA91UymP2DUHKfZE0YtGykl5I61yZd2cNPwB1jk7cbJpwWCURkku+ycE5PAEZks/J36w5 jWt+XOxPbHgn988dra6brdWBD5gNhl+EYWuM4aCwc3WtPQHrPwUVNMpwJGlWKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621931908; a=rsa-sha256; cv=none; b=OSm3ELyST9sPT1NK5Zx7hYLYb5aIoV/0u6Gd0JZPm/Sk0QKC6AWe9fOjapvBVwUQmZOMJ6 cK+HzUgaPKs40a27rPu8QlHgHW5bcv5Q5AnIMq9FUMj+OZAWzrSGeYViFU/DWA5H0hOv03 pxwmDJzigscKWrtyWTfbuI/5X+tozulsEM1Bq6NWop/9bHnuHeBEiys3VytvdjnH3l3w5s cGcL9zKHRmriUDModglrjPybr4YKRpBEaD5m5zSzHTH2Xept2fnNBCc75Ow+5ykC+e6pct OWvh/mx+WBy+LgIpn1TirD4puSPQjUkGglWoD7TuCnqHDS4nQkV3b/jnSXqtZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.43 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BD726CEB9 X-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2T90/HkLAfoh * 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