summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2020-03-11 21:20:58 +0200
committerzsdc <taras@vyos.io>2020-03-11 21:22:23 +0200
commitc6627bc05a57645e6af8b9a5a67e452d9f37e487 (patch)
treeb754b3991e5e57a9ae9155819f73fa0cbd4be269 /tox.ini
parentca9a4eb26b41c204d1bd3a15586b14a5dde950bb (diff)
parent13e82554728b1cb524438163784e5b955c7c5ed0 (diff)
downloadvyos-cloud-init-c6627bc05a57645e6af8b9a5a67e452d9f37e487.tar.gz
vyos-cloud-init-c6627bc05a57645e6af8b9a5a67e452d9f37e487.zip
Cloud-init: T2117: Updated to 20.1
- Merge 20.1 version from the Canonical repository - Removed unneeded changes in datasources (now only OVF datasource is not equal to upstream's version) - Adapted cc_vyos module to new Cloud-init version - Changed Jenkinsfile to use build scripts, provided by upstream
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini32
1 files changed, 19 insertions, 13 deletions
diff --git a/tox.ini b/tox.ini
index 2fb3209d..8612f034 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,13 @@
[tox]
-envlist = py27, py3, xenial, pycodestyle, pyflakes, pylint
+envlist = py3, xenial, pycodestyle, pyflakes, pylint
recreate = True
[testenv]
commands = python -m nose {posargs:tests/unittests cloudinit}
setenv =
LC_ALL = en_US.utf-8
+passenv=
+ NOSE_VERBOSE
[testenv:pycodestyle]
basepython = python3
@@ -21,9 +23,10 @@ setenv =
basepython = python3
deps =
# requirements
- pylint==1.8.1
+ pylint==2.3.1
# test-requirements because unit tests are now present in cloudinit tree
-r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/integration-requirements.txt
commands = {envpython} -m pylint {posargs:cloudinit tests tools}
[testenv:py3]
@@ -53,8 +56,11 @@ exclude = .venv,.tox,dist,doc,*egg,.git,build,tools
[testenv:doc]
basepython = python3
-deps = sphinx
-commands = {envpython} -m sphinx {posargs:doc/rtd doc/rtd_html}
+deps =
+ -r{toxinidir}/doc-requirements.txt
+commands =
+ {envpython} -m sphinx {posargs:doc/rtd doc/rtd_html}
+ doc8 doc/rtd
[testenv:xenial]
commands =
@@ -75,7 +81,7 @@ deps =
jsonpatch==1.16
six==1.10.0
# test-requirements
- httpretty==0.8.6
+ httpretty==0.9.6
mock==1.3.0
nose==1.3.7
unittest2==1.1.0
@@ -96,19 +102,18 @@ deps =
six==1.9.0
-r{toxinidir}/test-requirements.txt
-[testenv:opensusel42]
+[testenv:opensusel150]
basepython = python2.7
commands = nosetests {posargs:tests/unittests cloudinit}
deps =
# requirements
- argparse==1.3.0
- jinja2==2.8
- PyYAML==3.11
- oauthlib==0.7.2
+ jinja2==2.10
+ PyYAML==3.12
+ oauthlib==2.0.6
configobj==5.0.6
- requests==2.11.1
- jsonpatch==1.11
- six==1.9.0
+ requests==2.18.4
+ jsonpatch==1.16
+ six==1.11.0
-r{toxinidir}/test-requirements.txt
[testenv:tip-pycodestyle]
@@ -131,6 +136,7 @@ deps =
pylint
# test-requirements
-r{toxinidir}/test-requirements.txt
+ -r{toxinidir}/integration-requirements.txt
[testenv:citest]
basepython = python3