You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the following error when deploying my app to heroku, but not when I develop locally:
File "/app/.heroku/python/lib/python3.9/site-packages/thefuzz/utils.py", line 38, in decorator
return func(*args, **kwargs)
File "/app/.heroku/python/lib/python3.9/site-packages/thefuzz/utils.py", line 29, in decorator
return func(*args, **kwargs)
File "/app/.heroku/python/lib/python3.9/site-packages/thefuzz/utils.py", line 47, in decorator
return func(*args, **kwargs)
File "/app/.heroku/python/lib/python3.9/site-packages/thefuzz/fuzz.py", line 47, in partial_ratio
blocks = m.get_matching_blocks()
File "/app/.heroku/python/lib/python3.9/site-packages/thefuzz/StringMatcher.py", line 58, in get_matching_blocks
self._matching_blocks = matching_blocks(self.get_opcodes(),
NameError: name 'matching_blocks' is not defined
Locally I'm using python 3.9.11, on heroku I have: python-3.9.15 as well as pip 22.3.1, setuptools 63.4.3 and wheel 0.37.1. Could this have something to do with 2to3 or modernize messing something up? I'm using thefuzz==0.19.0 and levenshtein==0.20.8. If I use fuzzywuzzy==0.18.0 and python-levenshtein==0.12.2 it works fine.
The text was updated successfully, but these errors were encountered:
This is likely caused by rapidfuzz/python-Levenshtein#1, which leads to a broken upgrade between the two versions of python-Levenshtein. You should be able to resolve this by reinstalling python-Levenshtein:
I'm getting the following error when deploying my app to heroku, but not when I develop locally:
Locally I'm using python 3.9.11, on heroku I have: python-3.9.15 as well as pip 22.3.1, setuptools 63.4.3 and wheel 0.37.1. Could this have something to do with 2to3 or modernize messing something up? I'm using thefuzz==0.19.0 and levenshtein==0.20.8. If I use fuzzywuzzy==0.18.0 and python-levenshtein==0.12.2 it works fine.
The text was updated successfully, but these errors were encountered: