-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Enable install under poetry #3386
Conversation
Implement numpy hack in setup.py to enable install under Poetry piskvorky#3363
__builtins__.__NUMPY_SETUP__ = False | ||
except: | ||
try: | ||
# For python 3 |
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.
Gensim does not support python 2 any more.
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.
This is a PR against 3.8.3 which does support Python 2. I am happy to remove Python 2 support from the PR if that is an issue. The problem this solves is, install with Poetry (Python 3) fails for the the same reason as reference in #3363
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.
Oh, why are you making a PR against 3.8.3? We don't support it anymore, and won't be making any 3.8.x releases, right @piskvorky?
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.
Yes, of course. I didn't even notice the 3.8.3 branch :D
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.
I know it's not supported. But the Poetry install suddenly stopped working - same as in the develop branch. And for those of us that are still using it. This small PR fixes the issue.
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.
I think the best we can do is fix this on develop so future versions won't be affected.
Releasing a bugfix for 3.8.3 requires effort, the volume of which isn't justified, IMHO.
Closing, will not fix. |
Implement numpy hack in setup.py to enable install under Poetry #3363
This is the same as #3363 but on the 3.8.3 branch