GNU bug report logs - #57419
[PATCH] gnu: add python-grid5000

Previous Next

Package: guix-patches;

Reported by: matthieu.simonin <at> inria.fr

Date: Thu, 25 Aug 2022 20:51:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <marius <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 57419 in the body.
You can then email your comments to 57419 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#57419; Package guix-patches. (Thu, 25 Aug 2022 20:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to matthieu.simonin <at> inria.fr:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 25 Aug 2022 20:51:02 GMT) Full text and rfc822 format available.

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

From: matthieu.simonin <at> inria.fr
To: guix-patches <at> gnu.org
Cc: msimonin <matthieu.simonin <at> inria.fr>
Subject: [PATCH] gnu: add python-grid5000
Date: Thu, 25 Aug 2022 22:30:55 +0200
From: msimonin <matthieu.simonin <at> inria.fr>

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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d060d5b27c..2fea8cfcb0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7786,3 +7786,28 @@ (define-public python-whatthepatch
     (description
      "This package provides a library to parse and apply patches.")
     (license license:expat)))
+
+(define-public python-grid5000
+  (package
+    (name "python-grid5000")
+    (version "1.2.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.inria.fr/msimonin/python-grid5000")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               "097pm8b68ihk29xz9zv29b1x0bhgjb4lfj8zxk2grbsh7wr9dipg")))
+    (build-system python-build-system)
+    (native-inputs (list python-wheel))
+    (propagated-inputs (list python-requests python-ipython python-pyyaml))
+    (arguments
+     (list #:tests? #f))
+    (home-page "https://pypi.org/project/python-grid5000/")
+    (synopsis "Grid5000 python client")
+    (description
+     "python-grid5000 is a python package wrapping the Grid5000 REST API.
+    You can use it as a library in your python project or you can
+    explore the Grid5000 resources interactively using the embedded shell.")
+    (license license:gpl3)))

base-commit: 26ff8a4b733c06b4f38aa1fb1ec6705bf30eae4a
-- 
2.30.2





Information forwarded to guix-patches <at> gnu.org:
bug#57419; Package guix-patches. (Mon, 29 Aug 2022 16:10:01 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <marius <at> gnu.org>
To: matthieu.simonin <at> inria.fr, 57419 <at> debbugs.gnu.org
Cc: msimonin <matthieu.simonin <at> inria.fr>
Subject: Re: [bug#57419] [PATCH] gnu: add python-grid5000
Date: Mon, 29 Aug 2022 18:09:30 +0200
[Message part 1 (text/plain, inline)]
Hi Matthieu,

Welcome to Guix!  The patch looks good overall, a few minor questions:

> +(define-public python-grid5000
> +  (package
> +    (name "python-grid5000")
> +    (version "1.2.3")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://gitlab.inria.fr/msimonin/python-grid5000")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               "097pm8b68ihk29xz9zv29b1x0bhgjb4lfj8zxk2grbsh7wr9dipg")))
> +    (build-system python-build-system)
> +    (native-inputs (list python-wheel))
> +    (propagated-inputs (list python-requests python-ipython python-pyyaml))
> +    (arguments
> +     (list #:tests? #f))

Can you add a comment stating why tests are disabled?

> +    (home-page "https://pypi.org/project/python-grid5000/")
> +    (synopsis "Grid5000 python client")
> +    (description
> +     "python-grid5000 is a python package wrapping the Grid5000 REST API.
> +    You can use it as a library in your python project or you can
> +    explore the Grid5000 resources interactively using the embedded shell.")
> +    (license license:gpl3)))

The LICENSE.txt file says LGPL3, setup.cfg says GPL3.  Which is
correct?  :-)

Also, unless otherwise noted in the source code (e.g. "version 3 only"),
it should be "gpl3+", i.e. "and any later version".

Can you send an updated patch?

Thanks in advance!
[signature.asc (application/pgp-signature, inline)]

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

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

From: matthieu.simonin <at> inria.fr
To: 57419 <at> debbugs.gnu.org
Cc: msimonin <matthieu.simonin <at> inria.fr>
Subject: [PATCH] gnu: add python-grid5000
Date: Tue, 30 Aug 2022 11:00:19 +0200
From: msimonin <matthieu.simonin <at> inria.fr>

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

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index df63602236..170e440338 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7786,3 +7786,28 @@ (define-public python-whatthepatch
     (description
      "This package provides a library to parse and apply patches.")
     (license license:expat)))
+
+(define-public python-grid5000
+  (package
+    (name "python-grid5000")
+    (version "1.2.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.inria.fr/msimonin/python-grid5000")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               "097pm8b68ihk29xz9zv29b1x0bhgjb4lfj8zxk2grbsh7wr9dipg")))
+    (build-system python-build-system)
+    (native-inputs (list python-wheel))
+    (propagated-inputs (list python-requests python-ipython python-pyyaml))
+    (arguments
+     (list #:tests? #f)) ; No tests.
+    (home-page "https://pypi.org/project/python-grid5000/")
+    (synopsis "Grid5000 python client")
+    (description
+     "python-grid5000 is a python package wrapping the Grid5000 REST API.
+    You can use it as a library in your python project or you can
+    explore the Grid5000 resources interactively using the embedded shell.")
+    (license license:gpl3+)))

base-commit: 6beadc82df204f315d06ea35f2e232bb32f8e440
-- 
2.30.2

Thanks Marius for the review,

I'm sending the update. 
There are no suitable tests here, and I changed the licence to GPLv3
everywhere.

Let me know if anything else is needed.

Best,

Matt




Reply sent to Marius Bakke <marius <at> gnu.org>:
You have taken responsibility. (Tue, 30 Aug 2022 16:02:02 GMT) Full text and rfc822 format available.

Notification sent to matthieu.simonin <at> inria.fr:
bug acknowledged by developer. (Tue, 30 Aug 2022 16:02:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <marius <at> gnu.org>
To: matthieu.simonin <at> inria.fr, 57419-done <at> debbugs.gnu.org
Cc: msimonin <matthieu.simonin <at> inria.fr>
Subject: Re: [bug#57419] [PATCH] gnu: add python-grid5000
Date: Tue, 30 Aug 2022 18:00:47 +0200
[Message part 1 (text/plain, inline)]
matthieu.simonin <at> inria.fr skriver:


> Thanks Marius for the review,
>
> I'm sending the update. 
> There are no suitable tests here, and I changed the licence to GPLv3
> everywhere.
>
> Let me know if anything else is needed.

Thanks!  I filled in the commit message (noting the new variable in
python-web.scm), and also added a copyright line for you, hope that was
okay.

Pushed in c19a432652f2fb544eaf918fe287aa898748d76c.
[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. (Wed, 28 Sep 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 210 days ago.

Previous Next


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