aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJP Ungaretti <19893438+jungaretti@users.noreply.github.com>2022-09-20 23:47:46 +0300
committerGitHub <noreply@github.com>2022-09-20 23:47:46 +0300
commitceb4544cc38d4882a0294c79f4ef8123435cb027 (patch)
treeec13c3879003de706d1bb1a566d507bf2f3d9ea6
parentbae781225916c206f8d908b6dba1e3d4ca6d555e (diff)
Rename JupyterLab config file (#174)
* Rename JupyterLab config file * Bump version
-rw-r--r--src/python/devcontainer-feature.json2
-rwxr-xr-xsrc/python/install.sh2
-rw-r--r--test/python/install_jupyterlab.sh2
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