-
Notifications
You must be signed in to change notification settings - Fork 66
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
[BUG] Windows users with Python 3.8+ cannot resolve editdistance==0.5.3 dependency #79
Comments
Hi @tpanza Thank you for reporting the bug as well as proposing a solution! If you want, you can update the version in the below files and raise a PR. I will merge and release the change. Line 34 in 750824d
contextualSpellCheck/requirements.txt Line 2 in 750824d
As there is no stable release for |
Hi Wanted to check if this error had been resolved as I was getting this exact error on Python 3.11.
|
Describe the bug
A Windows user running Python 3.8 or 3.9 cannot successfully run
pip install contextualSpellCheck
. (Unless Microsoft C++ Build Tools has been installed ahead of time.)To Reproduce
Expected behavior
Installation to succeed on Windows for Python 3.8 or 3.9, without having to install Microsoft C++ Build Tools.
Version (please complete the following information):
Additional information
The
setup.py
script forcontextualSpellCheck
has itseditdistance
dependency pinned to version 0.5.3. That release of editdistance only has prebuilt binary wheels for up to Python 3.7.A newer release of
editdistance
, 0.6.0, contains no code changes but includes binary wheels for more versions of Python (up to 3.9).So if the
editdistance
dependency version were simply relaxed to something like>= 0.5.3
or~= 0.5
, thenpip
would find the 0.6.0 release and use those pre-built binary wheels. Since there are no underlying code changes to that release ofeditdistance
, that would be a simple and low-risk change forcontextualSpellCheck
.The text was updated successfully, but these errors were encountered: