-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update utils.py #1177
Update utils.py #1177
Conversation
v3.0.0 rapidfuzz removed the rapidfuzz.string_metric.levenshtein API. The replacement is rapidfuzz.distance.Levenshtein.
Use Levenshtein.distance API from rapidfuzz.distance to replace rapidfuzz.string_metric.levenshtein.
Update rapidfuzz dependency to be >=3.0.0 at which rapidfuzz.distance.Levenshtein.distance API was stablized.
Codecov Report
@@ Coverage Diff @@
## main #1177 +/- ##
=======================================
Coverage 94.99% 94.99%
=======================================
Files 150 150
Lines 6418 6418
=======================================
Hits 6097 6097
Misses 321 321
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @weiwangmeta 👍
Please correct me if I'm wrong, but it looks like the two failing checks do not seem related to this PR. |
Correct i will merge it in the next minutes :) |
…htein.distance API was stablized (mindee#1177)
…htein.distance API was stablized (#1177)
…htein.distance API was stablized (#1177)
…htein.distance API was stablized (#1177)
v3.0.0 rapidfuzz removed the rapidfuzz.string_metric.levenshtein API. The replacement is rapidfuzz.distance.Levenshtein.