From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 20 16:39:22 2020 Received: (at submit) by debbugs.gnu.org; 20 Jun 2020 20:39:22 +0000 Received: from localhost ([127.0.0.1]:58811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmkGo-0005qc-1q for submit@debbugs.gnu.org; Sat, 20 Jun 2020 16:39:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:59912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmkGl-0005qU-AR for submit@debbugs.gnu.org; Sat, 20 Jun 2020 16:39:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmkGk-0003ih-QG for guix-patches@gnu.org; Sat, 20 Jun 2020 16:39:19 -0400 Received: from mout02.posteo.de ([185.67.36.66]:50311) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmkGi-0006Y6-DU for guix-patches@gnu.org; Sat, 20 Jun 2020 16:39:18 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1EF5A2400FB for ; Sat, 20 Jun 2020 22:39:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1592685546; bh=+ksVv7m0SUoFMwBOx6hJxHyohtDD/X4Gr/++DpezTP0=; h=From:To:Cc:Subject:Date:From; b=KwT18Q9xoc2jIn1k0ibkZOeFAiapDEvkxQ7h3iMr72uT4T0k4nHXthRBEZEBUHl2x O4o4rB0UXR+b6mhKMYVmI6zpJsKurkHYV8OYUtmfe2zSE6+DQmXyJUGYOGr7fjcEyT AMO51EuGyToCJHttk3BQX+30inYaTSlDXd1Q8swKXnIJT3FtVmywF0UTISuYtH7zBd 7EabYDQbUob5+38iQHSwq1lmtpCHCrhdng4bLBuExDAEdAzbMQBIXpQS7H9/92OgpE Li+6sYS2zMoIVui+RXt5wOUAHzTlO7ZdPT4zGJ5953XxtNMfYfM4x0JGSxNUDGvAFp 4Cbr0o3/FWG/w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49q6w82MDHz9rxP; Sat, 20 Jun 2020 22:39:03 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-pytest-lazy-fixture Date: Sat, 20 Jun 2020 17:38:49 -0300 Message-Id: <20200620203849.39700-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/20 16:39:06 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Vinicius Monego X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/check.scm (python-pytest-lazy-fixture): New variable. --- gnu/packages/check.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 7d7fd189bc..7b98c029a5 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2020 Lars-Dominik Braun ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2020 Josh Marshall +;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -971,6 +972,36 @@ supports coverage of subprocesses.") (define-public python2-pytest-runner-2 (package-with-python2 python-pytest-runner-2)) +(define-public python-pytest-lazy-fixture + (package + (name "python-pytest-lazy-fixture") + (version "0.6.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-lazy-fixture" version)) + (sha256 + (base32 "1b0hmnsxw4s2wf9pks8dg6dfy5cx3zcbzs8517lfccxsfizhqz8f")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + ;; Make the installed plugin discoverable by Pytest. + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (propagated-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/tvorog/pytest-lazy-fixture") + (synopsis "Use fixtures in @code{pytest.mark.parametrize}") + (description "This plugin helps to use fixtures in +@code{pytest.mark.parametrize}") + (license license:expat))) + +(define-public python2-pytest-lazy-fixture + (package-with-python2 python-pytest-lazy-fixture)) + (define-public python-pytest-mock (package (name "python-pytest-mock") -- 2.20.1 From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 22 14:21:19 2020 Received: (at 41969-done) by debbugs.gnu.org; 22 Jun 2020 18:21:19 +0000 Received: from localhost ([127.0.0.1]:34503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnR4J-0006aa-Mr for submit@debbugs.gnu.org; Mon, 22 Jun 2020 14:21:19 -0400 Received: from flashner.co.il ([178.62.234.194]:56114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnR4H-0006aM-O1 for 41969-done@debbugs.gnu.org; Mon, 22 Jun 2020 14:21:18 -0400 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id 8A13340031; Mon, 22 Jun 2020 18:21:11 +0000 (UTC) Date: Mon, 22 Jun 2020 21:20:39 +0300 From: Efraim Flashner To: Vinicius Monego Subject: Re: [bug#41969] [PATCH] gnu: Add python-pytest-lazy-fixture Message-ID: <20200622182039.GD22974@E5400> References: <20200620203849.39700-1-monego@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jKBxcB1XkHIR0Eqt" Content-Disposition: inline In-Reply-To: <20200620203849.39700-1-monego@posteo.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41969-done Cc: 41969-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --jKBxcB1XkHIR0Eqt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Looks good. I added a period at the end of the description and adjusted the indentation slightly. I also removed the python2 variant since we're not adding more python2 packages unless they're actually used for something. Patch pushed! --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --jKBxcB1XkHIR0Eqt Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl7w9ncACgkQQarn3Mo9 g1F1yRAAlrcDC9GVovHpQ+pyNYyefooslBr7nNCyQ4Xn4vHWocxMDJxZ50fxoWAH gi7oKvUUeMn6DcCRbpAztThucXPyLKRXY5y60VigfkSNuJSy/nsZCKnQvSwx+JkL 1cbEOo+gG7c+MF3H9TrLoKxZXYCHrxlxWNls+WUpv+LpOF4+FoMTWOc5rpQyqe// OkcBHheHcB9hEIXFshvYVNwaulnjsBNDIMyiigEpkx5y3/x+zP9dnnwL26u/pS8B QQDsktS7+UMV50Vm4F0+c+Sb6ioDyKFAVdqwnxq5n8tSWjTGjnkx7i/7UhQN52qw sntTZMdw2j4qOZo3YcNDHEKuwcFjjNYwNmronRsm1MFc/jF3LycFvOLqe3BvpuKc vdTwdEGiUJTezk3G0AJewaXf1+E1SMMP/lBdSnFJgD/eC7FjjOAGYnEEt4UoveOP ezFB7vi08ddlXO5q3iQ9/4fcj5pmj+LVQQFjh/CucShtfdtheRJ9Yfk6t5kMePRf LiYRTkz2fkvjV+k/EsoFKTqSoUg6tCdhrLxQmGKpNOqjsL1jLJznSxPNY1IqHC7/ l4sQMkIqkelkGnxToFmI4hGMLpPH7bcWh9jUq0FCL+ALZZJGsPd2zhWdqBSrdNZP WtLyWJPf851Ae+dPqm959TQzI4mM6hMWuPHB7tgJ1iTk3SUtIOM= =04/U -----END PGP SIGNATURE----- --jKBxcB1XkHIR0Eqt-- From unknown Sat Jun 21 05:16:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 21 Jul 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator