The distro packages of nose and pylint depend on python-setuptools
on some platforms, and on some of those platforms (at least CentOS
6.x) you can't resolve dependencies on python-setuptools properly if
you've forcibly removed it already (as we do on our CI workers). It
appears that any current upstream use of these tools in relation to
DevStack-based testing is now relying on tox and pip to obtain them
instead.
Conflicts:
files/debs/swift
files/rpms-suse/general
files/rpms/general
files/rpms/horizon
Change-Id: Ibd16ac550c90364115caf57fae4f5f4cb5d5f238
(cherry picked from commit 091b42b7da7650d528bb5f88ec411a04af3da828)
| ... | ... |
@@ -297,7 +297,7 @@ If tempest has been successfully configured, a basic set of smoke |
| 297 | 297 |
tests can be run as follows: |
| 298 | 298 |
|
| 299 | 299 |
$ cd /opt/stack/tempest |
| 300 |
- $ nosetests tempest/scenario/test_network_basic_ops.py |
|
| 300 |
+ $ tox -efull tempest.scenario.test_network_basic_ops |
|
| 301 | 301 |
|
| 302 | 302 |
# DevStack on Xenserver |
| 303 | 303 |
|
| ... | ... |
@@ -1,7 +1,6 @@ |
| 1 | 1 |
Django |
| 2 | 2 |
httpd # NOPRIME |
| 3 | 3 |
mod_wsgi # NOPRIME |
| 4 |
-pylint |
|
| 5 | 4 |
python-anyjson |
| 6 | 5 |
python-BeautifulSoup |
| 7 | 6 |
python-coverage |
| ... | ... |
@@ -11,7 +10,6 @@ python-greenlet |
| 11 | 11 |
python-httplib2 |
| 12 | 12 |
python-migrate |
| 13 | 13 |
python-mox |
| 14 |
-python-nose |
|
| 15 | 14 |
python-paste #dist:f19,f20 |
| 16 | 15 |
python-paste-deploy #dist:f19,f20 |
| 17 | 16 |
python-routes |
| ... | ... |
@@ -18,7 +18,6 @@ |
| 18 | 18 |
# - (re)start messagebus daemon |
| 19 | 19 |
# - remove distro packages python-crypto and python-lxml |
| 20 | 20 |
# - pre-install hgtools to work around a bug in RHEL6 distribute |
| 21 |
-# - install nose 1.1 from EPEL |
|
| 22 | 21 |
|
| 23 | 22 |
# If TOP_DIR is set we're being sourced rather than running stand-alone |
| 24 | 23 |
# or in a sub-shell |
| ... | ... |
@@ -172,12 +171,4 @@ if [[ $DISTRO =~ (rhel6) ]]; then |
| 172 | 172 |
# Note we do this before the track-depends in ``stack.sh``. |
| 173 | 173 |
pip_install hgtools |
| 174 | 174 |
|
| 175 |
- |
|
| 176 |
- # RHEL6's version of ``python-nose`` is incompatible with Tempest. |
|
| 177 |
- # Install nose 1.1 (Tempest-compatible) from EPEL |
|
| 178 |
- install_package python-nose1.1 |
|
| 179 |
- # Add a symlink for the new nosetests to allow tox for Tempest to |
|
| 180 |
- # work unmolested. |
|
| 181 |
- sudo ln -sf /usr/bin/nosetests1.1 /usr/local/bin/nosetests |
|
| 182 |
- |
|
| 183 | 175 |
fi |