jupyter / jupyter/notebook

nbextension install output should go to stdout

Open
#1,797 2 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

The refactor in 4.2 switched to using the logging module for nbextension install, but this goes to stderr by default. We shouldn't write anything to stderr when installing or uninstalling an extension without an error.

In general, I think using the application logger is probably not the right thing to do for most of the output in nbextension/serverextension actions, and we should be using print to stdout, stderr instead.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the nbextension install and uninstall actions, then compare how nbextension/serverextension actions use the application logger. Done means successful installation and uninstallation output goes to stdout, while stderr is reserved for errors; the broader output behavior should be resolved consistently across these actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.