Skip to content

Commit 8a95ad1

Browse files
authored
Unpin nltk (#1530)
Also removed `preprocessing` python package because it pins `nltk`: https://github.com/SpotlightData/preprocessing/blob/180c6472bc2642afbd7a1ece08d0b0d14968a708/requirements.txt#L1 The `preprocessing` package is unmaintained, last release was in 2017. http://b/408298750
1 parent 61b2227 commit 8a95ad1

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

Dockerfile.tmpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ ADD patches/keras_internal.py \
7070
RUN apt-get install -y libfreetype6-dev && \
7171
apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing
7272

73-
# NLTK Project datasets
74-
# b/408298750: We currently reinstall the package, because we get the following error:
75-
# `AttributeError: module 'inspect' has no attribute 'formatargspec'. Did you mean: 'formatargvalues'?`
76-
RUN uv pip install --system --force-reinstall "nltk>=3.9.1"
7773
RUN mkdir -p /usr/share/nltk_data && \
7874
# NLTK Downloader no longer continues smoothly after an error, so we explicitly list
7975
# the corpuses that work

kaggle_requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ path
8989
path.py
9090
pdf2image
9191
plotly-express
92-
preprocessing
9392
pudb
9493
pyLDAvis
9594
pycryptodome

0 commit comments

Comments
 (0)