diff --git a/graphene_django/utils/str_converters.py b/graphene_django/utils/str_converters.py index f41e87a..77a0f37 100644 --- a/graphene_django/utils/str_converters.py +++ b/graphene_django/utils/str_converters.py @@ -1,5 +1,5 @@ import re -from unidecode import unidecode +from text_unidecode import unidecode def to_const(string): diff --git a/setup.py b/setup.py index e33cfca..e6615b8 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ setup( "Django>=1.11", "singledispatch>=3.4.0.3", "promise>=2.1", - "unidecode>=1.1.1,<2", + "text-unidecode", ], setup_requires=["pytest-runner"], tests_require=tests_require,