[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/166: gnu: python-prompt-toolkit: Update to 3.0.29.
From: |
guix-commits |
Subject: |
09/166: gnu: python-prompt-toolkit: Update to 3.0.29. |
Date: |
Tue, 19 Apr 2022 09:17:47 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 1ef1e8263dd15d3a30a0cfba30a55be3a556095d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 11 01:07:29 2022 -0400
gnu: python-prompt-toolkit: Update to 3.0.29.
* gnu/packages/python-xyz.scm (python-prompt-toolkit): Update to 3.0.29.
[phases]{post-install-check}: Move to...
{check}: ... this phase override instead, and streamline.
---
gnu/packages/python-xyz.scm | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f95d0fbcfc..8d46d992b0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17212,25 +17212,24 @@ collections of data.")
(define-public python-prompt-toolkit
(package
(name "python-prompt-toolkit")
- (version "3.0.18")
+ (version "3.0.29")
(source
(origin
(method url-fetch)
(uri (pypi-uri "prompt_toolkit" version))
(sha256
- (base32 "1g1kq1aimhm23k2dmlmnznfzc83l6ly65g0h32hqz8injcdz3d71"))))
+ (base32 "19vf5cahp3imdpwhgvk55g3dvqmc6ga175r4vkq79kffx1h0yr5x"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
- (delete 'check)
- (add-after 'install 'post-install-check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; HOME is needed for the test
- ;; "test_pathcompleter_can_expanduser".
- (setenv "HOME" "/tmp")
- (add-installed-pythonpath inputs outputs)
- (invoke "py.test"))))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; HOME is needed for the test
+ ;; "test_pathcompleter_can_expanduser".
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-vv")))))))
(propagated-inputs
(list python-wcwidth))
(native-inputs
- branch wip-ipython+polyglossia created (now 7c6022d91b), guix-commits, 2022/04/19
- 01/166: gnu: python-ipython: Re-order fields., guix-commits, 2022/04/19
- 05/166: gnu: Add python-littleutils., guix-commits, 2022/04/19
- 07/166: gnu: python-traitlets: Update to 5.1.1., guix-commits, 2022/04/19
- 02/166: gnu: python-astroid: Propagate python-typing-extensions., guix-commits, 2022/04/19
- 03/166: gnu: Add python-pure-eval., guix-commits, 2022/04/19
- 04/166: gnu: Add python-asttokens., guix-commits, 2022/04/19
- 06/166: gnu: Add python-stack-data., guix-commits, 2022/04/19
- 08/166: gnu: python-jinja2: Update to 3.1.1., guix-commits, 2022/04/19
- 09/166: gnu: python-prompt-toolkit: Update to 3.0.29.,
guix-commits <=
- 12/166: gnu: Add texlive-paralist., guix-commits, 2022/04/19
- 13/166: gnu: Add texlive-stix2-otf., guix-commits, 2022/04/19
- 14/166: gnu: Add texlive-metalogo., guix-commits, 2022/04/19
- 15/166: gnu: Add texlive-makecmds., guix-commits, 2022/04/19
- 16/166: gnu: Add texlive-csplain., guix-commits, 2022/04/19
- 10/166: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/04/19
- 20/166: gnu: Add opentype-sanitizer., guix-commits, 2022/04/19
- 21/166: gnu: Add python-opentype-sanitizer., guix-commits, 2022/04/19
- 23/166: gnu: Add python-fontmath., guix-commits, 2022/04/19
- 24/166: gnu: Add python-unicodedata2., guix-commits, 2022/04/19