From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YM7gEyf+r2ZLSAEAe85BDQ:P1 (envelope-from ) for ; Sun, 04 Aug 2024 22:18:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YM7gEyf+r2ZLSAEAe85BDQ (envelope-from ) for ; Mon, 05 Aug 2024 00:18:15 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FcwAJD3x; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=m0lkqusS; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722809895; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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:dkim-signature; bh=315e9HLP9T6aRLDWa97rhTM610riIzWu3HzZ9u8OMkw=; b=USzijY6hDhXvX61ftIADptnnP693SlVnswMKIY/raj3NmKCTcds2m7OlNtgQpUg2+2+0D8 MXdhef80DOnch4D9SnW+GR317FjR0yF241gQ2z/OXC8rf/Dm5ZPtJJuzKcYyBaZQsqJah2 nZe9VIK4BkLx6o/nM+Vu1bubsyEHSU7CxT56ne6CX8nDz0VgNeAWQCUDiKDpSg5HFFeyw4 SZfz1Y0Pt6XB3MtlITUFIgJW19eP7zlk/E6TntOO+55mQ/LkTu3xe5c3fTndD+nsBN8FK7 5R8H4azapU6Jqn6tj2/eqQa1PCRWwoJfheQyY+0mACjkBZTU8Z648ujpzQosSA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722809895; a=rsa-sha256; cv=none; b=upMLav7qxaZvMGaiKLFGY8dqLx8v2NgKhZCTJNye3oWCUEx5ENq/my/JxBZs1N1ogLTzXu af8t7dEkrHoyexlxj0s2aa8FsVbKbyDckK8mvT0GDTJqr8AjxRGsXiKGLtwZxYwtDDNSy2 bNLW7Eajk7qwFqVF62tK7Jb7ej/jeAO3VnKrz8jleb0T3UKGcV0uyvQ439AgooyqXn5m98 XnqXVQUyOzeH4uE1c6HaIWGNpHfAMCODXajPQl3wp1u0S6a5mIpDncQK4mH4emD8yaKuQ1 8SD6Lgrp08ON0G/vbDrcm8UIj6U89bKyNG1R0ayL0pht+YVYryEV6uzCthkRXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FcwAJD3x; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=m0lkqusS; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 046008D78 for ; Mon, 05 Aug 2024 00:18:15 +0200 (CEST) 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 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.08 X-Spam-Score: -6.08 X-Migadu-Queue-Id: 046008D78 X-Migadu-Scanner: mx11.migadu.com X-TUID: 3gl8xGIA9E8y * 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") -- 2.45.1