From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kCRHMVJhFGGd8gAAgWs5BA (envelope-from ) for ; Thu, 12 Aug 2021 01:46:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IMOaLFJhFGEiNQAAbx9fmQ (envelope-from ) for ; Wed, 11 Aug 2021 23:46:26 +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 525791A9BB for ; Thu, 12 Aug 2021 01:46:26 +0200 (CEST) Received: from localhost ([::1]:57116 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDxvV-0006J6-EJ for larch@yhetil.org; Wed, 11 Aug 2021 19:46:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDxvA-0006Br-CL for guix-patches@gnu.org; Wed, 11 Aug 2021 19:46:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDxv9-0005rO-AE for guix-patches@gnu.org; Wed, 11 Aug 2021 19:46:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDxv9-0001EO-7c for guix-patches@gnu.org; Wed, 11 Aug 2021 19:46:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50018] [PATCH 03/19] gnu: Add python-pytest-subtests. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Aug 2021 23:46: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.16287255584687 (code B ref 50018); Wed, 11 Aug 2021 23:46:03 +0000 Received: (at 50018) by debbugs.gnu.org; 11 Aug 2021 23:45:58 +0000 Received: from localhost ([127.0.0.1]:36914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDxv3-0001DX-Ts for submit@debbugs.gnu.org; Wed, 11 Aug 2021 19:45:58 -0400 Received: from mout02.posteo.de ([185.67.36.66]:56155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDxv2-0001D8-Sc for 50018@debbugs.gnu.org; Wed, 11 Aug 2021 19:45:57 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3EB1F240101 for <50018@debbugs.gnu.org>; Thu, 12 Aug 2021 01:45:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628725551; bh=WeIi4M8iXwf2qUGYfpSx4maP9jzHmEpcNfWAd5BmpKo=; h=From:To:Cc:Subject:Date:From; b=CWMUND7MhwHWZoX9Y688ZsLrZGL+39aEMEey1NZ4G554jZZC0auZGq6Xw5CXT/mu5 hnUFIsmV976uIW07Cc6UsZwsu4TkeGYFKxD2L67zBv28UtqJptgrwVD0re36rNQSNB 8z4mxhE9VPofXGEUQUq8e+aDSy53GU4Y1bYpF3z2bgMHAM9ehm2uTYgSY4OXBxT6GJ 0G8adkcuMFF2jmPv5Ynz9EKa5tekGM8QhtXqo5dDxWYTOer26vYU1FNf/hoavJxHP8 HssjE9ik2Wrbjx37VBs5jw0N3T/wp6cPN6SXQArkH0wt+LqNxZjXOc+G7gp44Lv8gG FcK6fKDEWy6Kg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4GlRKB3SkMz9rxH; Thu, 12 Aug 2021 01:45:50 +0200 (CEST) From: Vinicius Monego Date: Wed, 11 Aug 2021 23:44:55 +0000 Message-Id: <20210811234511.32450-3-monego@posteo.net> In-Reply-To: <20210811234511.32450-1-monego@posteo.net> References: <20210811234511.32450-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=1628725586; 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=ZN/IeVQkAIR8rjPms9xcbYktVTqECHV9hj8le8AsUNc=; b=AAGT7Ipkq2E0e8O94uwN+ff6hOS5ihchDV53+b8dTb08yELXgM8SyqvnmKSLP+XuODk7qt CTV5+fgfkyfUHr57JHNu2NMC5mJbh0YevwYgLoVLCZhIGs7iO/xCi1eEoW4Huz7Hwskyyv 8pxAY2Rgdfo1SQDbS5znlhkP8tmnVFP0/9i9W06DOl/XOR31pq6CyWnr0/mE/R3gIC68M8 tM1nnoBxT1SScgyySMa+sXyd58/fBQKuXNwaZtiQDUCLbBGpvLpVOeDC+sZVmEVjacBlbx cfcmoP4x2uYehYG60CnEKlwgaUiaI0Y6L+G4CXeum4n6HLrq63pbSK59KqcqQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628725586; a=rsa-sha256; cv=none; b=UwJnr3kslJ6RY7R9F7ukbgJecjymc0b+6P0fm4vwo6YwvVAZ1aldZMwFkk05mpGLawkOMF I7nEYK9pFWNYDt9t3MvRIenFmHGl3ent4XHQCXS2CEfU0ybzOy8/oW5o26RkY0bKIw8uBC n3vo1TjhaRfSd9WSSwgyXEIU1l3+a2ttfgp0o37gBNWGzzmP2K6y1CVVVLVs2+ECqwqoBs jIFk9719YaCZfCl00XUy+sKaEevs+261zmSMzwR9px0ssXNvx+a2IWlYQnkXaaEtEwzRL5 rLrqNPNG66QMAvF9tC9VGm2DWiMzWbiofh/8dQMIXsXfBwj4WtiKfp573/PfKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=CWMUND7M; 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: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=CWMUND7M; 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: 525791A9BB X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: UY8riK0xI0hH * 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 038ca177af..0eef7ba8e5 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