Skip to content

Commit

Permalink
Also move qgrid to environment.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlovett committed Oct 8, 2023
1 parent ff2e3c3 commit 56db2e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions deployments/datahub/images/default/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ RUN mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml && \
RUN jupyter contrib nbextensions install --sys-prefix --symlink && \
jupyter nbextensions_configurator enable --sys-prefix

# Used by MCB32, but incompatible with ipywidgets 8.x
RUN jupyter nbextension enable --py --sys-prefix qgrid

# Set up nbpdf dependencies
ENV PYPPETEER_HOME ${CONDA_DIR}
RUN pyppeteer-install
Expand All @@ -158,10 +161,6 @@ RUN /usr/local/sbin/connector-text.bash
#COPY connectors/2021-fall-phys-188-288.bash /usr/local/sbin/
#RUN /usr/local/sbin/2021-fall-phys-188-288.bash

# Used by MCB32, but incompatible with ipywidgets 8.x
RUN pip install --no-cache qgrid==1.3.1
RUN jupyter nbextension enable --py --sys-prefix qgrid

# clear out /tmp
USER root
RUN rm -rf /tmp/*
Expand Down
3 changes: 3 additions & 0 deletions deployments/datahub/images/default/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ dependencies:

- gh-scoped-creds==4.1

# Used by MCB32, but incompatible with ipywidgets 8.x
- qgrid==1.3.1

- pip:
- -r /tmp/infra-requirements.txt
# Econ 148, Spring 2023 https://github.com/berkeley-dsep-infra/datahub/issues/4093
Expand Down

0 comments on commit 56db2e0

Please sign in to comment.