diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2019-06-05 20:25:53 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2019-06-06 12:30:45 +0200 |
commit | ce8595e8dd1631ac0e80045893018fcc9be39bcd (patch) | |
tree | 3b25c4cd6dc8103ea2216a4a95c6c691c9092f07 | |
parent | [Core] Copy lt alerts to avoid segfaults (diff) | |
download | deluge-ce8595e8dd1631ac0e80045893018fcc9be39bcd.tar.xz deluge-ce8595e8dd1631ac0e80045893018fcc9be39bcd.zip |
[Tests] Remove python2 from tox config
-rw-r--r-- | DEPENDS.md | 1 | ||||
-rw-r--r-- | requirements.txt | 1 | ||||
-rw-r--r-- | tox.ini | 18 |
3 files changed, 3 insertions, 17 deletions
diff --git a/DEPENDS.md b/DEPENDS.md index 057f14f8e..4895b0c1b 100644 --- a/DEPENDS.md +++ b/DEPENDS.md @@ -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) diff --git a/requirements.txt b/requirements.txt index aa52595f3..89ca5b167 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 @@ -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 = |