Repository navigation
Commit e096cbc
authored
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/4936000191 parent 1ed8d43 commit e096cbc
2 files changed
Lines changed: 27 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 29 | | |
37 | 30 | | |
38 | 31 | | |
39 | | - | |
| 32 | + | |
40 | 33 | | |
41 | 34 | | |
42 | 35 | | |
| |||
62 | 55 | | |
63 | 56 | | |
64 | 57 | | |
65 | | - | |
66 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| |||
91 | 87 | | |
92 | 88 | | |
93 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
| |||
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
135 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| |||
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| 148 | + | |
145 | 149 | | |
146 | 150 | | |
147 | 151 | | |
| |||
0 commit comments