Skip to content

Commit

Permalink
Merge pull request #68 from kbase/dev_enable_ipywidgets
Browse files Browse the repository at this point in the history
enable ipywidgets extension for interactive controls
  • Loading branch information
Tianhao-Gu authored Aug 20, 2024
2 parents a37ab46 + 215664c commit 6c4588c
Show file tree
Hide file tree
Showing 5 changed files with 258 additions and 195 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
graphviz \
graphviz-dev
- name: Install dependencies
# tried VaultVulp/action-pipenv but pytest wasn't on the path post action
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN groupadd -r spark && useradd -r -g spark spark_user

RUN apt-get update && apt-get install -y \
# GCC required to resolve error during JupyterLab installation: psutil could not be installed from sources because gcc is not installed.
gcc curl git \
gcc curl git graphviz graphviz-dev\
&& rm -rf /var/lib/apt/lists/*

ENV HADOOP_AWS_VER=3.3.4
Expand Down
9 changes: 6 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name = "pypi"

[packages]
jupyterlab= "==4.2.4"
pyspark= "==3.5.1"
boto3 = "==1.34.154"
minio = "==7.2.7"
pyspark= "==3.5.2"
boto3 = "==1.35.1"
minio = "==7.2.8"
delta-spark = "==3.2.0" # should match JAR version (DELTA_SPARK_VER) specified in the Dockerfile
pandas = "==2.2.2"
pyarrow = "==17.0.0"
Expand All @@ -19,6 +19,9 @@ jupyterlab-git = "==0.50.1"
jupyter-collaboration = "==2.1.2"
cdm-jupyterlab-brand-extension = {file = "https://github.com/kbaseincubator/cdm_jupyterlab_brand_extension/raw/main/dist/cdm_jupyterlab_brand_extension-0.1.0-py3-none-any.whl"}
plotly = "==5.23.0"
tqdm = "==4.66.5"
ipywidgets = "==8.1.3"
pygraphviz = "==1.13"

[dev-packages]
pytest = "==8.3.2"
Expand Down
Loading

0 comments on commit 6c4588c

Please sign in to comment.