Skip to content

Commit 346025e

Browse files
Merge pull request #166 from jrbourbeau/pin-jl-1
Pin JupyterLab to 1.x and add repo2docker CI build
2 parents 7aab495 + 3cc2b06 commit 346025e

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: repo2docker CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v2
11+
12+
- name: Set up Python 3.7
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: 3.7
16+
17+
- name: Install repo2docker
18+
run: |
19+
python -m pip install --upgrade pip
20+
python -m pip install jupyter-repo2docker
21+
22+
- name: Build dask-tutorial Docker image
23+
run: jupyter-repo2docker --no-run --debug .

binder/environment.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@ channels:
44
dependencies:
55
- python=3.7
66
- nodejs
7-
- jupyterlab>=1.0
7+
# TODO: Bump jupyterlab to 2.x once extensions have been made compatibility updates
8+
- jupyterlab=1.*
89
- numpy>=1.18.1
910
- h5py
1011
- scipy>=1.3.0
1112
- toolz
1213
- bokeh>=1.4.0
1314
- dask=2.11.0
14-
- dask-labextension>=1.0.3
15+
# TODO: Bump dask-labextension to >=2 once extensions have been made compatibility updates
16+
- dask-labextension=1.1.0
1517
- distributed=2.11.0
1618
- notebook
1719
- matplotlib

binder/postBuild

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
# Install the JupyterLab dask-labextension
4-
jupyter labextension install dask-labextension
4+
# TODO: Unpin dask-labextension version once extensions have been made compatibility updates
5+
jupyter labextension install [email protected]
56
jupyter labextension install @jupyter-widgets/jupyterlab-manager
67
jupyter labextension install @bokeh/jupyter_bokeh

0 commit comments

Comments
 (0)