GNU bug report logs - #42364
[PATCH] gnu: Add python-robber.

Previous Next

Package: guix-patches;

Reported by: Tanguy Le Carrour <tanguy <at> bioneland.org>

Date: Wed, 15 Jul 2020 12:30:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 42364 in the body.
You can then email your comments to 42364 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#42364; Package guix-patches. (Wed, 15 Jul 2020 12:30:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tanguy Le Carrour <tanguy <at> bioneland.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 15 Jul 2020 12:30:01 GMT) Full text and rfc822 format available.

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: guix-patches <at> gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH] gnu: Add python-robber.
Date: Wed, 15 Jul 2020 14:28:32 +0200
* gnu/packages/python-xyz.scm (python-robber): New variable.
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 15d9e097c5..f6afb73fcb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3522,6 +3522,26 @@ designed to be used by Robot Framework and tools and libraries in its
 ecosystem, but can naturally be used also by other projects.")
     (license license:asl2.0)))
 
+(define-public python-robber
+  (package
+    (name "python-robber")
+    (version "1.1.5")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "robber" version))
+              (sha256
+               (base32
+                "0xp5csgv2g9q38hscml6bc5i1nm4xy5lzqqiimm2drxsf0hw2nq5"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f))  ; no tests
+    (propagated-inputs
+     `(("python-mock" ,python-mock)
+       ("python-termcolor" ,python-termcolor)))
+    (home-page "https://github.com/vesln/robber.py")
+    (synopsis "BDD / TDD assertion library for Python")
+    (description "Robber is a BDD / TDD assertion library for Python.")
+    (license license:expat)))
+
 (define-public python-robotframework
   (package
     (name "python-robotframework")
-- 
2.27.0





Information forwarded to guix-patches <at> gnu.org:
bug#42364; Package guix-patches. (Tue, 21 Jul 2020 21:23:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <marius <at> gnu.org>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>, 42364 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: Re: [bug#42364] [PATCH] gnu: Add python-robber.
Date: Tue, 21 Jul 2020 23:22:29 +0200
[Message part 1 (text/plain, inline)]
Tanguy Le Carrour <tanguy <at> bioneland.org> writes:

> * gnu/packages/python-xyz.scm (python-robber): New variable.

Thanks!  As this appears to be a test library, can you move it to
python-check.scm?

[...]
  
> +(define-public python-robber
> +  (package
> +    (name "python-robber")
> +    (version "1.1.5")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (pypi-uri "robber" version))
> +              (sha256
> +               (base32
> +                "0xp5csgv2g9q38hscml6bc5i1nm4xy5lzqqiimm2drxsf0hw2nq5"))))
> +    (build-system python-build-system)
> +    (arguments '(#:tests? #f))  ; no tests

There appears to be tests in the upstream repository:

  https://github.com/vesln/robber.py/tree/master/tests

Perhaps we should pull that instead of the PyPI release?

Otherwise LGTM.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#42364; Package guix-patches. (Wed, 22 Jul 2020 08:15:02 GMT) Full text and rfc822 format available.

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: Marius Bakke <marius <at> gnu.org>
Cc: 42364 <at> debbugs.gnu.org
Subject: Re: [bug#42364] [PATCH] gnu: Add python-robber.
Date: Wed, 22 Jul 2020 10:14:23 +0200
Hi,

Le 07/21, Marius Bakke a écrit :
> Tanguy Le Carrour <tanguy <at> bioneland.org> writes:
> 
> > * gnu/packages/python-xyz.scm (python-robber): New variable.
> 
> Thanks!  As this appears to be a test library, can you move it to
> python-check.scm?

Would make sense, indeed! I'm sending a v2 for this.


> > +(define-public python-robber
> > +  (package
> > +    (name "python-robber")
> > +    (version "1.1.5")
> > +    (source (origin
> > +              (method url-fetch)
> > +              (uri (pypi-uri "robber" version))
> > +              (sha256
> > +               (base32
> > +                "0xp5csgv2g9q38hscml6bc5i1nm4xy5lzqqiimm2drxsf0hw2nq5"))))
> > +    (build-system python-build-system)
> > +    (arguments '(#:tests? #f))  ; no tests
> 
> There appears to be tests in the upstream repository:
> 
>   https://github.com/vesln/robber.py/tree/master/tests
> 
> Perhaps we should pull that instead of the PyPI release?

Yes, but… for an (yet) unknown reason, version 1.1.5 is not in the git
repo!? The last version is 0.1.0!?
I sent an email to the author mentioned on PyPI. I'm adding a comment on
this in the package definition.

-- 
Tanguy




Information forwarded to guix-patches <at> gnu.org:
bug#42364; Package guix-patches. (Wed, 22 Jul 2020 08:15:02 GMT) Full text and rfc822 format available.

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 42364 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH v2] gnu: Add python-robber.
Date: Wed, 22 Jul 2020 10:14:40 +0200
* gnu/packages/python-check.scm (python-robber): New variable.
---
 gnu/packages/python-check.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 2e3cfe05c5..8c4af22fab 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -534,3 +534,26 @@ it, the declaration of a name's public export semantics are not separated from
 the implementation of that name.")
     (license (list license:asl2.0
                    license:lgpl3))))    ; only for setup_helpers.py
+
+(define-public python-robber
+  (package
+    (name "python-robber")
+    (version "1.1.5")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "robber" version))
+              (sha256
+               (base32
+                "0xp5csgv2g9q38hscml6bc5i1nm4xy5lzqqiimm2drxsf0hw2nq5"))))
+    (build-system python-build-system)
+    ;; The last version tagged in Github (0.1.0) is older than the one on PyPI.
+    ;; Reported upstream: <https://github.com/vesln/robber.py/issues/20>.
+    ;; There are no tests in the tarball downloaded from PyPI.
+    (arguments '(#:tests? #f))
+    (propagated-inputs
+     `(("python-mock" ,python-mock)
+       ("python-termcolor" ,python-termcolor)))
+    (home-page "https://github.com/vesln/robber.py")
+    (synopsis "BDD / TDD assertion library for Python")
+    (description "Robber is a BDD / TDD assertion library for Python.")
+    (license license:expat)))
-- 
2.27.0





