all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59190] [PATCH] gnu: Add python-pytest-parawtf.
@ 2022-11-11  6:37 jgart via Guix-patches via
  2022-11-15  9:16 ` Efraim Flashner
  2022-11-29  5:34 ` [bug#59190] [PATCH v2] " jgart via Guix-patches via
  0 siblings, 2 replies; 6+ messages in thread
From: jgart via Guix-patches via @ 2022-11-11  6:37 UTC (permalink / raw)
  To: 59190; +Cc: jgart

* 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@gmail.com>
 ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
+;;; Copyright © 2022 jgart <jgart@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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#59190] [PATCH] gnu: Add python-pytest-parawtf.
  2022-11-11  6:37 [bug#59190] [PATCH] gnu: Add python-pytest-parawtf jgart via Guix-patches via
@ 2022-11-15  9:16 ` Efraim Flashner
  2022-11-15 14:51   ` jgart via Guix-patches via
  2022-11-29  5:34 ` [bug#59190] [PATCH v2] " jgart via Guix-patches via
  1 sibling, 1 reply; 6+ messages in thread
From: Efraim Flashner @ 2022-11-15  9:16 UTC (permalink / raw)
  To: jgart; +Cc: 59190

[-- Attachment #1: Type: text/plain, Size: 2419 bytes --]

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@gmail.com>
>  ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
>  ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
> +;;; Copyright © 2022 jgart <jgart@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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#59190] [PATCH] gnu: Add python-pytest-parawtf.
  2022-11-15  9:16 ` Efraim Flashner
@ 2022-11-15 14:51   ` jgart via Guix-patches via
  2022-11-28 21:59     ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: jgart via Guix-patches via @ 2022-11-15 14:51 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 59190

On Tue, 15 Nov 2022 11:16:06 +0200 Efraim Flashner <efraim@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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#59190] [PATCH] gnu: Add python-pytest-parawtf.
  2022-11-15 14:51   ` jgart via Guix-patches via
@ 2022-11-28 21:59     ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2022-11-28 21:59 UTC (permalink / raw)
  To: jgart; +Cc: Efraim Flashner, 59190

Hi,

jgart <jgart@dismail.de> skribis:

> On Tue, 15 Nov 2022 11:16:06 +0200 Efraim Flashner <efraim@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’.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#59190] [PATCH v2] gnu: Add python-pytest-parawtf.
  2022-11-11  6:37 [bug#59190] [PATCH] gnu: Add python-pytest-parawtf jgart via Guix-patches via
  2022-11-15  9:16 ` Efraim Flashner
@ 2022-11-29  5:34 ` jgart via Guix-patches via
  2022-11-29  7:23   ` bug#59190: " Efraim Flashner
  1 sibling, 1 reply; 6+ messages in thread
From: jgart via Guix-patches via @ 2022-11-29  5:34 UTC (permalink / raw)
  To: 59190; +Cc: Ludovic Courtès, jgart, Efraim Flashner

* 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@gmail.com>
 ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
+;;; Copyright © 2022 jgart <jgart@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





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#59190: [PATCH v2] gnu: Add python-pytest-parawtf.
  2022-11-29  5:34 ` [bug#59190] [PATCH v2] " jgart via Guix-patches via
@ 2022-11-29  7:23   ` Efraim Flashner
  0 siblings, 0 replies; 6+ messages in thread
From: Efraim Flashner @ 2022-11-29  7:23 UTC (permalink / raw)
  To: jgart; +Cc: 59190-done, Ludovic Courtès

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

Thanks. Patch pushed!

-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-29  7:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11  6:37 [bug#59190] [PATCH] gnu: Add python-pytest-parawtf jgart via Guix-patches via
2022-11-15  9:16 ` Efraim Flashner
2022-11-15 14:51   ` jgart via Guix-patches via
2022-11-28 21:59     ` Ludovic Courtès
2022-11-29  5:34 ` [bug#59190] [PATCH v2] " jgart via Guix-patches via
2022-11-29  7:23   ` bug#59190: " Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.