Skip to content

Commit 3a37a2d

Browse files
authored
Unpin gensim & scipy (#1528)
The latest version of `gensim` (4.4.0) now supports the latest version of scipy: * https://github.com/piskvorky/gensim/blob/4.4.0/setup.py#L331 (`scipy >= 1.7.0`) * https://github.com/piskvorky/gensim/blob/4.3.3/setup.py#L337 (`scipy >= 1.7.0, <1.14.0` http://b/335003097 http://b/415358158
1 parent 871d63b commit 3a37a2d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile.tmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ RUN uv pip install --no-build-isolation --system "git+https://github.com/Kaggle/
2727
RUN uv pip install --system "tbb>=2022" "libpysal==4.9.2"
2828

2929
# b/404590350: Ray and torchtune have conflicting tune cli, we will prioritize torchtune.
30-
# b/415358158: Gensim removed from Colab image to upgrade scipy
3130
# b/315753846: Unpin translate package, currently conflicts with adk 1.17.0
3231
# b/468379293: Unpin Pandas once cuml/cudf are compatible, version 3.0 causes issues
3332
# b/468383498: numpy will auto-upgrade to 2.4.x, which causes issues with numerous packages
3433
# b/468367647: Unpin protobuf, version greater than v5.29.5 causes issues with numerous packages
35-
RUN uv pip install --system --force-reinstall --no-deps torchtune gensim "scipy<=1.15.3" "google-cloud-translate==3.12.1" "numpy==2.0.2" "pandas==2.2.2"
34+
RUN uv pip install --system --force-reinstall --no-deps torchtune "google-cloud-translate==3.12.1" "numpy==2.0.2" "pandas==2.2.2"
3635
RUN uv pip install --system --force-reinstall "protobuf==5.29.5"
3736

3837
# Adding non-package dependencies:

0 commit comments

Comments
 (0)