anaconda / nb_conda_kernels

Package for managing conda environment-based kernels inside of Jupyter
BSD 3-Clause "New" or "Revised" License
601 stars 70 forks source link

Offer more option for displayed kernel name #192

Closed fcollonval closed 4 years ago

fcollonval commented 4 years ago

Problem

The naming options available does not allow to distinguish some kernels. In particular if you install ipykernel and xpython in the same conda environment, they will have identical Language and Environment name.

Proposed solution

This PR extends the field names available for name_format while ensuring backward compatibility and maintaining the default name.

name_format: String name format
Default: '{language} [conda env:{environment}]'
Available field names within the string:

fcollonval commented 4 years ago

@mcg1969 would you have time to review this?

Do you have time or can I help you cut a new release afterwards to publish #182 and #184?

mcg1969 commented 4 years ago

Thanks for pinging me directly, @fcollonval — I do see those notifications much more readily.

mcg1969 commented 4 years ago

It looks like our master build CI is failing because of this:

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/