Skip to content

Commit bda8a17

Browse files
authored
Pin nltk to 3.5 (#988)
`nltk` version 3.6 released earlier today includes a production dependency on pytest. They are working on a hotfix: nltk/nltk#2693. Pinning to 3.5 until the new version is out. http://b/184748065
1 parent 05cbde6 commit bda8a17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ RUN pip install /tmp/tfa_cpu/tensorflow*.whl && \
7777
RUN apt-get install -y libfreetype6-dev && \
7878
apt-get install -y libglib2.0-0 libxext6 libsm6 libxrender1 libfontconfig1 --fix-missing && \
7979
pip install gensim && \
80+
# b/184748065 remove pin to nltk once fix has been provided for the pytest production dependency.
81+
pip install nltk==3.5 && \
8082
pip install textblob && \
8183
pip install wordcloud && \
8284
pip install xgboost && \

0 commit comments

Comments
 (0)