From unknown Sat Sep 06 01:11:58 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42744] [PATCH 4/4] gnu: Add python-pytest-trio. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 07 Aug 2020 13:25:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42744 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42744@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159680669815845 (code B ref -1); Fri, 07 Aug 2020 13:25:04 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2020 13:24:58 +0000 Received: from localhost ([127.0.0.1]:56193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k42Mj-00047V-W0 for submit@debbugs.gnu.org; Fri, 07 Aug 2020 09:24:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:57690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k42Mj-00047O-4L for submit@debbugs.gnu.org; Fri, 07 Aug 2020 09:24:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k42Mi-0000hV-UY for guix-patches@gnu.org; Fri, 07 Aug 2020 09:24:56 -0400 Received: from mout01.posteo.de ([185.67.36.65]:52906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k42Mh-0005k5-7c for guix-patches@gnu.org; Fri, 07 Aug 2020 09:24:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E427416005F for ; Fri, 7 Aug 2020 15:24:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596806693; bh=RDpxEUY+LroiDlX+smTAI7Yi3kgDqRUKSLtCdkif59w=; h=From:To:Cc:Subject:Date:From; b=hk6pj6wp6sdgK27pzlTP4lJ2yO/q66RI104pI833ttLa++9/4zWF+jhGhfVKwp8M+ 6De9KSW26lgrG4UVia5q/2nO9HTGmSMRPDBBv1cI93kaKKyh5WdexnuB8UuJzTLLTE xVOE5/WS2JyHnAdrTdT3OSHzcVcHNrpGqpZ6SWOx29AtDKx7NfagPgojPKiDEYxHAU bdEf4WvNUP0qIxoJIv+HKvORDoAZncHWAPj4UehzFS6XunncxUILulcr2UXMwlp3/u F1NsIGyobLV+PDNFbZMcx7ANlI5HFaXO5nPfbrsbVQ0Qx5kvBEhJ0mhuVNF/7H90p1 D/WxLYyAolngQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BNR104Wmnz6tmM; Fri, 7 Aug 2020 15:24:52 +0200 (CEST) From: Vinicius Monego Date: Fri, 7 Aug 2020 10:24:16 -0300 Message-Id: <20200807132416.49309-4-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200807132416.49309-1-monego@posteo.net> References: <20200807132416.49309-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/07 09:24:45 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=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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/python-check.scm (python-pytest-trio): New variable. --- This pytest line was taken from pytest.ini the source code. Tests were failing with simpler commands. gnu/packages/python-check.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 7a84fe39f9..d0bde27e13 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -436,6 +436,39 @@ in Pytest.") of the project to ensure it renders properly.") (license license:expat))) +(define-public python-pytest-trio + (package + (name "python-pytest-trio") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-trio" version)) + (sha256 + (base32 "1zm8didm9h5jkqhghl9bvqs7kr7sjci282c7grhk6yhpzn8a9w4v")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-W" "error" "-ra" "-v" "--pyargs" + "pytest_trio" "--verbose" "--cov")))))) + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (propagated-inputs + `(("python-trio" ,python-trio))) + (home-page "https://github.com/python-trio/pytest-trio") + (synopsis "Pytest plugin for trio") + (description + "This is a pytest plugin to help you test projects that use Trio, a +friendly library for concurrency and async I/O in Python.") + ;; Either license applies. + (license (list license:expat license:asl2.0)))) + (define-public python-pytest-flake8 (package (name "python-pytest-flake8") -- 2.20.1 From unknown Sat Sep 06 01:11:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vinicius Monego Subject: bug#42744: closed (Re: [bug#42744] [PATCH 4/4] gnu: Add python-pytest-trio.) Message-ID: References: <20200809115625.GF840@E5400> <20200807132416.49309-4-monego@posteo.net> X-Gnu-PR-Message: they-closed 42744 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42744@debbugs.gnu.org Date: Sun, 09 Aug 2020 11:58:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1596974282-23464-1" This is a multi-part message in MIME format... ------------=_1596974282-23464-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42744: [PATCH 4/4] gnu: Add python-pytest-trio. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42744@debbugs.gnu.org. --=20 42744: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42744 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1596974282-23464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42744-done) by debbugs.gnu.org; 9 Aug 2020 11:57:38 +0000 Received: from localhost ([127.0.0.1]:60184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4jxK-00065W-Al for submit@debbugs.gnu.org; Sun, 09 Aug 2020 07:57:38 -0400 Received: from flashner.co.il ([178.62.234.194]:46472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4jxH-00065I-Sh for 42744-done@debbugs.gnu.org; Sun, 09 Aug 2020 07:57:36 -0400 Received: from localhost (unknown [31.210.177.29]) by flashner.co.il (Postfix) with ESMTPSA id E556C4015E; Sun, 9 Aug 2020 11:57:29 +0000 (UTC) Date: Sun, 9 Aug 2020 14:56:25 +0300 From: Efraim Flashner To: Vinicius Monego Subject: Re: [bug#42744] [PATCH 4/4] gnu: Add python-pytest-trio. Message-ID: <20200809115625.GF840@E5400> References: <20200807132416.49309-1-monego@posteo.net> <20200807132416.49309-4-monego@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tmoQ0UElFV5VgXgH" Content-Disposition: inline In-Reply-To: <20200807132416.49309-4-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: 42744-done Cc: 42744-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 (-) --tmoQ0UElFV5VgXgH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thanks! Pushed as 51431f0b9fe7a2b2aba12287fc9ec9a31cc1a36f --=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 --tmoQ0UElFV5VgXgH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl8v5GkACgkQQarn3Mo9 g1FI4w//Q1k5yMRiaD6XqxACrJ743ahYrDpDT//CNABcc5Q7UTlvoMZOz1f/GFUn qvRCaNMv8v4s7Ct3rXy4KqtSSyX/f6Yiu6lhRXQz5zJwV3apOwz/Noaovj1xai1n 72X8I7MeIvwxUlm/+bu4Urz/OIADXnOmpkaRiy0ss85j4yf3yT11WqUKQY5Q6JN+ Z8YPpGhrD+mJnhMngXrxc0qSHp1gIhrTvybTVQ94rr4EJ3GJrAM2r1EfstVP80OB mdeBPPKph+9FxgfhGsQmR/vMIhzm/lnB+Yswredhmxu9XNc4K+zrTdA3LTWrS+I2 vk82ny0w5vfpblrxQnTr5LQHptY3SuwKUUYSNsEWSppmb8Tio7UPjaW3NlIUh5vc HZGW+gTB+U3+MztnCsIWuDJMpqjTcgjnJ/UUvUMu6VHbhNCn06lHL3M6L2PSan6w VyHyT8vdvTegV3txcatR1u6m9fb81U+saa3gq1nf+3T950xYwr71sZN67unov5r5 O/Dry2N2w/X5J6jlsby8Qsirodp2zuPeDjc0YN53ZYxLUqUw/2VfbixrEeiUWG70 iYmQjvj9k1oslefC9A1UbNDehXbIN978Ui3nxoQK2spT555aAKJDfi8VJlp6dtPW Rqd9t+QfNyJDIyJoRAkr6LQBxRNVhOKxNgkXcqYT1ds+t1xhNv0= =bYIe -----END PGP SIGNATURE----- --tmoQ0UElFV5VgXgH-- ------------=_1596974282-23464-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Aug 2020 13:24:58 +0000 Received: from localhost ([127.0.0.1]:56193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k42Mj-00047V-W0 for submit@debbugs.gnu.org; Fri, 07 Aug 2020 09:24:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:57690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k42Mj-00047O-4L for submit@debbugs.gnu.org; Fri, 07 Aug 2020 09:24:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k42Mi-0000hV-UY for guix-patches@gnu.org; Fri, 07 Aug 2020 09:24:56 -0400 Received: from mout01.posteo.de ([185.67.36.65]:52906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k42Mh-0005k5-7c for guix-patches@gnu.org; Fri, 07 Aug 2020 09:24:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E427416005F for ; Fri, 7 Aug 2020 15:24:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1596806693; bh=RDpxEUY+LroiDlX+smTAI7Yi3kgDqRUKSLtCdkif59w=; h=From:To:Cc:Subject:Date:From; b=hk6pj6wp6sdgK27pzlTP4lJ2yO/q66RI104pI833ttLa++9/4zWF+jhGhfVKwp8M+ 6De9KSW26lgrG4UVia5q/2nO9HTGmSMRPDBBv1cI93kaKKyh5WdexnuB8UuJzTLLTE xVOE5/WS2JyHnAdrTdT3OSHzcVcHNrpGqpZ6SWOx29AtDKx7NfagPgojPKiDEYxHAU bdEf4WvNUP0qIxoJIv+HKvORDoAZncHWAPj4UehzFS6XunncxUILulcr2UXMwlp3/u F1NsIGyobLV+PDNFbZMcx7ANlI5HFaXO5nPfbrsbVQ0Qx5kvBEhJ0mhuVNF/7H90p1 D/WxLYyAolngQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BNR104Wmnz6tmM; Fri, 7 Aug 2020 15:24:52 +0200 (CEST) From: Vinicius Monego To: guix-patches@gnu.org Subject: [PATCH 4/4] gnu: Add python-pytest-trio. Date: Fri, 7 Aug 2020 10:24:16 -0300 Message-Id: <20200807132416.49309-4-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200807132416.49309-1-monego@posteo.net> References: <20200807132416.49309-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/07 09:24:45 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=ham autolearn_force=no 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/python-check.scm (python-pytest-trio): New variable. --- This pytest line was taken from pytest.ini the source code. Tests were failing with simpler commands. gnu/packages/python-check.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 7a84fe39f9..d0bde27e13 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -436,6 +436,39 @@ in Pytest.") of the project to ensure it renders properly.") (license license:expat))) +(define-public python-pytest-trio + (package + (name "python-pytest-trio") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pytest-trio" version)) + (sha256 + (base32 "1zm8didm9h5jkqhghl9bvqs7kr7sjci282c7grhk6yhpzn8a9w4v")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-W" "error" "-ra" "-v" "--pyargs" + "pytest_trio" "--verbose" "--cov")))))) + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (propagated-inputs + `(("python-trio" ,python-trio))) + (home-page "https://github.com/python-trio/pytest-trio") + (synopsis "Pytest plugin for trio") + (description + "This is a pytest plugin to help you test projects that use Trio, a +friendly library for concurrency and async I/O in Python.") + ;; Either license applies. + (license (list license:expat license:asl2.0)))) + (define-public python-pytest-flake8 (package (name "python-pytest-flake8") -- 2.20.1 ------------=_1596974282-23464-1--