Skip to content

Conversation

jungaretti
Copy link
Contributor

@jungaretti jungaretti commented Sep 29, 2022

Adds the jupyter.kernels.filter VS Code setting to the Universal image to filter unwanted Python kernels. This setting makes for a much cleaner VS Code experience when using the Jupyter extension.

This won't filter new Conda environments or Python installations that users add. It just hides the extra installations in the universal image that don't include our Jupyter and ML tooling.

Before:
Many Python installations in the kernel picker

Note that the Suggested kernel isn't our primary installation of Python and that there are several entries for our primary installation (because of our symlinks).

After:
Only our primary Python installation in the kernel picker

The only kernel that appears in the picker is our primary installation of Python. Its path matches the output of which python3.

@jungaretti jungaretti requested a review from a team as a code owner September 29, 2022 18:27
@jungaretti jungaretti changed the title Filter unwanted Jupyter kernels Filter unwanted Jupyter kernels in Universal image Sep 29, 2022
Copy link
Member

@samruddhikhandale samruddhikhandale left a comment

Choose a reason for hiding this comment

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

🚀 Looks great to me!

@jungaretti Could you help bump the patch version in https://github.com/devcontainers/images/blob/main/src/universal/manifest.json#L2 so that we are ready to publish the universal image with this change?

jungaretti and others added 3 commits September 29, 2022 13:26
Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants