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 env: TOXENV=mypy
install: pip install tox install: pip install tox
script: tox script: tox
- python: 2.7
env: TOXENV=py27
install: pip install tox
script: tox
- python: 3.4 - python: 3.4
env: TOXENV=py34 env: TOXENV=py34
install: pip install tox install: pip install tox

View File

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

11
tox.ini
View File

@ -1,6 +1,6 @@
[tox] [tox]
envlist= 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] [testenv]
deps= deps=
@ -27,13 +27,6 @@ commands=
coverage report --rcfile=./.coveragerc coverage report --rcfile=./.coveragerc
coveralls coveralls
[testenv:py27]
extras=
yaml
flask
commands=
unit2 discover -s tests/unit -p test_*_py2_py3.py
[testenv:py34] [testenv:py34]
extras= extras=
flask flask
@ -52,7 +45,7 @@ extras=
yaml yaml
flask flask
commands= commands=
unit2 discover -s tests/unit -p test_*_py2_py3.py unit2 discover -s tests/unit -p test_*_py3.py
[testenv:pylint] [testenv:pylint]
deps= deps=