From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ECfyK+ZzQ2G8hAAAgWs5BA (envelope-from ) for ; Thu, 16 Sep 2021 18:42:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UPiZJ+ZzQ2FWbAAAB5/wlQ (envelope-from ) for ; Thu, 16 Sep 2021 16:42:14 +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 53D6D1D925 for ; Thu, 16 Sep 2021 18:42:14 +0200 (CEST) Received: from localhost ([::1]:53138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQuCl-00007m-S5 for larch@yhetil.org; Thu, 16 Sep 2021 12:25:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQuAB-0005Db-Mt for guix-patches@gnu.org; Thu, 16 Sep 2021 12:23:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQuAB-0003dp-FG for guix-patches@gnu.org; Thu, 16 Sep 2021 12:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQuAB-0007Am-BR for guix-patches@gnu.org; Thu, 16 Sep 2021 12:23:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50018] [PATCH v3 03/21] gnu: Add python-pytest-subtests. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 16:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50018@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50018-submit@debbugs.gnu.org id=B50018.163180937927506 (code B ref 50018); Thu, 16 Sep 2021 16:23:03 +0000 Received: (at 50018) by debbugs.gnu.org; 16 Sep 2021 16:22:59 +0000 Received: from localhost ([127.0.0.1]:56329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQu9z-00079M-9D for submit@debbugs.gnu.org; Thu, 16 Sep 2021 12:22:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQu9v-000793-Mw for 50018@debbugs.gnu.org; Thu, 16 Sep 2021 12:22:49 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id EDD34240103 for <50018@debbugs.gnu.org>; Thu, 16 Sep 2021 18:22:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1631809362; bh=/MiL7cjseVl3P2Cs5tT2HKVjDivePWk/ptPpFkVoRZo=; h=From:To:Cc:Subject:Date:From; b=rmEa1Vk8p7aKN9f6r1Pwb9v04lsMkaBW5dUvR+2hmKPARWqXNXR0IHfq4hO4Ddqag N5yRTRv3sXhPfW/Uu8G2ZVaG4jEaArOMp6O7zGtjshuRLJk2sZSjtte6G+nxVs3DFj M8l/SAdtN7IAuxO/3wktyrvUp4BwG8d/eDdLbu6Gx4jorSkTwpw5MfuReUmlWWFQ+H DBJ8gCkbRO2Mg/mw502t1MtJkRIDipdpwTmOczyDfWt6U93WdYlTVUE2mAWNuEfHKT lMXeIb0dcUp0Ls0JJGKw3cH4bfPxUlQkZ05PYreqcllavSDVOYxQDZ5S07ewv9H06w oo6Ue7Wz1V7Cw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4H9MnF0Mspz6tmH; Thu, 16 Sep 2021 18:22:40 +0200 (CEST) From: Vinicius Monego Date: Thu, 16 Sep 2021 16:20:54 +0000 Message-Id: <20210916162112.54462-4-monego@posteo.net> In-Reply-To: <20210916162112.54462-1-monego@posteo.net> References: <20210916162112.54462-1-monego@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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631810534; 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=auL+Eav/C57BLu6YFOk9PrpInsrij9i/W8wJc63Vp1I=; b=DqJXmwzUO8a5E6WmefFg56spIyBmKVkTi2j1NNdRzCKtIQof3wQT/FCE15/ZMNjuarWx8C FSwQ3TRcHKRpeKacTCo4Ys06YmvYb2HYcCgy0p51J0qKl/urrAz84/8r5Oi/TiF+bR8jAo FLY6HaRD4SBn7e+SsQLcM+Q8FZBZhAdNUJwoLMLDCGTpMuYW17KQU33IJg1Ysv8TE8PTEZ hV9twQwwlETFNyrZZULTiQ+G2DEJp8P+M9lIaWQE4FLYBcJETLx6I5fkVF8RltdRkGS7m8 VQglwYFKwTDdd56cyk4jF4+2nYGcw/v+WmYvxPJiHuPWpQIGp15IJrIZ96jwqA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631810534; a=rsa-sha256; cv=none; b=BNeRnmzBOVnlF4jJeBue75HpL4igFKUfgjKkRgUqnKZ3R8hzk+jZF9ixiTx+lv6SQABHhl TQAb1r+9ZQeO9yyPRw/o17ZIGm/dzg1AiftMpaWmXoAx8/CQm7v2nqMNczwqBkktVJPrWo 5AlHAnNpPnrw/9+bXPDJE8MlkMxDy15V5HFPxMNHw6nD4Ak3qyFciWV5OW+YJilN7vaWH9 OssFQquHz7Wk1BTbVojx2EgRoWM6PRebu15oW+Wsz8BsPYTDqsDsQHEsAGE4AGBF2ZbNhp EylXj9cz1CCg1chI3C4BHsB7KDXmaEfOcG1fEeDLcWbvGDf7E7i0grYp+nQM5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=rmEa1Vk8; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 5.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=rmEa1Vk8; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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: 53D6D1D925 X-Spam-Score: 5.20 X-Migadu-Scanner: scn1.migadu.com X-TUID: C1zPMbYbpb/E * gnu/packages/python-check.scm (python-pytest-subtests): New variable. --- gnu/packages/python-check.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index b8d63b8479..18d14a5966 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -576,6 +576,34 @@ in Pytest.") settings.") (license license:expat))) +(define-public python-pytest-subtests + (package + (name "python-pytest-subtests") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-subtests" version)) + (sha256 + (base32 "087i03nmkmfnrpc7mmizvr40ijnjw4lfxc22rnk8jk6s1szy9lav")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest"))))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-setuptools-scm" ,python-setuptools-scm))) + (home-page "https://github.com/pytest-dev/pytest-subtests") + (synopsis "Unittest subTest() support and subtests fixture") + (description "This Pytest plugin provides unittest @code{subTest()} +support and @code{subtests} fixture.") + (license license:expat))) + (define-public python-pytest-vcr ;; This commit fixes integration with pytest-5 (let ((commit "4d6c7b3e379a6a7cba0b8f9d20b704dc976e9f05") -- 2.30.2