-
Notifications
You must be signed in to change notification settings - Fork 297
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
Pip install DS packages if Python ext fails #8326
Conversation
| 'dismissed'; // User chose to dismiss the prompt. | ||
resourceType?: 'notebook' | 'interactive'; | ||
/** | ||
* Hash of the resource (notebook.uri or pythonfile.uri associated with this). | ||
* If we run the same notebook tomorrow, the hash will be the same. | ||
*/ | ||
resourceHash?: string; | ||
pythonEnvType?: EnvironmentType; |
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.
Better telemetry, to easily identify what environments don't work.
return false; | ||
} | ||
// Check if pip is installed. | ||
const isPipInstalled = await this.isInstalled(Product.pip, interpreter); |
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.
For now we're only going to install DS pacakges via Pip for Global python environments.
(based on the new telemetry if this works, we can extend this to others & look at whats going on in terminals for python extension)
c9dea22
to
2217c6d
Compare
Codecov Report
@@ Coverage Diff @@
## main #8326 +/- ##
======================================
- Coverage 72% 71% -1%
======================================
Files 373 374 +1
Lines 23323 23424 +101
Branches 3570 3584 +14
======================================
+ Hits 16844 16853 +9
- Misses 5029 5116 +87
- Partials 1450 1455 +5
|
For #8325