Skip to content

Tags: Kaggle/docker-python

Tags

v171-TPU-a48bbe96cba2f97dd67a329f596fe6a51095d5169b086af749a3ae938009a135

Toggle v171-TPU-a48bbe96cba2f97dd67a329f596fe6a51095d5169b086af749a3ae938009a135's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v171-GPU-22be155a37fc52bc8254ebfd0bb894643d00a1283e2446e212597ae12aec45f9

Toggle v171-GPU-22be155a37fc52bc8254ebfd0bb894643d00a1283e2446e212597ae12aec45f9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v171-CPU-9154f8c8231389edbf71b1a5af8cc3334283e5173827c1618bd90f802b1276a9

Toggle v171-CPU-9154f8c8231389edbf71b1a5af8cc3334283e5173827c1618bd90f802b1276a9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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

v170-TPU-313c26c91619aab5a4e322b41e70ce3a4728c21b6deeb962e41a4b4e10b1c35b

Toggle v170-TPU-313c26c91619aab5a4e322b41e70ce3a4728c21b6deeb962e41a4b4e10b1c35b's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: pin setuptools version to avoid compatibility issues (#1554)

v170-GPU-bdf9e0538555f90453619adefb49ba40cfa136db44a9c9be7a42ea715c0aa068

Toggle v170-GPU-bdf9e0538555f90453619adefb49ba40cfa136db44a9c9be7a42ea715c0aa068's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: pin setuptools version to avoid compatibility issues (#1554)

v170-CPU-c1fa4de30bc268e601e6dcddb6ceb2519b9adde3527dbbfb05e6bdfbbbdcd1a2

Toggle v170-CPU-c1fa4de30bc268e601e6dcddb6ceb2519b9adde3527dbbfb05e6bdfbbbdcd1a2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: pin setuptools version to avoid compatibility issues (#1554)

v169-TPU-ed1f3d9f1b4d07fa1da9f302e7c0b0ca4b216dd64c41c0483d36feeb47dfce14

Toggle v169-TPU-ed1f3d9f1b4d07fa1da9f302e7c0b0ca4b216dd64c41c0483d36feeb47dfce14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix kornia test failure (#1549)

kornia.utils.image_to_tensor is deprecated and not lazy loaded anymore.
Using the new location instead.

http://b/515825952

v169-GPU-bf37c2d79de27c6a73a965b8018fa11b8cd1bd18b31f33a7e6c899e9805662d2

Toggle v169-GPU-bf37c2d79de27c6a73a965b8018fa11b8cd1bd18b31f33a7e6c899e9805662d2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix kornia test failure (#1549)

kornia.utils.image_to_tensor is deprecated and not lazy loaded anymore.
Using the new location instead.

http://b/515825952

v169-CPU-2fa230a30ef533858d3c2a1a18d8b0709481c4cdce98ef73e884c03bb91d94eb

Toggle v169-CPU-2fa230a30ef533858d3c2a1a18d8b0709481c4cdce98ef73e884c03bb91d94eb's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix kornia test failure (#1549)

kornia.utils.image_to_tensor is deprecated and not lazy loaded anymore.
Using the new location instead.

http://b/515825952

v168-TPU-88af7217f3a13401dffc7ced335cd27c790ea6447801be11acabc8314a318108

Toggle v168-TPU-88af7217f3a13401dffc7ced335cd27c790ea6447801be11acabc8314a318108's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Set LD_LIBRARY_PATH and ldconfig (#1545)

Needed for PyTorch

b/485275559