Skip to content

Commit 7fabccb

Browse files
authored
Pin importlib-metadata (#991)
3.9.0 is causing a major performance degradation with spacy 2.3.5 Full context: https://b.corp.google.com/issues/184685619#comment9 BUG=http://b/184685619
1 parent 7ef3615 commit 7fabccb

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
@@ -352,6 +352,8 @@ RUN pip install bleach && \
352352
pip install feather-format && \
353353
pip install fastai && \
354354
pip install allennlp && \
355+
# https://b.corp.google.com/issues/184685619#comment9: 3.9.0 is causing a major performance degradation with spacy 2.3.5
356+
pip install importlib-metadata==3.4.0 && \
355357
python -m spacy download en && python -m spacy download en_core_web_lg && \
356358
apt-get install -y ffmpeg && \
357359
/tmp/clean-layer.sh

0 commit comments

Comments
 (0)