-
-
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
Removed fuzzytm dependency. Fixes #3423. #3428
Conversation
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.
Thanks @ERijck . You're becoming a git pro :-)
Can you also answer #3424 (comment) please – what's the deal with the dependencies now? For example where does pyfume
come from? Is it clearly documented (in a tutorial / import error message / module docstring) how to obtain that dependency? Is there a specific version of pyfume
needed?
(there might be other dependencies; I only noticed pyfume
in my cursory look)
@@ -344,7 +344,7 @@ def run(self): | |||
NUMPY_STR, | |||
'scipy >= 1.7.0', | |||
'smart_open >= 1.8.1', | |||
'FuzzyTM >= 0.4.0' | |||
|
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.
No need for the blank line.
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.
Haha, thanks for your help and patience @piskvorky! I have replied to your comment in the original thread.
Forgive my ignorance, but wouldn't it be easiest to just add |
We definitely don't want an additional core dependency, just because of one new module. |
@ERijck can you finish this up? The current (latest) version of released Gensim is not good, I'd like to release the bugfix ASAP. Thanks! |
@piskvorky do you mean with 'this' that I add an ImportError if |
No, I meant my review of this PR (above). But the import stuff we discussed in #3424 (comment) is also relevant. |
In your review you mention dependencies. By adding an ImportError, I thought I covered that issue. Do you agree? |
What do you mean by "by adding an ImportError"? I don't see that in this PR. |
In this PR you mention adding an 'import error message'. That is what I meant. |
Right – but I do not see it added in this PR. To be clear, what I mean is: what happens when someone imports this module without having its necessary dependencies ( If it's just a question of But if the dependency/dependencies are not on PyPI, the instructions could be more involved. |
Fixes #3423. Supersedes #3424.