Skip to content

Commit

Permalink
upgrade to notebook 7
Browse files Browse the repository at this point in the history
drops classic notebook server, is not really compatible with jupyter-server 2

rename deprecated NotebookApp CLI args to ServerApp
  • Loading branch information
minrk committed Aug 8, 2024
1 parent 388c934 commit bb177b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions repo2docker/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,8 +662,8 @@ def start_container(self):
"notebook",
"--ip=0.0.0.0",
f"--port={container_port}",
f"--NotebookApp.custom_display_url=http://{host_name}:{host_port}",
"--NotebookApp.default_url=/lab",
f"--ServerApp.custom_display_url=http://{host_name}:{host_port}",
"--ServerApp.default_url=/lab",
]
else:
# run_cmd given by user, if port is also given then pass it on
Expand Down
2 changes: 1 addition & 1 deletion repo2docker/buildpacks/conda/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ dependencies:
- jupyter_server==2.* # https://github.com/jupyter-server/jupyter_server
- jupyterhub-singleuser==5.* # https://github.com/jupyterhub/jupyterhub
- jupyterlab==4.* # https://github.com/jupyterlab/jupyterlab
- notebook==6.* # https://github.com/jupyter/notebook
- notebook==7.* # https://github.com/jupyter/notebook

0 comments on commit bb177b5

Please sign in to comment.