Skip to content

ENH: Highlight some kernels in the UI while allowing access to more kernels #2514

@andreas-h

Description

@andreas-h

When on the Notebook interface I click on "New"; I see a dropdown-list
of all installed kernelspecs. Is there any way I can hide all
kernelspecs except for a list of "favorite" kernels? I'm thinking of
just seeing the 'favorite' kernels in the dropdown list, which should
also include a "More ..." entry, which again opens a sub-dropdown
listing all installed kernels.

The motivation is that I would like to provide to our cluster users
(we're using Jupyterhub) frequent updates on default Python
environments, which would make the list of all installed kernelspecs
long. However, users should be able to still use older kernelspecs if
they really want to.

@takluyver said the following about this:

You can whitelist some of the installed kernels by configuring
KernelSpecManager.whitelist , but this will completely disable any that
aren't on the whitelist. I don't think there's currently any way to
highlight certain kernels in the UI while still making others available.
There's no reason we couldn't add that, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions