-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print frendlier messages when auto-install fails and auto-install globally #2304
Conversation
b76a649
to
7dc684a
Compare
how was this tested? previously it would catch an exception, now just a return? |
The exception I was trying to catch would get caught(and backtraced) in the
I uninstalled all of my dependencies, and ran test.py. It told me to use sudo, so I did. It then worked and I had all of my dependencies. |
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 561 All builds and test passed! |
Should add these changes and revisit venv / local / global site-packages #2257 |
@theotherjimmy Is reload(site) needed here:
E.g. can we have it as part of Otherwise LGTM |
0d2c5e4
to
c75ff3a
Compare
@screamerbg I think the new implementation does exactly that: only runs |
/morph test |
c75ff3a
to
5ab99a7
Compare
An example.
|
5ab99a7
to
21eb64a
Compare
21eb64a
to
60f32c1
Compare
I think the prompting and verbiage is fine on this PR, I had trouble install the package |
Result: FAILUREYour command has finished executing! Here's what you wrote!
Outputmbed Build Number: 585 Test Prep failed! |
@theotherjimmy The prompt goofed up Travis :) We should either pipe |
handled by mbed CLI ARMmbed/mbed-cli#310 |
No description provided.