GNU bug report logs - #42573
[PATCH 0/2] gnu: python-clikit: Update to 0.6.2.

Previous Next

Package: guix-patches;

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

Date: Tue, 28 Jul 2020 09:25:01 UTC

Severity: normal

Tags: patch

Done: Oleg Pykhalov <go.wigust <at> gmail.com>

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 42573 in the body.
You can then email your comments to 42573 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#42573; Package guix-patches. (Tue, 28 Jul 2020 09:25: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. (Tue, 28 Jul 2020 09:25: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 0/2] gnu: python-clikit: Update to 0.6.2.
Date: Tue, 28 Jul 2020 11:22:21 +0200
Tanguy Le Carrour (2):
  gnu: Add python-crashtest.
  gnu: python-clikit: Update to 0.6.2.

 gnu/packages/python-xyz.scm | 26 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)

-- 
2.27.0





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

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 42573 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 1/2] gnu: Add python-crashtest.
Date: Tue, 28 Jul 2020 11:28:16 +0200
* gnu/packages/python-xyz.scm (python-crashtest): New public variable.
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8e59ef0fd6..9294d3ff31 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8107,6 +8107,24 @@ output.")
 (define-public python2-cram
   (package-with-python2 python-cram))
 
+(define-public python-crashtest
+  (package
+    (name "python-crashtest")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "crashtest" version))
+        (sha256
+          (base32
+            "056zzbznl3xfnbblfci8lvcam3h7k7va68vi6asrm4q0ck4nrh79"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/sdispater/crashtest")
+    (synopsis "Manage Python errors with ease")
+    (description
+     "Python library that makes exceptions handling and inspection easier.")
+    (license license:expat)))
+
 (define-public python-straight-plugin
   (package
     (name "python-straight-plugin")
-- 
2.27.0





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

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 42573 <at> debbugs.gnu.org
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: [PATCH 2/2] gnu: python-clikit: Update to 0.6.2.
Date: Tue, 28 Jul 2020 11:28:17 +0200
* gnu/packages/python-xyz.scm (python-clikit): Update to 0.6.2.
[arguments] Explicitly disable tests.
[propagated-inputs]: Add python-crashtest.
---
 gnu/packages/python-xyz.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9294d3ff31..18bee90121 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12180,17 +12180,19 @@ more, possibly remote, memcached servers.")
 (define-public python-clikit
   (package
     (name "python-clikit")
-    (version "0.4.2")
+    (version "0.6.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "clikit" version))
        (sha256
         (base32
-         "1jnnr21hvzx4i29nbph1z96ympv0njiwyvngjq48w1q05133cwzn"))))
+         "0ngdkmb73gkp5y00q7r9k1cdlfn0wyzws2wrqlshc4hlkbdyabj4"))))
     (build-system python-build-system)
+    (arguments '(#:tests? #f))  ; no test in the PyPI tarball
     (propagated-inputs
-     `(("python-pastel" ,python-pastel)
+     `(("python-crashtest" ,python-crashtest)
+       ("python-pastel" ,python-pastel)
        ("python-pylev" ,python-pylev)))
     (home-page "https://github.com/sdispater/clikit")
     (synopsis "Group of utilities to build command line interfaces")
-- 
2.27.0





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

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

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>
Cc: 42573 <at> debbugs.gnu.org
Subject: Re: [bug#42573] [PATCH 2/2] gnu: python-clikit: Update to 0.6.2.
Date: Wed, 29 Jul 2020 08:27:07 +0300
[Message part 1 (text/plain, inline)]
Hi,

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

> * gnu/packages/python-xyz.scm (python-clikit): Update to 0.6.2.
> [arguments] Explicitly disable tests.
> [propagated-inputs]: Add python-crashtest.
> ---
>  gnu/packages/python-xyz.scm | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index 9294d3ff31..18bee90121 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -12180,17 +12180,19 @@ more, possibly remote, memcached servers.")

[…]

> +    (arguments '(#:tests? #f))  ; no test in the PyPI tarball

Could you take a look on a fetching source with ‘git-fetch’ and enabling
tests suite?

Thanks,
Oleg.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#42573; Package guix-patches. (Wed, 29 Jul 2020 07:28:02 GMT) Full text and rfc822 format available.

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: 42573 <at> debbugs.gnu.org
Subject: Re: [bug#42573] [PATCH 2/2] gnu: python-clikit: Update to 0.6.2.
Date: Wed, 29 Jul 2020 09:26:56 +0200
Hi Oleg,

>Tanguy Le Carrour <tanguy <at> bioneland.org> writes:
>> * gnu/packages/python-xyz.scm (python-clikit): Update to 0.6.2.
>[…]
>> +    (arguments '(#:tests? #f))  ; no test in the PyPI tarball
>Could you take a look on a fetching source with ‘git-fetch’ and enabling
>tests suite?

Actually, I can't! :-(

`crashtest` is a project managed with Poetry. In order to build and test it,
I need `poetry`. But `poetry` depends on `clikit` that depends on… `crashtest`!

I guess (I hope) that more and more projects will be managed with Poetry,
so we'll run into this problem again.

There's actually an other problem with Poetry: `poetry` is managed with Poetry!
I have no idea how to handle this! Is this a scenario where we have to have
a `poetry-0` that is a "trusted" binary that we use to "properly" build
the "poetry chain"?

Any help welcome!

-- 
Tanguy




Reply sent to Oleg Pykhalov <go.wigust <at> gmail.com>:
You have taken responsibility. (Thu, 30 Jul 2020 18:02:02 GMT) Full text and rfc822 format available.

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

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

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>
Cc: 42573-done <at> debbugs.gnu.org
Subject: Re: [bug#42573] [PATCH 2/2] gnu: python-clikit: Update to 0.6.2.
Date: Thu, 30 Jul 2020 21:01:37 +0300
[Message part 1 (text/plain, inline)]
Hi,

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

>>Could you take a look on a fetching source with ‘git-fetch’ and enabling
>>tests suite?
>
> Actually, I can't! :-(
>
> `crashtest` is a project managed with Poetry. In order to build and test it,
> I need `poetry`. But `poetry` depends on `clikit` that depends on… `crashtest`!
>
> I guess (I hope) that more and more projects will be managed with Poetry,
> so we'll run into this problem again.
>
> There's actually an other problem with Poetry: `poetry` is managed with Poetry!
> I have no idea how to handle this! Is this a scenario where we have to have
> a `poetry-0` that is a "trusted" binary that we use to "properly" build
> the "poetry chain"?

OK, thanks for investigation.  I pushed the changes to master.

Oleg.

[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. (Fri, 28 Aug 2020 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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