From cc3bd05472588b64b50f2db321ebb541b145a36f Mon Sep 17 00:00:00 2001 From: Semyon Pupkov Date: Wed, 23 Dec 2020 09:12:22 +0500 Subject: [PATCH] Replace Unidecode package with text_unidecode package #1014 (#1060) Closes #1014 --- graphene_django/utils/str_converters.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,