Browse code

Stop installing nose and pylint from distros

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)

Jeremy Stanley authored on 2015/05/09 02:43:08
Showing 11 changed files
... ...
@@ -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,5 +1,4 @@
1 1
 bridge-utils
2
-pylint
3 2
 python-setuptools
4 3
 screen
5 4
 unzip
... ...
@@ -9,9 +9,7 @@ python-routes
9 9
 python-xattr
10 10
 python-sqlalchemy
11 11
 python-webob
12
-pylint
13 12
 python-eventlet
14
-python-nose
15 13
 python-sphinx
16 14
 python-mox
17 15
 python-coverage
... ...
@@ -5,7 +5,6 @@ python-coverage
5 5
 python-eventlet
6 6
 python-greenlet
7 7
 python-netifaces
8
-python-nose
9 8
 python-pastedeploy
10 9
 python-simplejson
11 10
 python-webob
... ...
@@ -14,7 +14,6 @@ openssh
14 14
 openssl
15 15
 psmisc
16 16
 python-cmd2 # dist:opensuse-12.3
17
-python-pylint
18 17
 python-setuptools # instead of python-distribute; dist:sle11sp2
19 18
 screen
20 19
 tar
... ...
@@ -13,7 +13,5 @@ python-coverage
13 13
 python-dateutil
14 14
 python-eventlet
15 15
 python-mox
16
-python-nose
17
-python-pylint
18 16
 python-sqlalchemy-migrate
19 17
 python-xattr
... ...
@@ -8,7 +8,6 @@ python-devel
8 8
 python-eventlet
9 9
 python-greenlet
10 10
 python-netifaces
11
-python-nose
12 11
 python-simplejson
13 12
 python-xattr
14 13
 sqlite3
... ...
@@ -12,7 +12,6 @@ libffi-devel
12 12
 libxml2-devel
13 13
 libxslt-devel
14 14
 psmisc
15
-pylint
16 15
 python-setuptools
17 16
 python-prettytable # dist:rhel6 [1]
18 17
 python-virtualenv
... ...
@@ -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
... ...
@@ -5,7 +5,6 @@ python-coverage
5 5
 python-eventlet
6 6
 python-greenlet
7 7
 python-netifaces
8
-python-nose
9 8
 python-paste-deploy # dist:f19,f20,rhel7
10 9
 python-simplejson
11 10
 python-webob
... ...
@@ -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