Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Commit 03c4824

Browse files
committed
Switch CI to Python 3.5 and declare Python 3.5 support
1 parent e09281c commit 03c4824

File tree

6 files changed

+81
-80
lines changed

6 files changed

+81
-80
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ GluonNLP: Your Choice of Deep Learning for NLP
1515

1616
.. raw:: html
1717

18-
<a href='http://ci.mxnet.io/job/gluon-nlp/job/master/'><img src='https://img.shields.io/badge/python-3.6%2C3.7-blue.svg'></a>
18+
<a href='http://ci.mxnet.io/job/gluon-nlp/job/master/'><img src='https://img.shields.io/badge/python-3.5%2C3.7-blue.svg'></a>
1919
<a href='https://codecov.io/gh/dmlc/gluon-nlp'><img src='https://codecov.io/gh/dmlc/gluon-nlp/branch/master/graph/badge.svg'></a>
2020
<a href='http://ci.mxnet.io/job/gluonnlp-py3-master-gpu-doc/job/master/'><img src='http://ci.mxnet.io/buildStatus/icon?job=gluonnlp-py3-master-gpu-doc%2Fmaster'></a>
2121
<a href='https://pypi.org/project/gluonnlp/#history'><img src='https://img.shields.io/pypi/v/gluonnlp.svg'></a>
@@ -43,8 +43,8 @@ News
4343
Installation
4444
============
4545

46-
Make sure you have Python 3.6 or newer and a recent version of MXNet (our CI
47-
server runs the testsuite with Python 3.6).
46+
Make sure you have Python 3.5 or newer and a recent version of MXNet (our CI
47+
server runs the testsuite with Python 3.5).
4848

4949
You can install ``MXNet`` and ``GluonNLP`` using pip.
5050

docs/install/install-include.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Select your preferences and run the install command.
4747
.. admonition:: Prerequisites:
4848

4949
- Requires `pip >= 9. <https://pip.pypa.io/en/stable/installing/>`_.
50-
Python 3.6+ are supported.
50+
Python 3.5+ are supported.
5151

5252
.. container:: nightly
5353

env/cpu/py3-master.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
channels:
22
- conda-forge
33
dependencies:
4-
- python=3.6
5-
- pip=18.1
6-
- cython
4+
- python=3.5
5+
- pip
76
- perl
8-
- pylint=2.3.1
9-
- flake8
10-
- sphinx=2.1.2
11-
- spacy>2
12-
- nltk
13-
- pytest=4.5.0
14-
- pytest-env
15-
- flaky=3.5.3
16-
- pytest-cov=2.7.1
17-
- mock<3
18-
- pytest-xdist<2
19-
- regex
20-
- scipy=1.3.1
217
- pip:
8+
- cython
9+
- pytest==5.2.3
10+
- pytest-env==0.6.2
11+
- pytest-cov==2.8.1
12+
- pytest-xdist==1.30.0
13+
- pylint==2.4.4
2214
- pylint-quotes==0.2.1
15+
- flaky==3.6.1
16+
- flake8==3.7.9
17+
- mock<3
18+
- sphinx==2.2.1
2319
- mxnet>=1.6.0b20191103
24-
- sacremoses
25-
- sentencepiece<0.2
20+
- scipy==1.3.2
21+
- regex==2019.11.1
22+
- nltk==3.4.5
23+
- sacremoses==0.0.35
24+
- spacy==2.2.2
25+
- sentencepiece==0.1.83
2626
- sphinx-autodoc-typehints==1.7.0

env/docker/py3.yml

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,40 @@
11
channels:
22
- conda-forge
33
dependencies:
4-
- python=3.6
5-
- pip=18.1
6-
- cython
4+
- python=3.5
5+
- pip
76
- perl
8-
- pylint=1.9.2
9-
- flake8
10-
- sphinx=2.1.2
11-
- spacy>2
12-
- nltk
13-
- pytest=4.5.0
14-
- pytest-env
15-
- flaky=3.5.3
16-
- pytest-cov=2.7.1
17-
- mock<3
18-
- pytest-xdist<2
19-
- recommonmark
207
- pandoc=1.19.2
21-
- notedown
22-
- numba>=v0.40.0
23-
- sphinx-gallery
24-
- nbsphinx>=0.3.4,<0.4
25-
- nbconvert=5.4.0
268
- tornado=5.1.1
27-
- ipython
28-
- ipykernel
29-
- regex
30-
- scipy=1.3.1
31-
- scikit-learn=0.21.3
329
- pip:
33-
- pylint-quotes<0.2
34-
- mxnet-cu100>=1.6.0b20191027
35-
- sacremoses
36-
- sentencepiece<0.2
10+
- notedown==1.5.1
11+
- sphinx-gallery==0.4.0
12+
- recommonmark==0.6.0
13+
- nbconvert==5.6.1
14+
- nbsphinx>=0.3.4,<0.4
15+
- ipython
16+
- ipykernel
17+
- numba==0.46
3718
- https://github.com/szha/mx-theme/tarball/master
3819
- seaborn
3920
- jieba
21+
- scikit-learn==0.21.3
22+
- cython
23+
- pytest==5.2.3
24+
- pytest-env==0.6.2
25+
- pytest-cov==2.8.1
26+
- pytest-xdist==1.30.0
27+
- pylint==2.4.4
28+
- pylint-quotes==0.2.1
29+
- flaky==3.6.1
30+
- flake8==3.7.9
31+
- mock<3
32+
- sphinx==2.2.1
33+
- mxnet-cu100>=1.6.0b20191027,!=1.6.0b20191102
34+
- scipy==1.3.2
35+
- regex==2019.11.1
36+
- nltk==3.4.5
37+
- sacremoses==0.0.35
38+
- spacy==2.2.2
39+
- sentencepiece==0.1.83
40+
- sphinx-autodoc-typehints==1.7.0

env/gpu/py3-master.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
channels:
22
- conda-forge
33
dependencies:
4-
- python=3.6
5-
- pip=18.1
6-
- cython
4+
- python=3.5
5+
- pip
76
- perl
8-
- pylint=2.3.1
9-
- flake8
10-
- sphinx=2.1.2
11-
- spacy>2
12-
- nltk
13-
- pytest=4.5.0
14-
- pytest-env
15-
- flaky=3.5.3
16-
- pytest-cov=2.7.1
17-
- mock<3
18-
- pytest-xdist<2
19-
- recommonmark
207
- pandoc=1.19.2
21-
- notedown
22-
- numba>=v0.40.0
23-
- sphinx-gallery
24-
- nbsphinx>=0.3.4,<0.4
25-
- nbconvert=5.4.0
268
- tornado=5.1.1
27-
- ipython
28-
- ipykernel
29-
- regex
30-
- scipy=1.3.1
319
- pip:
32-
- pylint-quotes<0.2
33-
- mxnet-cu100>=1.6.0b20191027,!=1.6.0b20191102
34-
- sacremoses
35-
- sentencepiece<0.2
10+
- notedown==1.5.1
11+
- sphinx-gallery==0.4.0
12+
- recommonmark==0.6.0
13+
- nbconvert==5.6.1
14+
- nbsphinx>=0.3.4,<0.4
15+
- ipython
16+
- ipykernel
17+
- numba==0.46
3618
- https://github.com/szha/mx-theme/tarball/master
3719
- seaborn
3820
- jieba
21+
- cython
22+
- pytest==5.2.3
23+
- pytest-env==0.6.2
24+
- pytest-cov==2.8.1
25+
- pytest-xdist==1.30.0
26+
- pylint==2.4.4
27+
- pylint-quotes==0.2.1
28+
- flaky==3.6.1
29+
- flake8==3.7.9
30+
- mock<3
31+
- sphinx==2.2.1
32+
- mxnet-cu100>=1.6.0b20191027,!=1.6.0b20191102
33+
- scipy==1.3.2
34+
- regex==2019.11.1
35+
- nltk==3.4.5
36+
- sacremoses==0.0.35
37+
- spacy==2.2.2
38+
- sentencepiece==0.1.83
3939
- sphinx-autodoc-typehints==1.7.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def find_version(*file_paths):
3737
# Metadata
3838
name='gluonnlp',
3939
version=VERSION,
40-
python_requires='>=3.6',
40+
python_requires='>=3.5',
4141
author='Gluon NLP Toolkit Contributors',
4242
author_email='[email protected]',
4343
url='https://github.com/dmlc/gluon-nlp',

0 commit comments

Comments
 (0)