GNU bug report logs - #59190
[PATCH] gnu: Add python-pytest-parawtf.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Fri, 11 Nov 2022 06:38:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59190 in the body.
You can then email your comments to 59190 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59190; Package guix-patches. (Fri, 11 Nov 2022 06:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jgart <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 11 Nov 2022 06:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add python-pytest-parawtf.
Date: Fri, 11 Nov 2022 00:37:18 -0600
* gnu/packages/python-check.scm (python-pytest-parawtf): New variable.
---
 gnu/packages/python-check.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 749902271b..ca6c2eaca8 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>
 ;;; Copyright © 2022 Felix Gruber <felgru <at> posteo.net>
 ;;; Copyright © 2022 Tomasz Jeneralczyk <tj <at> schwi.pl>
+;;; Copyright © 2022 jgart <jgart <at> dismail.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2439,6 +2440,25 @@ (define-public python-sybil
 provided for the main Python test runners.")
     (license license:expat)))
 
+(define-public python-pytest-parawtf
+  (package
+    (name "python-pytest-parawtf")
+    (version "1.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pytest-parawtf" version))
+              (sha256
+               (base32
+                "08s86hy58lvrd90cnayzydvac4slaflj0ph9yknakcc42anrm023"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-pytest))
+    (home-page "https://bitbucket.org/flub/pytest-parawtf")
+    (synopsis "Finally spell paramete?ri[sz]e correctly")
+    (description 
+"@code{python-pytest} uses one of four different spellings of
+parametrize.  This plugin allows you to use all four.")
+    (license license:expat)))
+
 (define-public python-pytest-httpx
   (package
     (name "python-pytest-httpx")
-- 
2.38.1





Information forwarded to guix-patches <at> gnu.org:
bug#59190; Package guix-patches. (Tue, 15 Nov 2022 09:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 59190 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: jgart <jgart <at> dismail.de>
Cc: 59190 <at> debbugs.gnu.org
Subject: Re: [bug#59190] [PATCH] gnu: Add python-pytest-parawtf.
Date: Tue, 15 Nov 2022 11:16:06 +0200
[Message part 1 (text/plain, inline)]
After enabling the test suite I found there were some failed tests.
Also, the bitbucket source is gone, and it seems to have moved to
GitHub.

On Fri, Nov 11, 2022 at 12:37:18AM -0600, jgart via Guix-patches via wrote:
> * gnu/packages/python-check.scm (python-pytest-parawtf): New variable.
> ---
>  gnu/packages/python-check.scm | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
> index 749902271b..ca6c2eaca8 100644
> --- a/gnu/packages/python-check.scm
> +++ b/gnu/packages/python-check.scm
> @@ -16,6 +16,7 @@
>  ;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>
>  ;;; Copyright © 2022 Felix Gruber <felgru <at> posteo.net>
>  ;;; Copyright © 2022 Tomasz Jeneralczyk <tj <at> schwi.pl>
> +;;; Copyright © 2022 jgart <jgart <at> dismail.de>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -2439,6 +2440,25 @@ (define-public python-sybil
>  provided for the main Python test runners.")
>      (license license:expat)))
>  
> +(define-public python-pytest-parawtf
> +  (package
> +    (name "python-pytest-parawtf")
> +    (version "1.0.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "pytest-parawtf" version))
> +              (sha256
> +               (base32
> +                "08s86hy58lvrd90cnayzydvac4slaflj0ph9yknakcc42anrm023"))))
> +    (build-system python-build-system)
    (arguments
     (list
       #:phases
       #~(modify-phases %standard-phases
           (replace 'check
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
                 (invoke "pytest")))))))
