-
-
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
Replace open()
by smart_open()
in gensim.models.fasttext._load_fasttext_format
#2335
Conversation
@rsdel2007 thank you, please
|
Okay I will do that. |
@menshikh-iv , there is already a test for the function |
@rsdel2007 okay, just link it here and fix requirements |
Here is the link for the test of |
@rsdel2007 update minimal version to version without a bug |
setup.py
Outdated
@@ -347,7 +347,7 @@ def finalize_options(self): | |||
'numpy >= 1.11.3', | |||
'scipy >= 0.18.1', | |||
'six >= 1.5.0', | |||
'smart_open >= 1.2.1', | |||
'smart_open >= 1.7.1', |
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 fixed in 1.7.0
, is the problem still appears in 1.7.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, it is working fine for 1.7.0
. Should I change it to 1.7.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.
of course, this must be minimal supported version
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.
Done. 👍
@rsdel2007 I temporary disabled CI here, will re-run later (next several days), I need all CIs for pre-release checks, sorry. |
fasttext
open()
by smart_open()
in gensim.models.fasttext._load_fasttext_format
Thank you @rsdel2007 🥇 |
Fixed a TODO in fasttext.py.
Since https://github.com/RaRe-Technologies/smart_open/issues/207 is fixed now, we can replace open by smart_open.