Skip to content

Commit 052818e

Browse files
authored
Fix broken ratio (see #20)
1 parent f8fa98e commit 052818e

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
### v0.18.1
4+
#### Fixed
5+
- Indel.normalized_similarity was broken in RapidFuzz v2.0.0 (see #20)
6+
37
### v0.18.0
48
#### Fixed
59
* Fixed memory leak in error path of setratio

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Max Bachmann'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '0.18.0'
25+
release = '0.18.1'
2626

2727
# -- General configuration ---------------------------------------------------
2828

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
setup(
77
name="Levenshtein",
8-
version="0.18.0",
8+
version="0.18.1",
99
url="https://github.com/maxbachmann/Levenshtein",
1010
author="Max Bachmann",
11-
install_requires=["rapidfuzz >= 2.0, < 3.0"],
11+
install_requires=["rapidfuzz >= 2.0.1, < 3.0.0"],
1212
author_email="contact@maxbachmann.de",
1313
description="Python extension for computing string edit distances and similarities.",
1414
long_description=readme,

src/Levenshtein/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
__author__ = "Max Bachmann"
1818
__license__ = "GPL"
19-
__version__ = "0.18.0"
19+
__version__ = "0.18.1"
2020

2121
from rapidfuzz.distance.Levenshtein import distance
2222
from rapidfuzz.distance.Indel import normalized_similarity as ratio

0 commit comments

Comments
 (0)