-
Notifications
You must be signed in to change notification settings - Fork 13
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
Failed to install natto-py when setuptools 58.0 or later is used #119
Comments
Hello @yacchi, and thank you for bringing this to my attention. |
Strange, but this issue does not appear to be reproducible on Windows. However, it is easily apparent on Mac, and obviously on Linux as well. I think the best thing may be to finally drop support for Python2, so that we will not need the use_2to3 bit... |
How about not using "use_2to3" when setuptools is 58 or later? However, since Python2 is already EoL and this project is very stable, I prefer to drop support for Python2 because it's easier to understand. |
Please give me some time to remove the Python2 support bits, and then make a new release. Thank you for your patience! |
@yacchi. I apologize for making you wait, but I have finished making changes to remove support for Python 2. These changes will resolve the issue you reported with setuptools and the "use_2to3" feature. I will be releasing 1.0.0 later this evening. |
OK, the natto-py 1.0.0 release is now available. @yacchi, could you please try 1.0.0 and see if we have resolved the problem with setuptools and use_2to3? |
@buruzaemon |
When I try to install natto-py, I got an error message and it fails.
I found that support for "2to3" has been removed in setuptools v58.0.0, and this seems to be the cause of the failure.
https://setuptools.readthedocs.io/en/latest/history.html#v58-0-0
According to the setuptools changelog, there is a way to pinning the version of setuptools.
However, if there are libraries that depend on newer versions of setuptools in the future, it will not be possible to install them again.
Is there any way to support v58.0.0 or later?
I tried to install natto-py on the Python Official Docker image:
The text was updated successfully, but these errors were encountered: