diff options
author | JP Ungaretti <19893438+jungaretti@users.noreply.github.com> | 2022-09-20 23:47:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-20 23:47:46 +0300 |
commit | ceb4544cc38d4882a0294c79f4ef8123435cb027 (patch) | |
tree | ec13c3879003de706d1bb1a566d507bf2f3d9ea6 | |
parent | bae781225916c206f8d908b6dba1e3d4ca6d555e (diff) |
Rename JupyterLab config file (#174)
* Rename JupyterLab config file
* Bump version
-rw-r--r-- | src/python/devcontainer-feature.json | 2 | ||||
-rwxr-xr-x | src/python/install.sh | 2 | ||||
-rw-r--r-- | test/python/install_jupyterlab.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/python/devcontainer-feature.json b/src/python/devcontainer-feature.json index 50a493f..6d28941 100644 --- a/src/python/devcontainer-feature.json +++ b/src/python/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "python", - "version": "1.0.6", + "version": "1.0.7", "name": "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.", diff --git a/src/python/install.sh b/src/python/install.sh index 08465dc..2a0dd55 100755 --- a/src/python/install.sh +++ b/src/python/install.sh @@ -320,7 +320,7 @@ install_user_package() { add_user_jupyter_config() { 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 test -d "$CONFIG_DIR" || sudo_if mkdir "$CONFIG_DIR" diff --git a/test/python/install_jupyterlab.sh b/test/python/install_jupyterlab.sh index 9c5e453..98b982d 100644 --- a/test/python/install_jupyterlab.sh +++ b/test/python/install_jupyterlab.sh @@ -6,7 +6,7 @@ set -e source dev-container-features-test-lib 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 "zsh" zsh --version |