diff --git a/CHANGELOG.md b/CHANGELOG.md index 270b8266e8..92ffd709f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,34 @@ Changes ## :warning: 3.8.x will be the last gensim version to support Py2.7. Starting with 4.0.0, gensim will only support Py3.5 and above +## 3.8.2, 2020-04-10 + +### :red_circle: Bug fixes + +* Pin `smart_open` version for compatibility with Py2.7 + +### :warning: Deprecations (will be removed in the next major release) + +* Remove + - `gensim.models.FastText.load_fasttext_format`: use load_facebook_vectors to load embeddings only (faster, less CPU/memory usage, does not support training continuation) and load_facebook_model to load full model (slower, more CPU/memory intensive, supports training continuation) + - `gensim.models.wrappers.fasttext` (obsoleted by the new native `gensim.models.fasttext` implementation) + - `gensim.examples` + - `gensim.nosy` + - `gensim.scripts.word2vec_standalone` + - `gensim.scripts.make_wiki_lemma` + - `gensim.scripts.make_wiki_online` + - `gensim.scripts.make_wiki_online_lemma` + - `gensim.scripts.make_wiki_online_nodebug` + - `gensim.scripts.make_wiki` (all of these obsoleted by the new native `gensim.scripts.segment_wiki` implementation) + - "deprecated" functions and attributes + +* Move + - `gensim.scripts.make_wikicorpus` ➡ `gensim.scripts.make_wiki.py` + - `gensim.summarization` ➡ `gensim.models.summarization` + - `gensim.topic_coherence` ➡ `gensim.models._coherence` + - `gensim.utils` ➡ `gensim.utils.utils` (old imports will continue to work) + - `gensim.parsing.*` ➡ `gensim.utils.text_utils` + ## 3.8.1, 2019-09-23 ### :red_circle: Bug fixes diff --git a/docs/src/conf.py b/docs/src/conf.py index c0c4cfba15..84ba6f7d1f 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -63,7 +63,7 @@ # The short X.Y version. version = '3.8' # The full version, including alpha/beta/rc tags. -release = '3.8.1' +release = '3.8.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 6e81748da0..971f17f883 100644 --- a/setup.py +++ b/setup.py @@ -349,9 +349,24 @@ def run(self): install_requires.append(CYTHON_STR) setup_requires.append(CYTHON_STR) +install_requires = [ + NUMPY_STR, + 'scipy >= 1.0.0', + 'six >= 1.5.0', +] + +# +# smart_open >= 1.11 is py3+ only. +# TODO: Remove the pin once we drop py2.7 from gensim too. +# +if PY2: + install_requires.append('smart_open >= 1.8.1, < 1.11') +else: + install_requires.append('smart_open >= 1.8.1') + setup( name='gensim', - version='3.8.1', + version='3.8.2', description='Python framework for fast Vector Space Modelling', long_description=LONG_DESCRIPTION,