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 |
| '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.
this fixed in 1.7.0, is the problem still appears in 1.7.0?
There was a problem hiding this comment.
No, it is working fine for 1.7.0. Should I change it to 1.7.0?
There was a problem hiding this comment.
of course, this must be minimal supported version
|
@rsdel2007 I temporary disabled CI here, will re-run later (next several days), I need all CIs for pre-release checks, sorry. |
fasttextopen() 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.