Align requirements with global-requirements

Setting requirements to mins and caps aligned with global requirements
on packages where it's possible.
Commenting the ones that does not align.

Change-Id: Iba37d120c980ba849f79851fcbfc005651ed600d
This commit is contained in:
Erno Kuvaja 2015-07-18 16:29:56 +00:00 committed by Fausto Marzi
parent 32990a9b69
commit 403a76ccd3
6 changed files with 42 additions and 35 deletions

View File

@ -1,7 +1,8 @@
oslo.config oslo.config>=1.11.0 # Apache-2.0
oslo.i18n oslo.i18n>=1.5.0 # Apache-2.0
oslo.log>=1.6.0 # Apache-2.0 keystonemiddleware>=2.0.0
keystonemiddleware jsonschema>=2.0.0,<3.0.0,!=2.5.0
jsonschema elasticsearch>=1.3.0
elasticsearch
#Non-compliant with global-requirements: falcon>=0.1.6,<0.2.0
falcon>=0.2.0 falcon>=0.2.0

View File

@ -1,8 +1,10 @@
-e git+https://github.com/openstack/horizon.git#egg=horizon -e git+https://github.com/openstack/horizon.git#egg=horizon
django-nose django-nose>=1.2
nose-exclude nose-exclude
mock mock>=1.1,!=1.1.4;python_version!='2.6'
python-openstackclient mock==1.0.1;python_version=='2.6'
mox python-openstackclient>=1.5.0
mox>=0.5.3
# Not in global-requirements
parsedatetime parsedatetime
coverage>=3.6 coverage>=3.6

View File

@ -1,18 +1,14 @@
python-swiftclient>=1.6.0 python-swiftclient>=2.2.0,<2.5.0
python-keystoneclient>=0.8.0 python-swiftclient>=2.2.0
python-cinderclient>=1.2.1 python-keystoneclient>=1.2.0,<1.4.0
python-glanceclient python-cinderclient>=1.1.0,<1.2.0
python-novaclient>=2.21.0 python-glanceclient>=0.15.0,<0.18.0
python-openstackclient python-novaclient>=2.22.0,<2.24.0python-openstackclient>=1.0.3,<1.1.0
paramiko>=1.13.0
docutils>=0.8.1 PyMySQL>=0.6.2 # MIT License
paramiko pymongo>=3.0.2
pymysql # Not in global-requirements
pymongo
apscheduler apscheduler
# Not in global-requirements
pep3143daemon pep3143daemon
[testing]
pytest
flake8
mock

View File

@ -79,15 +79,18 @@ setup(
'Topic :: System :: Archiving', 'Topic :: System :: Archiving',
], ],
install_requires=[ install_requires=[
'paramiko', 'python-swiftclient>=2.2.0,<2.5.0',
'python-swiftclient>=1.6.0', 'python-swiftclient>=2.2.0',
'python-keystoneclient>=0.7.0', 'python-keystoneclient>=1.2.0,<1.4.0',
'python-cinderclient>=1.2.1', 'python-cinderclient>=1.1.0,<1.2.0',
'python-glanceclient', 'python-glanceclient>=0.15.0,<0.18.0',
'python-novaclient>=2.21.0', 'python-novaclient>=2.22.0,<2.24.0',
'pymysql', 'python-openstackclient>=1.0.3,<1.1.0',
'pymongo', 'PyMySQL>=0.6.2',
'docutils>=0.8.1'], 'pymongo>=3.0.2',
'apscheduler',
'pep3143daemon',
'paramiko>=1.13.0'],
extras_require={ extras_require={
'testing': ['pytest', 'flake8', 'pylint>=1.3.1'], 'testing': ['pytest', 'flake8', 'pylint>=1.3.1'],
}, },

5
test-requirements.txt Normal file
View File

@ -0,0 +1,5 @@
pytest
flake8>=2.2.4,<=2.4.1
mock>=1.1,!=1.1.4;python_version!='2.6'
mock==1.0.1;python_version=='2.6'

View File

@ -11,7 +11,7 @@ deps =
pytest-cov pytest-cov
pytest-xdist pytest-xdist
pymysql pymysql
python-openstackclient python-openstackclient>=1.0.3,<1.1.0
mock mock
pep3143daemon pep3143daemon
apscheduler apscheduler