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
... ...
@@ -265,7 +265,7 @@ you'll need the following settings in your `localrc` section:
265 265
 If tempest has been successfully configured, a basic set of smoke tests can be run as follows:
266 266
 
267 267
     $ cd /opt/stack/tempest
268
-    $ nosetests tempest/scenario/test_network_basic_ops.py
268
+    $ tox -efull  tempest.scenario.test_network_basic_ops
269 269
 
270 270
 # DevStack on Xenserver
271 271
 
... ...
@@ -1,5 +1,4 @@
1 1
 bridge-utils
2
-pylint
3 2
 python-setuptools
4 3
 screen
5 4
 unzip
... ...
@@ -10,9 +10,7 @@ python-xattr
10 10
 python-sqlalchemy
11 11
 python-webob
12 12
 python-kombu
13
-pylint
14 13
 python-eventlet
15
-python-nose
16 14
 python-sphinx
17 15
 python-mox
18 16
 python-kombu
... ...
@@ -7,7 +7,6 @@ python-coverage
7 7
 python-eventlet
8 8
 python-greenlet
9 9
 python-netifaces
10
-python-nose
11 10
 python-pastedeploy
12 11
 python-simplejson
13 12
 python-webob
... ...
@@ -12,7 +12,6 @@ openssh
12 12
 openssl
13 13
 psmisc
14 14
 python-cmd2 # dist:opensuse-12.3
15
-python-pylint
16 15
 python-setuptools # instead of python-distribute; dist:sle11sp2
17 16
 screen
18 17
 tar
... ...
@@ -14,7 +14,5 @@ python-dateutil
14 14
 python-eventlet
15 15
 python-kombu
16 16
 python-mox
17
-python-nose
18
-python-pylint
19 17
 python-sqlalchemy-migrate
20 18
 python-xattr
... ...
@@ -9,7 +9,6 @@ python-devel
9 9
 python-eventlet
10 10
 python-greenlet
11 11
 python-netifaces
12
-python-nose
13 12
 python-simplejson
14 13
 python-xattr
15 14
 sqlite3
... ...
@@ -10,7 +10,6 @@ openssl-devel # to rebuild pyOpenSSL if needed
10 10
 libxml2-devel # dist:rhel6 [2]
11 11
 libxslt-devel # dist:rhel6 [2]
12 12
 psmisc
13
-pylint
14 13
 python-setuptools
15 14
 python-prettytable # dist:rhel6 [1]
16 15
 python-virtualenv
... ...
@@ -2,7 +2,6 @@ Django
2 2
 gcc
3 3
 httpd # NOPRIME
4 4
 mod_wsgi  # NOPRIME
5
-pylint
6 5
 python-anyjson
7 6
 python-BeautifulSoup
8 7
 python-boto
... ...
@@ -14,7 +13,6 @@ python-httplib2
14 14
 python-kombu
15 15
 python-migrate
16 16
 python-mox
17
-python-nose
18 17
 python-paste        #dist:f19,f20
19 18
 python-paste-deploy #dist:f19,f20
20 19
 python-routes
... ...
@@ -7,7 +7,6 @@ python-coverage
7 7
 python-eventlet
8 8
 python-greenlet
9 9
 python-netifaces
10
-python-nose
11 10
 python-paste-deploy # dist:f19,f20,rhel7
12 11
 python-simplejson
13 12
 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
 set -o errexit
24 23
 set -o xtrace
... ...
@@ -161,12 +160,4 @@ if [[ $DISTRO =~ (rhel6) ]]; then
161 161
     # Note we do this before the track-depends in ``stack.sh``.
162 162
     pip_install hgtools
163 163
 
164
-
165
-    # RHEL6's version of ``python-nose`` is incompatible with Tempest.
166
-    # Install nose 1.1 (Tempest-compatible) from EPEL
167
-    install_package python-nose1.1
168
-    # Add a symlink for the new nosetests to allow tox for Tempest to
169
-    # work unmolested.
170
-    sudo ln -sf /usr/bin/nosetests1.1 /usr/local/bin/nosetests
171
-
172 164
 fi