[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
129/142: build/python: Improve error output in sanity check.
From: |
guix-commits |
Subject: |
129/142: build/python: Improve error output in sanity check. |
Date: |
Mon, 10 Jan 2022 13:07:45 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit c3c943055d60ca4f926d0dac52b7b79b44f12c42
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Mon Dec 27 19:21:16 2021 +0100
build/python: Improve error output in sanity check.
Instead of printing the "str()" representation of the excaption, print the
"repr()" representation. This will print the name of the exception and thus
ease understanding the actual error.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/aux-files/python/sanity-check.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/aux-files/python/sanity-check.py
b/gnu/packages/aux-files/python/sanity-check.py
index a84f8f03c0..182133bb3d 100644
--- a/gnu/packages/aux-files/python/sanity-check.py
+++ b/gnu/packages/aux-files/python/sanity-check.py
@@ -44,7 +44,7 @@ for dist in ws:
pkg_resources.require(req)
print('OK')
except Exception as e:
- print('ERROR:', req, e)
+ print('ERROR:', req, repr(e))
ret = 1
continue
- 52/142: gnu: gtkmm: Add python to native inputs., (continued)
- 52/142: gnu: gtkmm: Add python to native inputs., guix-commits, 2022/01/10
- 63/142: gnu: python-astroid: Update to 2.9.0., guix-commits, 2022/01/10
- 64/142: gnu: Add python-tomli-w., guix-commits, 2022/01/10
- 74/142: gnu: python-fonttools: Update to 4.28.5., guix-commits, 2022/01/10
- 77/142: gnu: webkitgtk: Add a note about plugins in description., guix-commits, 2022/01/10
- 82/142: gnu: poetry: Update to 1.1.12., guix-commits, 2022/01/10
- 85/142: gnu: samtools: Update to 1.14., guix-commits, 2022/01/10
- 98/142: gnu: go-golang-org-x-crypto: Remove obsolete phase., guix-commits, 2022/01/10
- 105/142: gnu: lmms: Remove obsolete phase., guix-commits, 2022/01/10
- 110/142: gnu: pre-commit: Remove obsolete phase., guix-commits, 2022/01/10
- 129/142: build/python: Improve error output in sanity check.,
guix-commits <=
- 120/142: gnu: python-xlrd: Update to 2.0.1., guix-commits, 2022/01/10
- 124/142: gnu: file-roller: Add python to native inputs., guix-commits, 2022/01/10
- 135/142: gnu: rust-v-frame-0.2: Update to 0.2.5., guix-commits, 2022/01/10
- 134/142: gnu: Add rust-rustc-version-0.4., guix-commits, 2022/01/10
- 48/142: gnu: atkmm-2.28: Do not propagate two variants of glibmm., guix-commits, 2022/01/10
- 60/142: gnu: python-flit-core: Propagate python-tomli instead of python-toml., guix-commits, 2022/01/10
- 65/142: gnu: python-testpath: Update to 0.5.0 and enable tests., guix-commits, 2022/01/10
- 73/142: gnu: Add python-zopfli., guix-commits, 2022/01/10
- 47/142: gnu: atkmm: Add python to native inputs., guix-commits, 2022/01/10
- 50/142: gnu: gusb: Add python to native inputs., guix-commits, 2022/01/10