[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41395] [PATCH 2/4] gnu: Update python-prompt-toolkit to version 3.0
From: |
Edouard Klein |
Subject: |
[bug#41395] [PATCH 2/4] gnu: Update python-prompt-toolkit to version 3.0.5 |
Date: |
Tue, 26 May 2020 13:39:09 +0200 |
User-agent: |
mu4e 1.4.6; emacs 26.3 |
Marius Bakke writes:
> Edouard Klein <address@hidden> 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?
>
> [...]
Done
>
>> @@ -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.
>
That makes sense, done.
> 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.
I grepped and did not find any user anywhere so I went ahead and removed it.
>
> Quite the cabal!
- [bug#41395] [PATCH 1/2] gnu: python-prompt-toolkit: Update to 3.0.5, (continued)
[bug#41395] [PATCH 2/2] gnu: Add python-questionary, Edouard Klein, 2020/05/19
[bug#41395] [PATCH 1/4] gnu: Update python-iml homepage to https, Edouard Klein, 2020/05/25
[bug#41395] [PATCH 2/4] gnu: Update python-prompt-toolkit to version 3.0.5, Edouard Klein, 2020/05/25
[bug#41395] [PATCH 3/4] gnu: Add python-pytest-pycodestyle, Edouard Klein, 2020/05/25
[bug#41395] [PATCH 4/4] gnu: Add python-questionary, Edouard Klein, 2020/05/25
[bug#41395] [PATCH 1/3] gnu: Update python-widgetsnbextension to 3.5.1, Edouard Klein, 2020/05/26
[bug#41395] [PATCH 2/3] gnu: Update python-ipywidgets to 7.5.1, Edouard Klein, 2020/05/26
[bug#41395] [PATCH 3/3] gnu: Update python-jupyter-console to 6.1.0, Edouard Klein, 2020/05/26
[bug#41395] [PATCH] gnu: Move nose from propagated to native in python-iml, Edouard Klein, 2020/05/26