Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade kubeflow container base image #2014

Open
EveningStarlight opened this issue Jan 9, 2025 · 1 comment
Open

Upgrade kubeflow container base image #2014

EveningStarlight opened this issue Jan 9, 2025 · 1 comment
Assignees

Comments

@EveningStarlight
Copy link

EveningStarlight commented Jan 9, 2025

current base image is quay.io/jupyter/datascience-notebook:2024-06-17

An attempt was made to upgrade to quay.io/jupyter/datascience-notebook:2025-01-06

This was originally done to attempt to fix #2013 by using mamba 2.0, found in the newer base image.

Looking at the jupyter docker docs, there was an upgrade of Ubuntu to 24.04
The build fails in a couple places.

@EveningStarlight EveningStarlight self-assigned this Jan 9, 2025
@EveningStarlight
Copy link
Author

clean-layer.sh breaks the apt-get install due to the removal of the sources list.
rm -rf /var/lib/apt/lists/* /etc/apt/sources.list.d/*
removing the second part will let the build continue.

it then breaks on the pinned version list

RUN pip3 --no-cache-dir install --quiet \
      'wheel==0.40.0' \
      'setuptools==67.6.0' \
      'pyjwt==2.6.0' \
      'oauthlib==3.2.2' \
      'mpmath==1.3.0' \
      'lxml==4.9.2' \
      'pyarrow==14.0.1' \
      'cryptography==41.0.6' \
      && fix-permissions $CONDA_DIR && \
      fix-permissions /home/$NB_USER

Removing the pins lets the build continue further.

The build then fails at

RUN pip install \
    'git+https://github.com/betatim/vscode-binder' && \
    # jupyter_contrib_nbextensions likes to be installed with pip
    mamba install --quiet --yes -c conda-forge \
    'jupyter_contrib_nbextensions' \ 
    'dash' \
    'plotly' \
    'ipywidgets' \
    'markupsafe' \
    'ipympl' \
    'pexpect==4.9.0' \
    'jupyter-server-proxy==4.2.0' \
    'jupyterlab-language-pack-fr-fr' \
    'jupyterlab_execute_time' \
    'nb_conda_kernels' \
    'jupyterlab-lsp' \
    'jupyter-lsp'  && \
    jupyter server extension enable --py jupyter_server_proxy && \
    jupyter nbextension enable codefolding/main --sys-prefix && \
    jupyter labextension enable \
      '@jupyterlab/translation-extension' \
      '@jupyterlab/server-proxy' \
      'nbdime-jupyterlab' \
    && \
    jupyter lab build && \
    jupyter lab clean && \
  clean-layer.sh && \
  rm -rf /home/$NB_USER/.cache/yarn && \
  rm -rf /home/$NB_USER/.node-gyp && \
  fix-permissions $CONDA_DIR && \
  fix-permissions /home/$NB_USER

The pins were removed and it was retested, but the failure remained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant