Skip to content

Commit

Permalink
Bump minimum Python version to 3.6 (#2947)
Browse files Browse the repository at this point in the history
* remove claims of Python 3.5 support

brings `setup.py` up to sync with #2713 & #2715 changes

* remove py2.7 and py3.5 from web index page

* Update CHANGELOG.md

Co-authored-by: Radim Řehůřek <radimrehurek@seznam.cz>
Co-authored-by: Michael Penkov <m@penkov.dev>
  • Loading branch information
3 people authored Sep 17, 2020
1 parent cddf3c1 commit 08a61e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This release contains a major refactoring.
* Speed up random number generation in word2vec model (PR [#2864](https://github.com/RaRe-Technologies/gensim/pull/2864), __[@zygm0nt](https://github.com/zygm0nt)__)
* Fix deprecations in SoftCosineSimilarity (PR [#2940](https://github.com/RaRe-Technologies/gensim/pull/2940), __[@Witiko](https://github.com/Witiko)__)
* Remove Keras dependency (PR [#2937](https://github.com/RaRe-Technologies/gensim/pull/2937), __[@piskvorky](https://github.com/piskvorky)__)
* Bump minimum Python version to 3.6 (PR [#2947](https://github.com/RaRe-Technologies/gensim/pull/2947), __[@gojomo](https://github.com/gojomo)__)

### :books: Tutorial and doc improvements

Expand Down
4 changes: 2 additions & 2 deletions docs/src/_templates/indexcontent.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ <h2>Quick install</h2>
<div class="section" id="code-dependencies">
<h2>Code dependencies</h2>
<p>Gensim runs on Linux, Windows and Mac OS X, and should run on any other
platform that supports Python 2.7 or 3.5+ and NumPy. Gensim depends on the following software:</p>
platform that supports Python 3.6+ and NumPy. Gensim depends on the following software:</p>
<ul class="simple">
<li><a class="reference external" href="https://www.python.org">Python</a>, tested with versions 2.7, 3.5, 3.6 and 3.7.</li>
<li><a class="reference external" href="https://www.python.org">Python</a>, tested with versions 3.6, 3.7 and 3.8.</li>
<li><a class="reference external" href="https://www.numpy.org">NumPy</a> for number crunching.</li>
<li><a class="reference external" href="https://pypi.org/project/smart_open/">smart_open</a> for transparently opening files on remote storages or compressed files.</li>
</ul>
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def run(self):
For alternative modes of installation, see the `documentation <http://radimrehurek.com/gensim/install.html>`_.
Gensim is being `continuously tested <https://travis-ci.org/RaRe-Technologies/gensim>`_ under Python 3.5, 3.6, 3.7 and 3.8.
Gensim is being `continuously tested <https://travis-ci.org/RaRe-Technologies/gensim>`_ under Python 3.6, 3.7 and 3.8.
Support for Python 2.7 was dropped in gensim 4.0.0 – install gensim 3.8.3 if you must use Python 2.7.
Expand Down Expand Up @@ -375,7 +375,6 @@ def run(self):
'Environment :: Console',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
Expand All @@ -386,7 +385,7 @@ def run(self):
],

test_suite="gensim.test",
python_requires='>=3.5',
python_requires='>=3.6',
setup_requires=setup_requires,
install_requires=install_requires,
tests_require=linux_testenv,
Expand Down

0 comments on commit 08a61e5

Please sign in to comment.