utils/scanpypi: increase error message verbosity
PATCH 1/1 utils/scanpypi: increase error message verbosity
When package installation fails it is good to know what happened.
--- utils/scanpypi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
utils/scanpypi +3 -3
@@ -608,9 +608,9 @@ def main(): else: raise continue - except AttributeError: - print('Error: Could not install package {pkg}'.format( - pkg=package.real_name)) + except AttributeError as error: + print('Error: Could not install package {pkg}: {error}'.format( + pkg=package.real_name, error=error)) continue # Package requirement are an argument of the setup function
Signature · 1 line
2.13.6
PATCH 1/1 utils/scanpypi: increase error message verbosity
Hi Alexey,
Quoted 3 lines · Alexey Roslyakov
When package installation fails it is good to know what happened.
Signed-off-by Alexey Roslyakov <[email protected]>
Nice catch.
Yegor
Quoted 24 lines
--- utils/scanpypi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)utils/scanpypi +3
-4@@ -608,9 +608,9 @@ def main(): else: raise continue - except AttributeError: - print('Error: Could not install package {pkg}'.format( - pkg=package.real_name)) + except AttributeError as error: + print('Error: Could not install package {pkg}: {error}'.format( + pkg=package.real_name, error=error)) continue # Package requirement are an argument of the setup function --2.13.6
Thomas Petazzoni
AppliedPATCH 1/1 utils/scanpypi: increase error message verbosity
In reply to Alexey RoslyakovHello,
Quoted 6 lines · Alexey Roslyakov
When package installation fails it is good to know what happened.
Signed-off-by Alexey Roslyakov <[email protected]>--- utils/scanpypi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 utils/scanpypi: increase error message verbosity
Quoted 11 lines · Thomas Petazzoni
Hello,
Quoted 6 lines · Alexey Roslyakov
When package installation fails it is good to know what happened.
Signed-off-by Alexey Roslyakov <[email protected]>--- utils/scanpypi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Applied to master, thanks.
@Alexey do you have more scanpypi patches in the queue? I've reworked the license type detection [1]. I'd also like to add licence file checksum to the *.hash file creation.
[1] http://patchwork.ozlabs.org/patch/837807/
Yegor
PATCH 1/1 utils/scanpypi: increase error message verbosity
Yegor,
no, I don't have anything at the moment.
All best.
Quoted 22 lines · Yegor Yefremov
Quoted 11 lines · Thomas Petazzoni
Hello,
Quoted 6 lines · Alexey Roslyakov
When package installation fails it is good to know what happened.
Signed-off-by Alexey Roslyakov <[email protected]>--- utils/scanpypi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)Applied to master, thanks.
@Alexey do you have more scanpypi patches in the queue? I've reworked the license type detection [1]. I'd also like to add licence file checksum to the *.hash file creation.
[1] http://patchwork.ozlabs.org/patch/837807/
Yegor
Signature · 6 lines
With best regards, Alexey Roslyakov Email: alexey.roslyakov at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171219/6bb1d959/attachment.html>