Browse Source

Tox Upper Constraints - strip out reinstalls for remaining jobs

releasenotes and venv tox jobs had redefined the install_command
to reinstall any packages from requirements/test-requirements files.

Since Infra started supporting constrained requirements for these
jobs as well, we can drop the reinstall command.

Ref:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101474.html

Change-Id: Ib4b8c6cef22a9911030c2e3e3f5281e7e22575fc
(cherry picked from commit 33374626db)
(cherry picked from commit d846803f99)
Goutham Pacha Ravi 2 years ago
parent
commit
0f1b68231a
1 changed files with 0 additions and 8 deletions
  1. 0
    8
      tox.ini

+ 0
- 8
tox.ini View File

@@ -15,10 +15,6 @@ commands = python setup.py testr --testr-args='{posargs}'
15 15
 downloadcache = ~/cache/pip
16 16
 
17 17
 [testenv:releasenotes]
18
-# NOTE(jaegerandi): This target does not use constraints because
19
-# upstream infra does not yet support it. Once that's fixed, we can
20
-# drop the install_command.
21
-install_command = pip install -U --force-reinstall {opts} {packages}
22 18
 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees \
23 19
          -b html releasenotes/source releasenotes/build/html
24 20
 
@@ -41,10 +37,6 @@ commands =
41 37
   oslo-config-generator --config-file etc/oslo-config-generator/manila.conf
42 38
 
43 39
 [testenv:venv]
44
-# NOTE(jaegerandi): This target does not use constraints because
45
-# upstream infra does not yet support it. Once that's fixed, we can
46
-# drop the install_command.
47
-install_command = pip install -U --force-reinstall {opts} {packages}
48 40
 commands = {posargs}
49 41
 
50 42
 [testenv:docs]

Loading…
Cancel
Save