GNU bug report logs - #41395
[PATCH 0/2] gnu: Add python-questionary

Previous Next

Package: guix-patches;

Reported by: Edouard Klein <edk <at> beaver-labs.com>

Date: Tue, 19 May 2020 09:55:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <marius <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Marius Bakke <marius <at> gnu.org>
To: Edouard Klein <edk <at> beaver-labs.com>, 41395 <at> debbugs.gnu.org
Subject: Re: [bug#41395] [PATCH 2/4] gnu: Update python-prompt-toolkit to
 version 3.0.5
Date: Tue, 26 May 2020 00:28:21 +0200
[Message part 1 (text/plain, inline)]
Edouard Klein <edk <at> beaver-labs.com> writes:

> * gnu/packages/machine-learning.scm (python-iml): Move python-nose from
> propagated to native input.

Can you submit this change as a separate patch, as it is unrelated to
the python-prompt-toolkit update?

[...]

> @@ -12105,14 +12108,14 @@ collections of data.")
>  (define-public python-prompt-toolkit
>    (package
>      (name "python-prompt-toolkit")
> -    (version "2.0.7")
> +    (version "3.0.5")
>      (source
>       (origin
>         (method url-fetch)
> -       (uri (pypi-uri "prompt_toolkit" version ".tar.gz"))
> +       (uri (pypi-uri "prompt_toolkit" version))
>         (sha256
>          (base32
> -         "0fgacqk73w7s932vy46pan2yp8rvjmlkag20xvaydh9mhf6h85zx"))))
> +         "1j3x5s4gp4ih73sbcni0a0vffbzvrxbrbnkvb3fzjgxn810ilgan"))))
>      (build-system python-build-system)
>      (arguments
>       `(#:phases
> @@ -12126,12 +12129,11 @@ collections of data.")
>               (add-installed-pythonpath inputs outputs)
>               (invoke "py.test"))))))
>      (propagated-inputs
> -     `(("python-wcwidth" ,python-wcwidth)
> -       ("python-six" ,python-six)
> -       ("python-pygments" ,python-pygments)))
> +     `(("python-wcwidth" ,python-wcwidth)))

I think you need to re-add these inputs in 'python-prompt-toolkit-2'.
'python2-prompt-toolkit' should probably inherit from
'python-prompt-toolkit-2' too, given that the dependency on Six is
removed in version 3.

Finally 'python-prompt-toolkit-1' (!!!) also needs to inherit from
'python-prompt-toolkit-2' so that the inputs don't change, unless
version 1 can be removed entirely.

Quite the cabal!
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 353 days ago.

Previous Next


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