From patchwork Tue May 25 08:36:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 29585 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 C487B27BC81; Tue, 25 May 2021 09:39:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7E13627BC78 for ; Tue, 25 May 2021 09:39:32 +0100 (BST) Received: from localhost ([::1]:59892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llSb5-000317-Ot for patchwork@mira.cbaines.net; Tue, 25 May 2021 04:39:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSZf-00012C-J6 for guix-patches@gnu.org; Tue, 25 May 2021 04:38:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llSZe-0006Jl-FP 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-0002md-7n for guix-patches@gnu.org; Tue, 25 May 2021 04:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48644] [PATCH 1/2] gnu: Add python-asn1tools. 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 48644 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48644@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162193182610622 (code B ref -1); Tue, 25 May 2021 08:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2021 08:37:06 +0000 Received: from localhost ([127.0.0.1]:44638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSYk-0002lG-BU for submit@debbugs.gnu.org; Tue, 25 May 2021 04:37:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:43704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSYg-0002l7-Eo for submit@debbugs.gnu.org; Tue, 25 May 2021 04:37:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSYg-0000Sn-8Y for guix-patches@gnu.org; Tue, 25 May 2021 04:37:02 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:51539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llSYb-0005js-TK for guix-patches@gnu.org; Tue, 25 May 2021 04:37:02 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Fq6rQ1Djxz1s8NQ for ; Tue, 25 May 2021 10:36:54 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Fq6rQ15MRz1qsb8 for ; Tue, 25 May 2021 10:36:54 +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 wAG-GoOY7n1m for ; Tue, 25 May 2021 10:36:53 +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:36:52 +0200 (CEST) Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 87E4B600E3; Tue, 25 May 2021 10:42:17 +0200 (CEST) From: Hartmut Goebel Date: Tue, 25 May 2021 10:36:47 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; 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, 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-asn1tools): New variable. --- gnu/packages/python-xyz.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2ff0332c7f..47984907a0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19,7 +19,7 @@ ;;; Copyright © 2015, 2016 Chris Marusich ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2016 Lukas Gradl -;;; Copyright © 2016, 2018, 2019 Hartmut Goebel +;;; Copyright © 2016, 2018, 2019, 2021 Hartmut Goebel ;;; Copyright © 2016 Daniel Pimentel ;;; Copyright © 2016 Sou Bunnbu ;;; Copyright © 2016, 2017 Troy Sankey @@ -10331,6 +10331,27 @@ implementations of ASN.1-based codecs and protocols.") module to older versions of Python.") (license license:psfl))) +(define-public python-asn1tools + (package + (name "python-asn1tools") + (version "0.158.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "asn1tools" version)) + (sha256 + (base32 "1k88a1azmyvp2ab6qcf2i40dig5abhyn7cmlyhmwwh8kr3syvma0")))) + (build-system python-build-system) + (propagated-inputs + `(("python-bitstruct" ,python-bitstruct) + ("python-diskcache" ,python-diskcache) + ("python-prompt-toolkit" ,python-prompt-toolkit) + ("python-pyparsing" ,python-pyparsing))) + (home-page "https://github.com/eerimoq/asn1tools") + (synopsis "ASN.1 parsing, encoding and decoding") + (description "ASN.1 parsing, encoding and decoding") + (license license:expat))) + (define-public python2-ipaddr (package (name "python2-ipaddr") From patchwork Tue May 25 08:36:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 29584 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 C034527BC81; Tue, 25 May 2021 09:38:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4173627BC78 for ; Tue, 25 May 2021 09:38:32 +0100 (BST) Received: from localhost ([::1]:57110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llSa7-00016Y-9Z for patchwork@mira.cbaines.net; Tue, 25 May 2021 04:38:31 -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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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)))