Skip to content
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

Closed

Conversation

simonseed
Copy link

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

Implement numpy hack in setup.py to enable install under Poetry piskvorky#3363
__builtins__.__NUMPY_SETUP__ = False
except:
try:
# For python 3
Copy link
Owner

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.

Copy link
Author

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

Copy link
Collaborator

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?

Copy link
Owner

@piskvorky piskvorky Sep 6, 2022

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

Copy link
Author

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.

Copy link
Collaborator

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.

@mpenkov
Copy link
Collaborator

mpenkov commented Dec 14, 2022

Closing, will not fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants