From e83078fe555ef52c99b57bb0712ea7d4abe7eca8 Mon Sep 17 00:00:00 2001 From: shuo-sl <97481652+shuo-sl@users.noreply.github.com> Date: Wed, 27 Sep 2023 19:01:44 -0700 Subject: [PATCH] Add missing dependency of tree_sitter_languages and update the CONTRIBUTING.md to install data_requirements (#7870) --- CONTRIBUTING.md | 1 + setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eb1adc58ed..2930468d58 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -317,6 +317,7 @@ For bigger changes, you'll want to create a unit test. Our tests are in the `tes We use `pytest` for unit testing. To run all unit tests, run the following in the root dir: ```bash +pip install -r data_requirements.txt pytest tests ``` diff --git a/setup.py b/setup.py index 55efe8c78c..2ae733c552 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,7 @@ install_requires = [ "beautifulsoup4", # hotfix for langchain 0.0.212 bug "nest_asyncio", "nltk", + "tree_sitter_languages", ] setup( -- GitLab