Skip to content

Commit 6148701

Browse files
committed
Test jupyterlab 3.0 build
1 parent 425ea4a commit 6148701

File tree

2 files changed

+26
-27
lines changed

2 files changed

+26
-27
lines changed

binder/postBuild

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,39 @@
88
99
python3 binder/postBuild
1010
"""
11-
import subprocess
12-
import sys
13-
from pathlib import Path
11+
# import subprocess
12+
# import sys
13+
# from pathlib import Path
1414

1515

16-
ROOT = Path.cwd()
16+
# ROOT = Path.cwd()
1717

18-
def _(*args, **kwargs):
19-
""" Run a command, echoing the args
18+
# def _(*args, **kwargs):
19+
# """ Run a command, echoing the args
2020

21-
fails hard if something goes wrong
22-
"""
23-
print("\n\t", " ".join(args), "\n")
24-
return_code = subprocess.call(args, **kwargs)
25-
if return_code != 0:
26-
print("\nERROR", return_code, " ".join(args))
27-
sys.exit(return_code)
21+
# fails hard if something goes wrong
22+
# """
23+
# print("\n\t", " ".join(args), "\n")
24+
# return_code = subprocess.call(args, **kwargs)
25+
# if return_code != 0:
26+
# print("\nERROR", return_code, " ".join(args))
27+
# sys.exit(return_code)
2828

29-
# verify the environment is self-consistent before even starting
30-
_(sys.executable, "-m", "pip", "check")
29+
# # verify the environment is self-consistent before even starting
30+
# _(sys.executable, "-m", "pip", "check")
3131

32-
# install the labextension
33-
_(sys.executable, "-m", "pip", "install", "-e", ".")
32+
# # install the labextension
33+
# _(sys.executable, "-m", "pip", "install", "-e", ".")
3434

35-
# verify the environment the extension didn't break anything
36-
_(sys.executable, "-m", "pip", "check")
35+
# # verify the environment the extension didn't break anything
36+
# _(sys.executable, "-m", "pip", "check")
3737

38-
# list the extensions
39-
_("jupyter", "server", "extension", "list")
38+
# # list the extensions
39+
# _("jupyter", "server", "extension", "list")
4040

41-
# initially list installed extensions to determine if there are any surprises
42-
_("jupyter", "labextension", "list")
41+
# # initially list installed extensions to determine if there are any surprises
42+
# _("jupyter", "labextension", "list")
4343

4444

45-
print("JupyterLab with code_snippet is ready to run with:\n")
46-
print("\tjupyter lab\n")
45+
# print("JupyterLab with code_snippet is ready to run with:\n")
46+
# print("\tjupyter lab\n")

binder/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
jupyterlab>=3.0
2-
jupyter-telemetry>=0.1.0
1+
jupyterlab>=3.0

0 commit comments

Comments
 (0)