Explorar o código

Update version to 0.3 and add changelog - freeze dependencies.

Nuwan Goonasekera %!s(int64=9) %!d(string=hai) anos
pai
achega
3340c7b9de
Modificáronse 4 ficheiros con 12 adicións e 9 borrados
  1. 4 1
      CHANGELOG.rst
  2. 1 1
      cloudbridge/__init__.py
  3. 6 6
      setup.py
  4. 1 1
      tox.ini

+ 4 - 1
CHANGELOG.rst

@@ -1,4 +1,4 @@
-0.3.0 - April 11, 2017. (sha a442d96b829ea2c721728520b01981fa61774625)
+0.3.0 - April 11, 2017. (sha 13539ccda9e4809082796574d18b1b9bb3f2c624)
 -------
 
 * Reworked test framework to rely on tox's test generation features. This
@@ -7,6 +7,9 @@
 * Added supports for accessing EC2 containers with restricted permissions.
 * Removed exists() method from object store interface. Use get()==None check
   instead.
+* New method (img.min_disk) for geting size of machine image.
+* Test improvements (flake8 during build, more tests)
+* Misc bug fixes and improvements
 * Changed library to beta state
 * General documentation updates (testing, release process)
 

+ 1 - 1
cloudbridge/__init__.py

@@ -2,7 +2,7 @@
 import logging
 
 # Current version of the library
-__version__ = '0.2.0'
+__version__ = '0.3.0'
 
 
 def get_version():

+ 6 - 6
setup.py

@@ -16,12 +16,12 @@ with open(os.path.join('cloudbridge', '__init__.py')) as f:
 
 base_reqs = ['bunch>=1.0.1', 'six>=1.10.0', 'retrying>=1.3.3']
 openstack_reqs = ['python-novaclient==7.0.0',
-                  'python-glanceclient>=2.5.0',
-                  'python-cinderclient>=1.9.0',
-                  'python-swiftclient>=3.2.0',
-                  'python-neutronclient>=6.0.0',
-                  'python-keystoneclient>=3.8.0']
-aws_reqs = ['boto>=2.38.0']
+                  'python-glanceclient>=2.5.0,<=2.6.0',
+                  'python-cinderclient>=1.9.0,<=2.0.1',
+                  'python-swiftclient>=3.2.0,<=3.3.0',
+                  'python-neutronclient>=6.0.0,<=6.1.0',
+                  'python-keystoneclient>=3.8.0,<=3.10.0']
+aws_reqs = ['boto>=2.38.0,<=2.46.1']
 full_reqs = base_reqs + aws_reqs + openstack_reqs
 dev_reqs = (['tox>=2.1.1', 'moto>=0.4.20', 'sphinx>=1.3.1', 'flake8>=3.3.0',
              'flake8-import-order>=0.12'] + full_reqs)

+ 1 - 1
tox.ini

@@ -15,7 +15,7 @@
 envlist = {py27,py36,pypy}-{aws,openstack}
 
 [testenv]
-commands = flake8 -v cloudbridge test setup.py 
+commands = flake8 cloudbridge test setup.py 
     {envpython} -m coverage run --branch --source=cloudbridge --omit=cloudbridge/cloud/interfaces/* setup.py test {posargs}
 setenv =
     aws: CB_TEST_PROVIDER=aws