Skip to content

Commit dcb3dc2

Browse files
committed
Dependency and tox.ini cleanup
Change-Id: If88fc483936bfb9a8d4e0b8900efde51ae79d748
1 parent 7ffa65e commit dcb3dc2

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# process, which may cause wedges in the gate later.
44

55
openstackdocstheme>=1.30.0 # Apache-2.0
6-
sphinx>=1.8.0,!=2.1.0 # BSD
6+
sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD
77
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
88
reno>=2.5.0 # Apache-2.0
99

test-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ hacking>=1.1.0,<1.2.0 # Apache-2.0
77
-e git://github.com/openstack/horizon.git#egg=horizon
88

99
coverage>=3.6
10-
discover
1110
python-subunit>=0.0.18
1211
oslotest>=1.10.0 # Apache-2.0
1312
stestr>=2.0.0 # Apache-2.0

tox.ini

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ envlist = py36,py37,py3-{dj111,dj22},pypy,pep8
44
skipsdist = True
55

66
[testenv]
7+
basepython = python3
78
usedevelop = True
89
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -U {opts} {packages}
910
setenv =
@@ -16,15 +17,12 @@ commands =
1617
stestr run --slowest {posargs}
1718

1819
[testenv:pep8]
19-
basepython = python3
2020
commands = flake8
2121

2222
[testenv:venv]
23-
basepython = python3
2423
commands = {posargs}
2524

2625
[testenv:cover]
27-
basepython = python3
2826
setenv =
2927
{[testenv]setenv}
3028
PYTHON=coverage run --source cloudkittydashboard --parallel-mode
@@ -35,12 +33,10 @@ commands =
3533
coverage xml -o cover/coverage.xml
3634

3735
[testenv:docs]
38-
basepython = python3
3936
deps = -r{toxinidir}/doc/requirements.txt
4037
commands = sphinx-build -W --keep-going -b html doc/source doc/build/html
4138

4239
[testenv:pdf-docs]
43-
basepython = python3
4440
envdir = {toxworkdir}/docs
4541
deps = {[testenv:docs]deps}
4642
whitelist_externals =
@@ -50,7 +46,6 @@ commands =
5046
make -C doc/build/pdf
5147

5248
[testenv:debug]
53-
basepython = python3
5449
commands = oslo_debug_helper -t cloudkittydashboard/tests {posargs}
5550

5651
[flake8]
@@ -62,7 +57,6 @@ builtins = _
6257
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,.ropeproject,releasenotes
6358

6459
[testenv:releasenotes]
65-
basepython = python3
6660
deps = -r{toxinidir}/doc/requirements.txt
6761
commands =
6862
sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html

0 commit comments

Comments
 (0)