Browse Source

Cleanup tox.ini: Remove obsolete constraints

Remove old and unused constraints environments from tox.ini. Those
have never been used. Use standard environments as default list.

Note that the repo has in the past not used constraints in OpenStack
CI, this change keeps the status quo.

For more information about constraints see:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html

Change-Id: I135237159a28d55810a2b4708ddef298eb1ee6b0
changes/29/361329/2
Andreas Jaeger 2 years ago
parent
commit
4cb9e19120
1 changed files with 2 additions and 27 deletions
  1. 2
    27
      tox.ini

+ 2
- 27
tox.ini View File

@@ -1,56 +1,31 @@
1 1
 [tox]
2 2
 minversion = 2.0
3
-envlist = py34-constraints,py27-constraints,pypy-constraints,pep8-constraints
3
+envlist = py34,py27,pypy,pep8
4 4
 skipsdist = True
5 5
 
6 6
 [testenv]
7 7
 usedevelop = True
8
-install_command =
9
-                  constraints: {[testenv:common-constraints]install_command}
10
-                  pip install -U {opts} {packages}
8
+install_command = pip install -U {opts} {packages}
11 9
 setenv =
12 10
    VIRTUAL_ENV={envdir}
13 11
 deps = -r{toxinidir}/test-requirements.txt
14 12
 commands = python setup.py test --slowest --testr-args='{posargs}'
15 13
 
16
-[testenv:common-constraints]
17
-install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
18
-
19 14
 [testenv:pep8]
20 15
 commands = flake8 {posargs}
21 16
 
22
-[testenv:pep8-constraints]
23
-install_command = {[testenv:common-constraints]install_command}
24
-commands = flake8 {posargs}
25
-
26 17
 [testenv:venv]
27 18
 commands = {posargs}
28 19
 
29
-[testenv:venv-constraints]
30
-install_command = {[testenv:common-constraints]install_command}
31
-commands = {posargs}
32
-
33 20
 [testenv:cover]
34 21
 commands = python setup.py test --coverage --testr-args='{posargs}'
35 22
 
36
-[testenv:cover-constraints]
37
-install_command = {[testenv:common-constraints]install_command}
38
-commands = python setup.py test --coverage --testr-args='{posargs}'
39
-
40 23
 [testenv:docs]
41 24
 commands = python setup.py build_sphinx
42 25
 
43
-[testenv:docs-constraints]
44
-install_command = {[testenv:common-constraints]install_command}
45
-commands = python setup.py build_sphinx
46
-
47 26
 [testenv:debug]
48 27
 commands = oslo_debug_helper {posargs}
49 28
 
50
-[testenv:debug-constraints]
51
-install_command = {[testenv:common-constraints]install_command}
52
-commands = oslo_debug_helper {posargs}
53
-
54 29
 [flake8]
55 30
 # E123, E125 skipped as they are invalid PEP-8.
56 31
 

Loading…
Cancel
Save