From 617977427897bd2c2bb1fce9ff190a3045169cf9 Mon Sep 17 00:00:00 2001 From: svlandeg Date: Sat, 20 Jun 2020 22:49:37 +0200 Subject: [PATCH] fix test_build_dependencies by ignoring new libs --- spacy/language.py | 2 +- spacy/tests/package/test_requirements.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/language.py b/spacy/language.py index 36ecad68b..94da63a1a 100644 --- a/spacy/language.py +++ b/spacy/language.py @@ -1166,7 +1166,7 @@ def _fix_pretrained_vectors_name(nlp): else: raise ValueError(Errors.E092) if nlp.vocab.vectors.size != 0: - link_vectors_to_models(nlp.vocab, skip_rank=True) + link_vectors_to_models(nlp.vocab) for name, proc in nlp.pipeline: if not hasattr(proc, "cfg"): continue diff --git a/spacy/tests/package/test_requirements.py b/spacy/tests/package/test_requirements.py index 0dc0f9d6c..a7c9a3ea4 100644 --- a/spacy/tests/package/test_requirements.py +++ b/spacy/tests/package/test_requirements.py @@ -10,7 +10,7 @@ def test_build_dependencies(): "mock", "flake8", ] - libs_ignore_setup = ["fugashi", "natto-py", "pythainlp"] + libs_ignore_setup = ["fugashi", "natto-py", "pythainlp", "sudachipy", "sudachidict_core"] # check requirements.txt req_dict = {}