jupyter / jupyter/notebook

Best way to notify user about kernel.js change?

Open
#2,263 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

When an user has last installed the kernelspec ages ago, it will still work even if the kernel.js is outdated.

Is there an easy way to warn the user if the kernelspec directory is outdated?

Else I’d have to do something like

1. run `jupyter --data-dir`
2. find kernel.js in there and `stat` it
3. find out if the kernel package files are newer (in R: `find.package`, in python: `__file__`)
4. issue a warning if that’s the case

Contributor guide

Open the contributing guide

Research direction

Start by examining the proposed `jupyter --data-dir` lookup, the `kernel.js` location, and the package paths exposed by R’s `find.package` and Python’s `__file__`. Define how an outdated kernelspec should be detected and when the user warning should appear; the issue does not name an implementation file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.