Skip to content

Commit

Permalink
Drop python3.5 support and add python3.8
Browse files Browse the repository at this point in the history
Why:

Python 3.8 was released a few days ago.

For python 3.5, it lack of builtin ordered dictionary is growing
cumbersome and likely not worth the hassle.
  • Loading branch information
bouthilx committed Oct 17, 2019
1 parent 8d7e124 commit 02a818d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
after_success:
- tox -e final-coverage
- tox -e codecov
env: TOXENV=py35
python: 3.5
- <<: *test
env: TOXENV=py36
python: 3.6
- <<: *test
Expand All @@ -34,7 +31,12 @@ jobs:
- <<: *test
env: TOXENV=py37
python: 3.7
dist: xenial
dist: bionic
sudo: true
- <<: *test
env: TOXENV=py38
python: 3.8
dist: bionic
sudo: true
- <<: *test
env: TOXENV=demo-random
Expand Down
3 changes: 2 additions & 1 deletion conda/conda_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ conda update -q conda
conda info -a
conda install conda-build anaconda-client

conda build conda --python 3.5
conda build conda --python 3.6
conda build conda --python 3.6
conda build conda --python 3.7
conda build conda --python 3.8

if [[ -n "${TRAVIS_TAG}" ]]
then
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
] + [('Programming Language :: Python :: %s' % x)
for x in '3 3.5 3.6 3.7'.split()]
for x in '3 3.6 3.7 3.8'.split()]

if __name__ == '__main__':
setup(**setup_args)
2 changes: 1 addition & 1 deletion tests/functional/gradient_descent_algo/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
] + [('Programming Language :: Python :: %s' % x)
for x in '3 3.4 3.5 3.6'.split()]
for x in '3 3.6 3.7 3.8'.split()]

if __name__ == '__main__':
setup(**setup_args)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py35,py36,py37,flake8,pylint,doc8,packaging,docs
envlist = py36,py37,py38,flake8,pylint,doc8,packaging,docs
minversion = 2.7.0

## Configure test + coverage process
Expand Down

0 comments on commit 02a818d

Please sign in to comment.