breaking, maint: remove deprecated use of nteract-on-jupyter

This commit is contained in:
Erik Sundell
2023-04-04 21:44:22 +02:00
parent f55e4cf615
commit 9e1bc61519
7 changed files with 4 additions and 16 deletions

View File

@@ -150,7 +150,7 @@ documentation:
capitalized except when used in code / the commandline.
- **Python** -- when referring to the language, capitalize Python.
- **Notebook Interface** -- generic term for referring to JupyterLab,
nteract, classic notebook & other user interfaces for accessing
classic notebook & other user interfaces for accessing.
## Guidelines for markdown files

View File

@@ -16,7 +16,7 @@ TLJH sets up two python environments during installation.
primarily since conda does not support ARM CPUs and we'd like to support the
RaspberryPI someday. Admins generally do not install custom packages
in this environment.
2. **User Environment**. Jupyter Notebook, JupyterLab, nteract, kernels,
2. **User Environment**. Jupyter Notebook, JupyterLab, kernels,
and packages the users wanna use (such as numpy, scipy, etc) are installed
here. A [conda](https://conda.io) environment is used here, since
a lot of scientific packages are available from Conda. `pip` is still

View File

@@ -138,8 +138,8 @@ sudo tljh-config reload proxy
### User Environment
`user_environment.default_app` Set default application users are
launched into. Currently this can only be set to: `jupyterlab`
`user_environment.default_app` Set default application users are launched into.
Currently this can only be set to: `classic` and `jupyterlab`.
```bash
sudo tljh-config set user_environment.default_app jupyterlab

View File

@@ -14,7 +14,6 @@ def test_serverextensions():
extensions = [
"jupyterlab 3.",
"nbgitpuller 1.",
"nteract_on_jupyter 2.1.",
"jupyter_resource_usage",
]

View File

@@ -69,14 +69,6 @@ def test_app_jupyterlab():
assert c.Spawner.default_url == "/lab"
def test_app_nteract():
"""
Test setting nteract as default application
"""
c = apply_mock_config({"user_environment": {"default_app": "nteract"}})
assert c.Spawner.default_url == "/nteract"
def test_auth_default():
"""
Test default authentication settings with no overrides

View File

@@ -228,8 +228,6 @@ def update_user_environment(c, config):
# Set default application users are launched into
if user_env["default_app"] == "jupyterlab":
c.Spawner.default_url = "/lab"
elif user_env["default_app"] == "nteract":
c.Spawner.default_url = "/nteract"
def update_user_account_config(c, config):

View File

@@ -10,7 +10,6 @@ jupyterhub==3.*
notebook==6.*
# Install additional notebook frontends!
jupyterlab==3.*
nteract-on-jupyter==2.*
# nbgitpuller for easily pulling in Git repositories
nbgitpuller==1.*
# jupyter-resource-usage to show people how much RAM they are using