Skip to content

Conversation

@greazer
Copy link
Member

@greazer greazer commented May 9, 2020

#11650 Streamline how we prompt to install ipykernel.

There are two options represented in this branch:

  1. Ask for Conda/Pip in the when we prompt that ipykernel needs to be installed.
  2. Just allow the user to decide whether ipykernel should be installed and automatically choose conda or pip.

The latest version of this PR represents the second option, which I think is the better choice. The first option is represented in the first commit of this branch.

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
  • Title summarizes what is changing.
  • [x] Has a news entry file (remember to thank yourself!).
  • Appropriate comments and documentation strings in the code.
  • Has sufficient logging.
  • Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated.
  • [x] Test plan is updated as appropriate.
  • [x] package-lock.json has been regenerated by running npm install (if dependencies have changed).
  • [x] The wiki is updated with any design decisions/details.

@greazer greazer added the no-changelog No news entry required label May 9, 2020
@codecov-io
Copy link

codecov-io commented May 9, 2020

Codecov Report

Merging #11717 into master will decrease coverage by 0.04%.
The diff coverage is 28.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11717      +/-   ##
==========================================
- Coverage   60.71%   60.67%   -0.05%     
==========================================
  Files         629      629              
  Lines       33999    34024      +25     
  Branches     4793     4799       +6     
==========================================
  Hits        20643    20643              
- Misses      12350    12372      +22     
- Partials     1006     1009       +3     
Impacted Files Coverage Δ
...science/jupyter/kernels/kernelDependencyService.ts 89.28% <0.00%> (ø)
src/client/common/installer/productInstaller.ts 86.16% <26.31%> (-6.67%) ⬇️
src/client/common/utils/localize.ts 95.54% <100.00%> (+<0.01%) ⬆️
src/datascience-ui/react-common/arePathsSame.ts 75.00% <0.00%> (-12.50%) ⬇️
src/client/common/utils/platform.ts 64.70% <0.00%> (-11.77%) ⬇️
src/client/linters/pydocstyle.ts 86.66% <0.00%> (-2.23%) ⬇️
src/client/datascience/debugLocationTracker.ts 76.56% <0.00%> (-1.57%) ⬇️
src/client/common/process/proc.ts 14.49% <0.00%> (-0.73%) ⬇️
src/client/datascience/jupyter/jupyterImporter.ts 15.90% <0.00%> (-0.57%) ⬇️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84f9c7a...7659bc6. Read the comment docs.

Copy link

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link

@DonJayamanne DonJayamanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to display error to user if unable to install, else all is good.

Copy link

@DonJayamanne DonJayamanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IanMatthewHuff Thanks.

Copy link
Member

@IanMatthewHuff IanMatthewHuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved as long as we toss an error on the URI case being passed in.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@greazer greazer merged commit 8c4d432 into master May 11, 2020
@greazer greazer deleted the greazer/StreamlineDependencyInstall branch May 11, 2020 20:04
@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants