Skip to content

Upgrade colab base image to 20260917-060051 - #1562

Merged
tifftoff merged 2 commits into
mainfrom
upgrade-colab-20260917-060051
Sep 28, 2026
Merged

tifftoff merged 2 commits into
mainfrom
upgrade-colab-20260917-060051

Conversation

@tifftoff

@tifftoff tifftoff commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Base image

  • GPU and CPU images now use release-colab-external-images_20260917-060051_RC00 (previously 20260716-060051).
  • The new base image moves from Python 3.12 to Python 3.13.

Dockerfile.tmpl

  • Python paths: PACKAGE_PATH and the sitecustomize.py destination now point to python3.13 instead of python3.12.
  • Stopped installing the keras_internal.py patch: tensorflow_decision_forests is no longer in the base image, and its latest release (1.12.0) has no cp313 wheel, so the tensorflow_decision_forests/keras/ directory it patched doesn't exist.
  • vtk apt dependency: replaced libgl1-mesa-glx, which newer Ubuntu no longer provides, with libgl1 and libglx-mesa0.

kaggle_requirements.txt

Removed

  • tensorflow-io: the last release (0.37.1, July 2024) requires python<3.13, has no cp313 wheels, and the project is unmaintained.
  • The jupyter-lsp==1.5.1 pin (b/276358430): on 3.13 it keeps jupyterlab on 3.x, which pulls in jupyter-ydoc 0.2.5 and then y-py 0.6.2. y-py has no cp313 wheel and its sdist no longer builds. jupyterlab 4.x uses pycrdt instead, so jupyter-lsp is now unpinned.
  • The fastcore<2 pin and the python-fasthtml<0.14.6 pin that only existed because of it (b/545164527).

Added or changed

  • opencv-python<5, opencv-python-headless<5 and opencv-contrib-python<5: the base image mixes OpenCV versions (opencv-python/-headless at 5.0.0.93, opencv-contrib-python at 4.14.0.94). All three install into the same cv2/ package and overwrite each other, and OpenCV 5.0 drops long-standing APIs such as cv2.CascadeClassifier. Holding all three on 4.x keeps cv2 consistent and backward compatible.
  • flax is now flax>=0.12.
  • Added universal-pathlib because Pyxis (#1402, merged Sep 18) added universal-pathlib to kaggle-environments' pyproject.toml.

b/493600019

@tifftoff
tifftoff requested review from rosbo and removed request for rosbo September 28, 2026 16:02
@rosbo

rosbo commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

The build is failing. Can you re-request a review once the build issues have been fixed. Thank you

@tifftoff
tifftoff requested a review from rosbo September 28, 2026 20:03

@rosbo rosbo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread kaggle_requirements.txt
jedi
# jitler 0.11.1 breaks simulation image
jiter==0.10.0
# b/276358430: fix Jupyter lsp freezing up the jupyter server

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tifftoff
tifftoff merged commit e096cbc into main Sep 28, 2026
9 checks passed
@tifftoff
tifftoff deleted the upgrade-colab-20260917-060051 branch September 28, 2026 20:15
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

Successfully merging this pull request may close these issues.

2 participants