diff --git a/pyproject.toml b/pyproject.toml index 49f349f..f6c8fd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ scikit-learn = {version = "*", optional = true} fasttext-wheel = {version = "*", optional = true} optuna = {version = "*", optional = true} matplotlib = {version = "*", optional = true} -SoMaJo = {version = "*", optional = true} +SoMaJo = {version = ">=2.3.1", optional = true} torch = {version = "!=2.0.1", optional = true} # version 2.0.1 has poetry issues transformers = {version = "*", optional = true} tiktoken = {version = "*", optional = true} diff --git a/tests/test_somajo.py b/tests/test_somajo.py index 3c36b20..1250f27 100644 --- a/tests/test_somajo.py +++ b/tests/test_somajo.py @@ -176,7 +176,6 @@ def test_UrlSwapper__no_reverse_swap_urls(): # see https://github.com/telekom/mltb2/issues/94 -@pytest.mark.xfail def test_UrlSwapper__markdown_bug(): token_extractor = TokenExtractor("de_CMC") url_swapper = UrlSwapper(token_extractor)