Skip to content

Commit 2532595

Browse files
committed
Update Python deps to most recent for Python 3.8
1 parent 03573e1 commit 2532595

File tree

4 files changed

+12
-18
lines changed

4 files changed

+12
-18
lines changed

dev-requirements-jl4.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-r dev-requirements.txt
2-
jupyterlab==4.2.5
3-
jupyter_server==2.13.0
2+
jupyterlab==4.3.8
3+
jupyter_server==2.14.2

dev-requirements.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
build==1.1.1
1+
build==1.2.2.post1
22
jupyter_packaging==0.12.3
33
flaky==3.8.1
4-
nbclassic==1.0.0
5-
pre-commit==2.21.0
6-
pytest==7.4.4
7-
selenium==4.11.2
8-
traitlets==5.9.0
9-
wheel==0.42.0
4+
nbclassic==1.2.0
5+
pre-commit==3.5.0
6+
pytest==8.3.5
7+
selenium==4.27.1
8+
traitlets==5.14.3
9+
wheel==0.45.1
1010
# jupyterlab and jupyter_server are installed separately so we can test multiple versions

jupyter_offlinenotebook/__init__.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class OfflineNotebookConfig(Configurable):
102102
).tag(config=True)
103103

104104

105-
def _jupyter_server_extension_paths():
105+
def _jupyter_server_extension_points():
106106
"""
107107
Jupyter server extension
108108
"""
@@ -123,7 +123,7 @@ def _jupyter_nbextension_paths():
123123
]
124124

125125

126-
def load_jupyter_server_extension(nbapp):
126+
def _load_jupyter_server_extension(nbapp):
127127
"""
128128
Called during notebook start
129129
"""
@@ -134,9 +134,3 @@ def load_jupyter_server_extension(nbapp):
134134
nbapp.web_app.settings["base_url"], "/offlinenotebook/config"
135135
)
136136
nbapp.web_app.add_handlers(".*", [(route_pattern, OfflineNotebookHandler)])
137-
138-
139-
# Add compatibility with jupyter-server
140-
# https://jupyter-server.readthedocs.io/en/latest/developers/extensions.html#migrating-an-extension-to-use-jupyter-serverjupyter_server
141-
_load_jupyter_server_extension = load_jupyter_server_extension
142-
_jupyter_server_extension_points = _jupyter_server_extension_paths

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_version():
2929
jstargets = [
3030
# notebook
3131
os.path.join(HERE, name, "static", "jslib", "offlinenotebook.js"),
32-
# jupyterlab 3 bundled extension
32+
# jupyterlab 4 bundled extension
3333
os.path.join(HERE, name, "static", "lab", "package.json"),
3434
]
3535

0 commit comments

Comments
 (0)