Tags: Kaggle/docker-python
Tags
Upgrade colab base image to 20260917-060051 (#1562) ### 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](Kaggle/kaggle-environments#1402), merged Sep 18) added `universal-pathlib` to kaggle-environments' [pyproject.toml](https://github.com/Kaggle/kaggle-environments/blob/d7729da06cc1382eb742d6980dc3180aa85caa28/pyproject.toml#L41). b/493600019
Upgrade colab base image to 20260917-060051 (#1562) ### 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](Kaggle/kaggle-environments#1402), merged Sep 18) added `universal-pathlib` to kaggle-environments' [pyproject.toml](https://github.com/Kaggle/kaggle-environments/blob/d7729da06cc1382eb742d6980dc3180aa85caa28/pyproject.toml#L41). b/493600019
Upgrade colab base image to 20260917-060051 (#1562) ### 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](Kaggle/kaggle-environments#1402), merged Sep 18) added `universal-pathlib` to kaggle-environments' [pyproject.toml](https://github.com/Kaggle/kaggle-environments/blob/d7729da06cc1382eb742d6980dc3180aa85caa28/pyproject.toml#L41). b/493600019
PreviousNext