all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#42573] [PATCH 0/2] gnu: python-clikit: Update to 0.6.2.
@ 2020-07-28  9:22 Tanguy Le Carrour
  2020-07-28  9:28 ` [bug#42573] [PATCH 1/2] gnu: Add python-crashtest Tanguy Le Carrour
  2020-07-29  7:26 ` Tanguy Le Carrour
  0 siblings, 2 replies; 6+ messages in thread
From: Tanguy Le Carrour @ 2020-07-28  9:22 UTC (permalink / raw)
  To: 42573; +Cc: Tanguy Le Carrour

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





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

* [bug#42573] [PATCH 1/2] gnu: Add python-crashtest.
  2020-07-28  9:22 [bug#42573] [PATCH 0/2] gnu: python-clikit: Update to 0.6.2 Tanguy Le Carrour
@ 2020-07-28  9:28 ` Tanguy Le Carrour
  2020-07-28  9:28   ` [bug#42573] [PATCH 2/2] gnu: python-clikit: Update to 0.6.2 Tanguy Le Carrour
  2020-07-29  7:26 ` Tanguy Le Carrour
  1 sibling, 1 reply; 6+ messages in thread
From: Tanguy Le Carrour @ 2020-07-28  9:28 UTC (permalink / raw)
  To: 42573; +Cc: Tanguy Le Carrour

* 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





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

* [bug#42573] [PATCH 2/2] gnu: python-clikit: Update to 0.6.2.
  2020-07-28  9:28 ` [bug#42573] [PATCH 1/2] gnu: Add python-crashtest Tanguy Le Carrour
@ 2020-07-28  9:28   ` Tanguy Le Carrour
  2020-07-29  5:27     ` Oleg Pykhalov
  0 siblings, 1 reply; 6+ messages in thread
From: Tanguy Le Carrour @ 2020-07-28  9:28 UTC (permalink / raw)
  To: 42573; +Cc: Tanguy Le Carrour

* 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





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

* [bug#42573] [PATCH 2/2] gnu: python-clikit: Update to 0.6.2.
  2020-07-28  9:28   ` [bug#42573] [PATCH 2/2] gnu: python-clikit: Update to 0.6.2 Tanguy Le Carrour
@ 2020-07-29  5:27     ` Oleg Pykhalov
  0 siblings, 0 replies; 6+ messages in thread
From: Oleg Pykhalov @ 2020-07-29  5:27 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 42573

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

Hi,

Tanguy Le Carrour <tanguy@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.

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

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

* [bug#42573] [PATCH 2/2] gnu: python-clikit: Update to 0.6.2.
  2020-07-28  9:22 [bug#42573] [PATCH 0/2] gnu: python-clikit: Update to 0.6.2 Tanguy Le Carrour
  2020-07-28  9:28 ` [bug#42573] [PATCH 1/2] gnu: Add python-crashtest Tanguy Le Carrour
@ 2020-07-29  7:26 ` Tanguy Le Carrour
  2020-07-30 18:01   ` bug#42573: " Oleg Pykhalov
  1 sibling, 1 reply; 6+ messages in thread
From: Tanguy Le Carrour @ 2020-07-29  7:26 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 42573

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




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

* bug#42573: [PATCH 2/2] gnu: python-clikit: Update to 0.6.2.
  2020-07-29  7:26 ` Tanguy Le Carrour
@ 2020-07-30 18:01   ` Oleg Pykhalov
  0 siblings, 0 replies; 6+ messages in thread
From: Oleg Pykhalov @ 2020-07-30 18:01 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 42573-done

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

Hi,

Tanguy Le Carrour <tanguy@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.


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

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

end of thread, other threads:[~2020-07-30 18:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-28  9:22 [bug#42573] [PATCH 0/2] gnu: python-clikit: Update to 0.6.2 Tanguy Le Carrour
2020-07-28  9:28 ` [bug#42573] [PATCH 1/2] gnu: Add python-crashtest Tanguy Le Carrour
2020-07-28  9:28   ` [bug#42573] [PATCH 2/2] gnu: python-clikit: Update to 0.6.2 Tanguy Le Carrour
2020-07-29  5:27     ` Oleg Pykhalov
2020-07-29  7:26 ` Tanguy Le Carrour
2020-07-30 18:01   ` bug#42573: " Oleg Pykhalov

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.