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
Update/reinstall if module was installed or exists #5738
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5738 +/- ##
======================================
- Coverage 72% 72% -1%
======================================
Files 403 403
Lines 26865 26932 +67
Branches 3914 3926 +12
======================================
- Hits 19564 19488 -76
- Misses 5653 5804 +151
+ Partials 1648 1640 -8
|
@IanMatthewHuff thanks, i now know not to ignore the failures. |
980b128
to
a35bafa
Compare
return controller; | ||
} catch (ex) { | ||
// We know that this fails when we have xeus kernels installed (untill that's resolved thats one instance when we can have duplicates). | ||
sendTelemetryEvent( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you install the xeus kernel, then everythings falls over. You cannot run any notebook, because we end up with duplicate kernels in our code.
This ensures we never end up in a situtaion where we're completely broken because of one bad apple.
Have a separate issue for handling xeus python kernels.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch @DonJayamanne I should install that kernel as well just to have for testing.
For #4758
When re-installing for the second time ask user to re-install/update the package.
Requires a corresponding change in Python extension (that will be done seprately - separate repo, hence separate PR)
When ipykernel is detected (already found but we cannot import it), or if we have previously installed this, then the following error message is displayed;