Fix issue with dependencies of the package

* upper bounds for all used OpenStack python clients added;
* upper bounds for several transitive requirements added in order to
  eliminate the issue when packages are installed from PyPi (dev env and
  CI);
* unit test that checks whether the package could be properly installed
  added;

Change-Id: Ic36a7acf1e6fd8dc58177be02c0e3ea0ead49840
Closes-Bug: #1474358
This commit is contained in:
Artem Roma 2015-07-27 18:08:33 +03:00
parent f907eca277
commit ef42c54883
2 changed files with 34 additions and 10 deletions

View File

@ -0,0 +1,19 @@
# Copyright 2015 Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import pkg_resources
def test_requirements():
pkg_resources.require('fuel-ostf')

View File

@ -1,13 +1,18 @@
oslo.config>=1.2.1,<=1.11.0
python-cinderclient>=1.0.7
python-ceilometerclient>=1.0.9
python-keystoneclient>=0.11
python-muranoclient>=0.2.11
python-novaclient>=2.17.0
python-neutronclient>=2.3.6,<3
python-heatclient>=0.2.9
python-glanceclient>=0.14.1
python-saharaclient>=0.6.0
oslo.utils<=1.2.1
oslo.i18n<=1.3.1
python-cinderclient>=1.0.7,<=1.1.1
python-ceilometerclient>=1.0.9,<=1.0.13
python-keystoneclient>=0.11,<=1.1.0
python-muranoclient>=0.2.11,<=0.5.7
python-novaclient>=2.17.0,<=2.23.0
python-neutronclient>=2.3.6,<=2.3.11
python-heatclient>=0.2.9,<=0.3.0
python-glanceclient>=0.14.1,<=0.17.0
python-saharaclient>=0.6.0,<=0.8.0
paramiko>=1.10.1
requests>=1.2.3
unittest2>=0.5.1
@ -20,7 +25,7 @@ amqp
anyjson
gevent==0.13.8
importlib
keystonemiddleware>=1.2.0
keystonemiddleware>=1.2.0,<=1.3.1
kombu
oslo.serialization>=1.0.0,<1.5.0
pecan>=0.3.0,<0.6.0