diff --git a/requirements.txt b/requirements.txt index 521bf9cd0..e62fab004 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ srsly>=2.4.3,<3.0.0 catalogue>=2.0.6,<2.1.0 pathy>=0.10.0 smart-open>=5.2.1,<7.0.0 -radicli>=0.0.3,<1.0.0 +radicli>=0.0.9,<1.0.0 # Third party dependencies numpy>=1.15.0 requests>=2.13.0,<3.0.0 diff --git a/setup.cfg b/setup.cfg index fcb40ebe9..2f35adf55 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,7 +41,7 @@ install_requires = wasabi>=0.9.1,<1.2.0 srsly>=2.4.3,<3.0.0 catalogue>=2.0.6,<2.1.0 - radicli>=0.0.3,<1.0.0 + radicli>=0.0.9,<1.0.0 # Third-party dependencies pathy>=0.10.0 smart-open>=5.2.1,<7.0.0 diff --git a/spacy/tests/test_cli.py b/spacy/tests/test_cli.py index 7a45aa6e4..0d728a7e6 100644 --- a/spacy/tests/test_cli.py +++ b/spacy/tests/test_cli.py @@ -7,9 +7,9 @@ import time from pathlib import Path import pytest import srsly -from click import NoSuchOption from packaging.specifiers import SpecifierSet from thinc.api import Config, ConfigValidationError +from radicli import CliParserError import spacy from spacy import about @@ -520,7 +520,7 @@ def test_parse_config_overrides(args, expected): @pytest.mark.parametrize("args", [["--foo"], ["--x.foo", "bar", "--baz"]]) def test_parse_config_overrides_invalid(args): - with pytest.raises(NoSuchOption): + with pytest.raises(CliParserError): parse_config_overrides(args)