summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--slugify/__version__.py2
-rw-r--r--slugify/slugify.py4
3 files changed, 6 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 49f88dd..12d0ff1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 6.1.1
+
+- Remove type hinting (temporarily)
+
## 6.1.0
- Add `allow_unicode` flag to allow unicode characters in the slug
diff --git a/slugify/__version__.py b/slugify/__version__.py
index e14e887..f971770 100644
--- a/slugify/__version__.py
+++ b/slugify/__version__.py
@@ -5,4 +5,4 @@ __description__ = 'A Python slugify application that also handles Unicode'
__url__ = 'https://github.com/un33k/python-slugify'
__license__ = 'MIT'
__copyright__ = 'Copyright 2022 Val Neekman @ Neekware Inc.'
-__version__ = '6.1.0'
+__version__ = '6.1.1'
diff --git a/slugify/slugify.py b/slugify/slugify.py
index ae6c9b6..b8c02ad 100644
--- a/slugify/slugify.py
+++ b/slugify/slugify.py
@@ -1,6 +1,5 @@
import re
import sys
-import typing
import unicodedata
from html.entities import name2codepoint
@@ -67,8 +66,7 @@ def smart_truncate(string, max_length=0, word_boundary=False, separator=' ', sav
def slugify(text, entities=True, decimal=True, hexadecimal=True, max_length=0, word_boundary=False,
separator=DEFAULT_SEPARATOR, save_order=False, stopwords=(), regex_pattern=None, lowercase=True,
- replacements: typing.Iterable[typing.Iterable[str]] = (),
- allow_unicode=False):
+ replacements=(), allow_unicode=False):
"""
Make a slug from the given text.
:param text (str): initial text