Skip to content

Commit

Permalink
fix jaro_winkler
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann authored Apr 7, 2024
1 parent acc0077 commit 0c6d3dc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### v0.25.1
#### Fixed
- fix potentially incorrect results of `jaro_winkler` when using high prefix weights

### v0.25.0
#### Changed
- improve type hints
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

setup(
name="Levenshtein",
version="0.25.0",
version="0.25.1",
url="https://github.com/rapidfuzz/Levenshtein",
author="Max Bachmann",
install_requires=["rapidfuzz >= 3.1.0, < 4.0.0"],
install_requires=["rapidfuzz >= 3.8.0, < 4.0.0"],
author_email="pypi@maxbachmann.de",
description="Python extension for computing string edit distances and similarities.",
long_description=readme,
Expand Down
8 changes: 1 addition & 7 deletions src/Levenshtein/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@

__author__: str = "Max Bachmann"
__license__: str = "GPL"

import importlib.metadata
__version__: str = "0.25.1"

import rapidfuzz.distance.Hamming as _Hamming
import rapidfuzz.distance.Indel as _Indel
Expand All @@ -42,11 +41,6 @@
setratio,
)

try:
__version__: str = importlib.metadata.version(__package__ or __name__)
except importlib.metadata.PackageNotFoundError:
__version__: str = "0.0.0"

__all__ = [
"quickmedian",
"median",
Expand Down

0 comments on commit 0c6d3dc

Please sign in to comment.