[Tests] Remove python2 from tox config

This commit is contained in:
Calum Lind 2019-06-05 19:25:53 +01:00
parent be74d96c6a
commit ce8595e8dd
3 changed files with 3 additions and 17 deletions

View File

@ -38,7 +38,6 @@ All modules will require the [common](#common) section dependencies.
- [pywin32]
- [certifi]
- [py2-ipaddress] - Optional: Add IPv6 lookup for Python 2.
## Core (deluged daemon)

View File

@ -8,7 +8,6 @@ chardet
six
setproctitle
pywin32; sys_platform == 'win32'
py2-ipaddress; sys_platform == 'win32' and python_version == '2'
certifi; sys_platform == 'win32'
zope.interface>=4.4.2
distro; 'win' not in sys_platform

18
tox.ini
View File

@ -119,7 +119,6 @@ deps = {[baselint]deps}
commands = flake8 --exit-zero --max-complexity 15 deluge
[testenv:pylint]
sitepackages = False
ignore_errors = True
deps = {[baselint]deps}
@ -157,33 +156,22 @@ commands =
sphinx-build -v -j auto -E -T -b html -d docs/build/doctrees docs/source docs/build/html
[testenv:docscoverage]
basepython = python2.7
sitepackages = False
skip_install = True
changedir = docs
deps =
{[basedocs]deps}
pytest-cov
whitelist_externals = mkdir
commands =
mkdir -p build/doccoverage
sphinx-build -W -b coverage -d build/doctrees source build/doccoverage
sphinx-build -W -b coverage -d docs/build/doctrees docs/source docs/build/doccoverage
pytest --doctest-glob='*.rst'
# ========================
# Development Environment
# ========================
[testenv:denv2]
basepython = python2.7
envdir = .venv2
usedevelop = True
deps = {[basedev]deps}
commands =
[testenv:denv3]
[testenv:denv]
basepython = python3
envdir = .venv3
envdir = .venv
usedevelop = True
deps = {[basedev]deps}
commands =