diff --git a/requirements.txt b/requirements.txt index 237c790b4..b6cc542a5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,7 @@ catalogue>=2.0.6,<2.1.0 typer>=0.3.0,<0.10.0 pathy>=0.10.0 smart-open>=5.2.1,<7.0.0 -weasel>=0.1.0,<0.3.0 +weasel>=0.1.0,<0.4.0 # Third party dependencies numpy>=1.15.0; python_version < "3.9" numpy>=1.19.0; python_version >= "3.9" diff --git a/setup.cfg b/setup.cfg index b01298a72..9a5388c80 100644 --- a/setup.cfg +++ b/setup.cfg @@ -56,7 +56,7 @@ install_requires = wasabi>=0.9.1,<1.2.0 srsly>=2.4.3,<3.0.0 catalogue>=2.0.6,<2.1.0 - weasel>=0.1.0,<0.3.0 + weasel>=0.1.0,<0.4.0 # Third-party dependencies typer>=0.3.0,<0.10.0 pathy>=0.10.0 diff --git a/spacy/tests/test_cli.py b/spacy/tests/test_cli.py index 9b4f6851e..c107992ed 100644 --- a/spacy/tests/test_cli.py +++ b/spacy/tests/test_cli.py @@ -1,18 +1,14 @@ import math import os -import time from collections import Counter from pathlib import Path from typing import Any, Dict, List, Tuple -import numpy import pytest import srsly from click import NoSuchOption from packaging.specifiers import SpecifierSet -from thinc.api import Config, ConfigValidationError -from weasel.cli.remote_storage import RemoteStorage -from weasel.cli.run import _check_requirements +from thinc.api import Config import spacy from spacy import about @@ -39,7 +35,7 @@ from spacy.cli.validate import get_model_pkgs from spacy.lang.en import English from spacy.lang.nl import Dutch from spacy.language import Language -from spacy.schemas import RecommendationSchema, validate +from spacy.schemas import RecommendationSchema from spacy.tokens import Doc, DocBin from spacy.tokens.span import Span from spacy.training import Example, docs_to_json, offsets_to_biluo_tags