From patchwork Sun Aug 4 22:15:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 66720 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 EA2A427BBEB; Sun, 4 Aug 2024 23:18:16 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 D02D827BBEA for ; Sun, 4 Aug 2024 23:18:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sajY4-0007gF-Ct; Sun, 04 Aug 2024 18:17:57 -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 1sajXt-0007YZ-Q5 for guix-patches@gnu.org; Sun, 04 Aug 2024 18:17:45 -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 1sajXs-0000sQ-GO for guix-patches@gnu.org; Sun, 04 Aug 2024 18:17:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=315e9HLP9T6aRLDWa97rhTM610riIzWu3HzZ9u8OMkw=; b=FcwAJD3x+Atr729pD4xVSe5dvjLXDvx5TAc6e9/KXUwlREEzjmnqE79tj4e8/TBR2QLIlOjE+zh10pgV7BdnVDVfgVKDXL1+R/aqW1d7i/NCN4hUQjHyHu/VT98nxls2Ilwn8g8CIGdJvY8B2ESVhvL9e2Auh41Y6dErupmjf9E7ZTkMi5Hgycy0Txbq4w1rUM5PKZFpvDJFeBE1xugKcpfEXEkycxupKqxue6u3NbEGdsbs3K/Sxm/dBYZdWIrmGWYNf+BoY3H3baqDs9fF1vtqmX4ZZ6DPa+2XgZEyXLZj0Z5qhFIty80CapY0gmDdVvo/qsuTLY9dTZO05O6T6A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sajYE-0004Su-0V for guix-patches@gnu.org; Sun, 04 Aug 2024 18:18:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72471] [PATCH 13/24] gnu: Add python-parameterized-next. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Aug 2024 22:18:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72471 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72471@debbugs.gnu.org Cc: David Elsing Received: via spool by 72471-submit@debbugs.gnu.org id=B72471.172280986216914 (code B ref 72471); Sun, 04 Aug 2024 22:18:05 +0000 Received: (at 72471) by debbugs.gnu.org; 4 Aug 2024 22:17:42 +0000 Received: from localhost ([127.0.0.1]:57503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sajXp-0004Ob-FB for submit@debbugs.gnu.org; Sun, 04 Aug 2024 18:17:42 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sajXa-0004KS-18 for 72471@debbugs.gnu.org; Sun, 04 Aug 2024 18:17:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D1183240027 for <72471@debbugs.gnu.org>; Mon, 5 Aug 2024 00:16:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1722809818; bh=U+yoyfP1j5nn1z35KuJWPXF+iKL0z8ZpOFcvL4Xkp+s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=m0lkqusSMeif4QkCWG4w5TZdoQsLh59AajVYdocRiCoIKXXWzU+c971RwGiccJsOW AOY2eZLdY0pw1qXACUahbSneN3JR6C7lBWdrSMLwiS0GlKhIBb1jlMHf2lIx8r/35T NaYVWQmP7uFzxhnHXbGDb401PyRSVpLNxEnHXqtOxbuhXTwno1FJ3BxVod5zfSKtF0 4nRbOgcaiwKMiATCaZTZw9tGHGCloOsyx+VSXiX8b8/Cq9HnWFXSTOzwpKIBDRTfK0 jSRqroYYSJfk3kkPXTz041rpwYDkzzDF6lEc23tKatLNy006I0y/sMUKs4W8TcWqsn BICQzsRVBf/iQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WcYp23jSgz6tlh; Mon, 5 Aug 2024 00:16:58 +0200 (CEST) From: David Elsing Date: Sun, 4 Aug 2024 22:15:51 +0000 Message-ID: <20240804221635.3805-13-david.elsing@posteo.net> In-Reply-To: <20240804220847.15842-1-david.elsing@posteo.net> References: <20240804220847.15842-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/check.scm (python-parameterized-next): New variable. --- gnu/packages/check.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 21a975f340..9d8772fd4d 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1222,6 +1222,28 @@ (define-public python-parameterized for every Python test framework. It supports nose, py.test, and unittest.") (license license:bsd-2))) +(define-public python-parameterized-next + (package + (inherit python-parameterized) + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "parameterized" version)) + (sha256 + (base32 "1c89vc40zj5aj2zvbvw875wqpyf0x6xrqhm3q5jg797g5hkhbjbz")))) + (build-system pyproject-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (substitute* "parameterized/test.py" + (("import mock") "from unittest import mock")) + (invoke "python3" "-m" "unittest"))))))) + (native-inputs (list python-jinja2)))) + (define-public python-minimock (package (name "python-minimock")