Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

fix nltk downloads in CI install (3rd try's a charm) #5189

Merged
merged 1 commit into from
May 7, 2021
Merged
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
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ install :
# See https://github.com/pypa/pip/issues/4537.
python setup.py install_egg_info
pip install --upgrade --upgrade-strategy eager -e . -r dev-requirements.txt
# Docs are not built on docker, and the runner is unable to find
# the nltk_data folder. Hence, we download the requirement.
python -c 'import nltk; nltk.download("wordnet")'
# These nltk packages are used by the 'checklist' module.
python -c 'import nltk; [nltk.download(p) for p in ("wordnet", "wordnet_ic", "sentiwordnet")]'
#
# Documention helpers.
#
Expand Down