Drop Python 2.7 support

This commit is contained in:
Roman Mogylatov 2020-09-24 21:11:52 -04:00
parent 7b2baeeb6f
commit 6b8efa0569
18 changed files with 3 additions and 13 deletions

View File

@ -26,10 +26,6 @@ jobs:
env: TOXENV=mypy
install: pip install tox
script: tox
- python: 2.7
env: TOXENV=py27
install: pip install tox
script: tox
- python: 3.4
env: TOXENV=py34
install: pip install tox

View File

@ -10,6 +10,7 @@ follows `Semantic versioning`_
4.0.0
-----
- Add ``wiring`` feature.
- Drop Python 2.7 support.
- Add ``sanic`` example.
- Update ``aiohttp`` example.
- Update ``flask`` example.

11
tox.ini
View File

@ -1,6 +1,6 @@
[tox]
envlist=
coveralls, pylint, flake8, pydocstyle, py27, py34, py35, py36, py37, py38, pypy, pypy3
coveralls, pylint, flake8, pydocstyle, py34, py35, py36, py37, py38, pypy, pypy3
[testenv]
deps=
@ -27,13 +27,6 @@ commands=
coverage report --rcfile=./.coveragerc
coveralls
[testenv:py27]
extras=
yaml
flask
commands=
unit2 discover -s tests/unit -p test_*_py2_py3.py
[testenv:py34]
extras=
flask
@ -52,7 +45,7 @@ extras=
yaml
flask
commands=
unit2 discover -s tests/unit -p test_*_py2_py3.py
unit2 discover -s tests/unit -p test_*_py3.py
[testenv:pylint]
deps=