Information forwarded to guix-patches <at> gnu.org:
bug#42364; Package guix-patches. (Sat, 25 Jul 2020 15:42:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <marius <at> gnu.org>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>, 42364 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: Re: [bug#42364] [PATCH v2] gnu: Add python-robber.
Date: Sat, 25 Jul 2020 17:40:35 +0200
[Message part 1 (text/plain, inline)]
Tanguy Le Carrour <tanguy <at> bioneland.org> writes:

> * gnu/packages/python-check.scm (python-robber): New variable.

[...]

> +    ;; The last version tagged in Github (0.1.0) is older than the one on PyPI.
> +    ;; Reported upstream: <https://github.com/vesln/robber.py/issues/20>.

Wow, it's concerning that someone just uploaded a fork on PyPI without
notifying the original author, yet reuses the original home page.

Even more so when there are no tags matching the uploaded tarball.

I think we should adjust the home page of this package to point to the
fork, and maybe add a comment explaining the situation.  WDYT?

Can you also add a copyright line for yourself in python-check.scm?

Thanks for tracking down this issue!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#42364; Package guix-patches. (Mon, 27 Jul 2020 08:27:02 GMT) Full text and rfc822 format available.

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: Marius Bakke <marius <at> gnu.org>
Cc: 42364 <at> debbugs.gnu.org
Subject: Re: [bug#42364] [PATCH v2] gnu: Add python-robber.
Date: Mon, 27 Jul 2020 10:26:27 +0200
Hi Marius,


Le 07/25, Marius Bakke a écrit :
> Tanguy Le Carrour <tanguy <at> bioneland.org> writes:
> 
> > * gnu/packages/python-check.scm (python-robber): New variable.
> 
> [...]
> 
> > +    ;; The last version tagged in Github (0.1.0) is older than the one on PyPI.
> > +    ;; Reported upstream: <https://github.com/vesln/robber.py/issues/20>.
> 
> Wow, it's concerning that someone just uploaded a fork on PyPI without
> notifying the original author, yet reuses the original home page.

He might have tried, but… the original author's email address given on
PyPI does not exist any more!


> Even more so when there are no tags matching the uploaded tarball.
> 
> I think we should adjust the home page of this package to point to the
> fork, and maybe add a comment explaining the situation.  WDYT?

I've just send a email to the author of the last commit in the second
repo. Let's see what will happen!
In the worst case scenario, I can open a claim request on PyPI and fix
the mess myself. But let's hope I don't have to do that! ^_^'


-- 
Tanguy




Information forwarded to guix-patches <at> gnu.org:
bug#42364; Package guix-patches. (Wed, 29 Jul 2020 22:25:01 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <marius <at> gnu.org>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>
Cc: 42364 <at> debbugs.gnu.org
Subject: Re: [bug#42364] [PATCH v2] gnu: Add python-robber.
Date: Thu, 30 Jul 2020 00:23:39 +0200
[Message part 1 (text/plain, inline)]
Tanguy Le Carrour <tanguy <at> bioneland.org> writes:

> Hi Marius,
>
>
> Le 07/25, Marius Bakke a écrit :
>> Tanguy Le Carrour <tanguy <at> bioneland.org> writes:
>> 
>> > * gnu/packages/python-check.scm (python-robber): New variable.
>> 
>> [...]
>> 
>> > +    ;; The last version tagged in Github (0.1.0) is older than the one on PyPI.
>> > +    ;; Reported upstream: <https://github.com/vesln/robber.py/issues/20>.
>> 
>> Wow, it's concerning that someone just uploaded a fork on PyPI without
>> notifying the original author, yet reuses the original home page.
>
> He might have tried, but… the original author's email address given on
> PyPI does not exist any more!

Oh, right.  That makes sense.  :-)

>> Even more so when there are no tags matching the uploaded tarball.
>> 
>> I think we should adjust the home page of this package to point to the
>> fork, and maybe add a comment explaining the situation.  WDYT?
>
> I've just send a email to the author of the last commit in the second
> repo. Let's see what will happen!
> In the worst case scenario, I can open a claim request on PyPI and fix
> the mess myself. But let's hope I don't have to do that! ^_^'

I hope so too!  Meanwhile I think we can take the original patch you
sent, but adjust the home page to that of the fork.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#42364; Package guix-patches. (Thu, 30 Jul 2020 09:41:01 GMT) Full text and rfc822 format available.

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 42364 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>, marius <at> gnu.org
Subject: [PATCH v3] gnu: Add python-robber.
Date: Thu, 30 Jul 2020 11:40:15 +0200
* gnu/packages/python-xyz.scm (python-robber): New variable.
---
 gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 51b864957f..aa00a35d23 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -889,3 +889,27 @@ any Python VM with basically no runtime overhead.")
     ;; Foundation License version 2: stdlib-samples/*, mypyc/lib-rt/pythonsupport.h and
     ;; mypyc/lib-rt/getargs.c
     (license (list license:expat license:psfl))))
+
+(define-public python-robber
+  (package
+    (name "python-robber")
+    (version "1.1.5")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "robber" version))
+              (sha256
+               (base32
+                "0xp5csgv2g9q38hscml6bc5i1nm4xy5lzqqiimm2drxsf0hw2nq5"))))
+    (build-system python-build-system)
+    ;; There are no tests in the tarball downloaded from PyPI.
+    ;; The last version tagged in Github (0.1.0) is older than the one on PyPI.
+    ;; Reported upstream: <https://github.com/vesln/robber.py/issues/20>.
+    (arguments '(#:tests? #f))
+    (propagated-inputs
+     `(("python-mock" ,python-mock)
+       ("python-termcolor" ,python-termcolor)))
+    ;; URL of the fork used to generate the package available on PyPI.
+    (home-page "https://github.com/EastAgile/robber.py")
+    (synopsis "BDD / TDD assertion library for Python")
+    (description "Robber is a BDD / TDD assertion library for Python.")
+    (license license:expat)))
-- 
2.27.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 24 Sep 2020 15:51:01 GMT) Full text and rfc822 format available.

Notification sent to Tanguy Le Carrour <tanguy <at> bioneland.org>:
bug acknowledged by developer. (Thu, 24 Sep 2020 15:51:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>
Cc: 42364-done <at> debbugs.gnu.org, marius <at> gnu.org
Subject: Re: [bug#42364] [PATCH v3] gnu: Add python-robber.
Date: Thu, 24 Sep 2020 17:49:59 +0200
Hi,

Tanguy Le Carrour <tanguy <at> bioneland.org> skribis:

> * gnu/packages/python-xyz.scm (python-robber): New variable.

[...]

> +    (synopsis "BDD / TDD assertion library for Python")
> +    (description "Robber is a BDD / TDD assertion library for Python.")

I tweaked these and applied, thanks!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#42364; Package guix-patches. (Sun, 27 Sep 2020 13:40:02 GMT) Full text and rfc822 format available.

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 42364-done <at> debbugs.gnu.org, marius <at> gnu.org
Subject: Re: [bug#42364] [PATCH v3] gnu: Add python-robber.
Date: Sun, 27 Sep 2020 15:39:00 +0200
Le 09/24, Ludovic Courtès a écrit :
> Hi,
> 
> Tanguy Le Carrour <tanguy <at> bioneland.org> skribis:
> 
> > * gnu/packages/python-xyz.scm (python-robber): New variable.
> 
> [...]
> 
> > +    (synopsis "BDD / TDD assertion library for Python")
> > +    (description "Robber is a BDD / TDD assertion library for Python.")
> 
> I tweaked these and applied, thanks!

Thanks!

-- 
Tanguy




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Oct 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 181 days ago.

Previous Next


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