> +    (propagated-inputs (list python-pytest))
> +    (home-page "https://bitbucket.org/flub/pytest-parawtf")
> +    (synopsis "Finally spell paramete?ri[sz]e correctly")
> +    (description 
> +"@code{python-pytest} uses one of four different spellings of
> +parametrize.  This plugin allows you to use all four.")
> +    (license license:expat)))
> +
>  (define-public python-pytest-httpx
>    (package
>      (name "python-pytest-httpx")
> -- 
> 2.38.1
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#59190; Package guix-patches. (Tue, 15 Nov 2022 14:52:02 GMT) Full text and rfc822 format available.

Message #11 received at 59190 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 59190 <at> debbugs.gnu.org
Subject: Re: [bug#59190] [PATCH] gnu: Add python-pytest-parawtf.
Date: Tue, 15 Nov 2022 08:51:24 -0600
On Tue, 15 Nov 2022 11:16:06 +0200 Efraim Flashner <efraim <at> flashner.co.il> wrote:
> After enabling the test suite I found there were some failed tests.
> Also, the bitbucket source is gone, and it seems to have moved to
> GitHub.

Sorry for not updating this ticket status. I was meaning to send a new
patch for GitHub.

Thanks for the review. I'll send an update soon.




Information forwarded to guix-patches <at> gnu.org:
bug#59190; Package guix-patches. (Mon, 28 Nov 2022 22:00:02 GMT) Full text and rfc822 format available.

Message #14 received at 59190 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: jgart <jgart <at> dismail.de>
Cc: Efraim Flashner <efraim <at> flashner.co.il>, 59190 <at> debbugs.gnu.org
Subject: Re: bug#59190: [PATCH] gnu: Add python-pytest-parawtf.
Date: Mon, 28 Nov 2022 22:59:13 +0100
Hi,

jgart <jgart <at> dismail.de> skribis:

> On Tue, 15 Nov 2022 11:16:06 +0200 Efraim Flashner <efraim <at> flashner.co.il> wrote:
>> After enabling the test suite I found there were some failed tests.
>> Also, the bitbucket source is gone, and it seems to have moved to
>> GitHub.
>
> Sorry for not updating this ticket status. I was meaning to send a new
> patch for GitHub.
>
> Thanks for the review. I'll send an update soon.

Did you have a chance to look into it?

TIA,
Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#59190; Package guix-patches. (Tue, 29 Nov 2022 05:38:01 GMT) Full text and rfc822 format available.

Message #17 received at 59190 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 59190 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>, jgart <jgart <at> dismail.de>,
 Efraim Flashner <efraim <at> flashner.co.il>
Subject: [PATCH v2] gnu: Add python-pytest-parawtf.
Date: Mon, 28 Nov 2022 23:34:25 -0600
* gnu/packages/python-check.scm (python-pytest-parawtf): New variable.

Hi Ludo and Efraim. Here's v2.

I disabled the failing parametrized tests and added a comment to a
pending issue I opened with upstream regarding fixing the failing tests.

all best,

jgart

---
 gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 749902271b..486abf1c13 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>
 ;;; Copyright © 2022 Felix Gruber <felgru <at> posteo.net>
 ;;; Copyright © 2022 Tomasz Jeneralczyk <tj <at> schwi.pl>
+;;; Copyright © 2022 jgart <jgart <at> dismail.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2439,6 +2440,34 @@ (define-public python-sybil
 provided for the main Python test runners.")
     (license license:expat)))
 
+(define-public python-pytest-parawtf
+  (package
+    (name "python-pytest-parawtf")
+    (version "1.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "pytest-parawtf" version))
+              (sha256
+               (base32
+                "08s86hy58lvrd90cnayzydvac4slaflj0ph9yknakcc42anrm023"))))
+    (build-system python-build-system)
+    (arguments
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (replace 'check
+             (lambda* (#:key tests? #:allow-other-keys)
+               (when tests?
+                 ;; https://github.com/flub/pytest-parawtf/issues/1
+                 (invoke "pytest" "-k" "not test_mark")))))))
+    (propagated-inputs (list python-pytest))
+    (home-page "https://github.com/flub/pytest-parawtf/")
+    (synopsis "Finally spell paramete?ri[sz]e correctly")
+    (description
+"@code{python-pytest} uses one of four different spellings of
+parametrize.  This plugin allows you to use all four.")
+    (license license:expat)))
+
 (define-public python-pytest-httpx
   (package
     (name "python-pytest-httpx")
-- 
2.38.1





Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Tue, 29 Nov 2022 07:24:02 GMT) Full text and rfc822 format available.

Notification sent to jgart <jgart <at> dismail.de>:
bug acknowledged by developer. (Tue, 29 Nov 2022 07:24:02 GMT) Full text and rfc822 format available.

Message #22 received at 59190-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: jgart <jgart <at> dismail.de>
Cc: 59190-done <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: [PATCH v2] gnu: Add python-pytest-parawtf.
Date: Tue, 29 Nov 2022 09:23:43 +0200
[Message part 1 (text/plain, inline)]
Thanks. Patch pushed!

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Dec 2022 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.