Skip to content

Re-pin learntools related packages. #1448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ ENV PATH="~/.local/bin:${PATH}"
# b/183041606#comment5: the Kaggle data proxy doesn't support these APIs. If the library is missing, it falls back to using a regular BigQuery query to fetch data.
RUN uv pip uninstall --system google-cloud-bigquery-storage

# NOTE(herbison): uv fails to install this for some reason
RUN pip install git+https://github.com/Kaggle/learntools
# uv cannot install this in requirements.txt without --no-build-isolation
# to avoid affecting the larger build, we'll post-install it.
RUN uv pip install --no-build-isolation --system "git+https://github.com/Kaggle/learntools"

# We install an incompatible pair of libs (shapely<, libpysal==4.9.2) so we can't put this one in the requirements.txt
# b/328788268 We install an incompatible pair of libs (shapely<2, libpysal==4.9.2) so we can't put this one in the requirements.txt
RUN uv pip install --system "libpysal==4.9.2"

# Adding non-package dependencies:
Expand Down
19 changes: 15 additions & 4 deletions kaggle_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
altair>=5.4.0
# Please keep this in alphabetical order
Altair>=5.4.0
Babel
Boruta
Cartopy
Expand All @@ -10,7 +11,8 @@ Pympler
Rtree
shapely<2
SimpleITK
TPOT
# b/302136621: Fix eli5 import for learntools, newer version require scikit-learn > 1.3
TPOT==0.12.1
Theano
Wand
annoy
Expand Down Expand Up @@ -80,6 +82,8 @@ mamba
mlcrate
mne
mpld3
# b/274619697: learntools requires a specific nbconvert right now
nbconvert==6.4.5
nbdev
nilearn
olefile
Expand Down Expand Up @@ -115,13 +119,19 @@ qtconsole
ray
rgf-python
s3fs
scikit-learn-intelex
# b/302136621: Fix eli5 import for learntools
scikit-learn==1.2.2
# Scikit-learn accelerated library for x86
scikit-learn-intelex>=2023.0.1
scikit-multilearn
scikit-optimize
scikit-plot
scikit-surprise
# Also pinning seaborn for learntools
seaborn==0.12.2
git+https://github.com/facebookresearch/segment-anything.git
shap
# b/329869023 shap 0.45.0 breaks learntools
shap==0.44.1
squarify
tensorflow-cloud
tensorflow-io
Expand All @@ -134,6 +144,7 @@ tsfresh
vtk
wandb
wavio
# b/350573866: xgboost v2.1.0 breaks learntools
xgboost==2.0.3
xvfbwrapper
ydata-profiling
Loading