Unverified Commit ceb4544c authored by JP Ungaretti's avatar JP Ungaretti Committed by GitHub

Rename JupyterLab config file (#174)

* Rename JupyterLab config file

* Bump version
parent bae78122
{ {
"id": "python", "id": "python",
"version": "1.0.6", "version": "1.0.7",
"name": "Python", "name": "Python",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/python", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/python",
"description": "Installs the provided version of Python, as well as PIPX, and other common Python utilities. JupyterLab is conditionally installed with the python feature. Note: May require source code compilation.", "description": "Installs the provided version of Python, as well as PIPX, and other common Python utilities. JupyterLab is conditionally installed with the python feature. Note: May require source code compilation.",
......
...@@ -320,7 +320,7 @@ install_user_package() { ...@@ -320,7 +320,7 @@ install_user_package() {
add_user_jupyter_config() { add_user_jupyter_config() {
CONFIG_DIR="/home/$USERNAME/.jupyter" CONFIG_DIR="/home/$USERNAME/.jupyter"
CONFIG_FILE="$CONFIG_DIR/jupyter_notebook_config.py" CONFIG_FILE="$CONFIG_DIR/jupyter_server_config.py"
# Make sure the config file exists or create it with proper permissions # Make sure the config file exists or create it with proper permissions
test -d "$CONFIG_DIR" || sudo_if mkdir "$CONFIG_DIR" test -d "$CONFIG_DIR" || sudo_if mkdir "$CONFIG_DIR"
......
...@@ -6,7 +6,7 @@ set -e ...@@ -6,7 +6,7 @@ set -e
source dev-container-features-test-lib source dev-container-features-test-lib
check "version" jupyter lab --version check "version" jupyter lab --version
check "config" grep ".*.allow_origin = '*'" /home/vscode/.jupyter/jupyter_notebook_config.py check "config" grep ".*.allow_origin = '*'" /home/vscode/.jupyter/jupyter_server_config.py
check "user" whoami | grep vscode check "user" whoami | grep vscode
check "zsh" zsh --version check "zsh" zsh --version
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment