Hello community,

here is the log from the commit of package python-designateclient for 
openSUSE:Factory checked in at 2017-03-09 02:05:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-designateclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-designateclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-designateclient"

Thu Mar  9 02:05:09 2017 rev:8 rq:477647 version:2.6.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-designateclient/python-designateclient.changes
    2017-02-21 13:43:24.926981665 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-designateclient.new/python-designateclient.changes
       2017-03-09 02:05:10.372103997 +0100
@@ -1,0 +2,14 @@
+Tue Mar  7 20:54:02 UTC 2017 - [email protected]
+
+- update to version 2.6.0:
+  - Removes unnecessary utf-8 encoding
+  - Remove 'coding: utf-8' from  license statement
+  - Add Constraints support
+  - Fix broken link for modindex
+  - Add attribute support to create zone cli
+  - Show proper error on over quota commands
+  - Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'
+  - Add Python 3.5 classifier and venv
+  - Updated from global requirements
+
+-------------------------------------------------------------------

Old:
----
  python-designateclient-2.4.0.tar.gz

New:
----
  python-designateclient-2.6.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-designateclient.spec ++++++
--- /var/tmp/diff_new_pack.nFwaIo/_old  2017-03-09 02:05:11.000015028 +0100
+++ /var/tmp/diff_new_pack.nFwaIo/_new  2017-03-09 02:05:11.000015028 +0100
@@ -18,7 +18,7 @@
 
 %global sname python-designateclient
 Name:           python-designateclient
-Version:        2.4.0
+Version:        2.6.0
 Release:        0
 Summary:        OpenStack DNS as a Service - Client
 License:        Apache-2.0
@@ -39,7 +39,7 @@
 Requires:       python-cliff >= 2.3.0
 Requires:       python-debtcollector >= 1.2.0
 Requires:       python-jsonschema >= 2.0.0
-Requires:       python-keystoneauth1 >= 2.17.0
+Requires:       python-keystoneauth1 >= 2.18.0
 Requires:       python-keystoneclient >= 3.8.0
 Requires:       python-osc-lib >= 1.2.0
 Requires:       python-oslo.utils >= 3.18.0
@@ -75,7 +75,7 @@
 %install
 %py2_install
 #man pages
-install -p -D -m 644 doc/build/man/python-designateclient.1 
%{buildroot}%{_mandir}/man1/python-designateclient.1
+install -p -D -m 644 doc/build/man/designateclient.1 
%{buildroot}%{_mandir}/man1/designateclient.1
 
 %check
 %{__python2} setup.py testr
@@ -86,7 +86,7 @@
 %{python2_sitelib}/designateclient
 %{python2_sitelib}/python_designateclient-%{version}-py2.?.egg-info
 %{_bindir}/designate
-%{_mandir}/man1/python-designateclient.1.*
+%{_mandir}/man1/designateclient.1.*
 
 %files doc
 %license LICENSE

++++++ python-designateclient-2.4.0.tar.gz -> 
python-designateclient-2.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-designateclient-2.4.0/AUTHORS 
new/python-designateclient-2.6.0/AUTHORS
--- old/python-designateclient-2.4.0/AUTHORS    2016-12-15 16:09:09.000000000 
+0100
+++ new/python-designateclient-2.6.0/AUTHORS    2017-02-02 17:39:14.000000000 
+0100
@@ -54,12 +54,14 @@
 Swapnil Kulkarni (coolsvap) <[email protected]>
 Tang Chen <[email protected]>
 TerryHowe <[email protected]>
+Tony Breeds <[email protected]>
 Tony Xu <[email protected]>
 Venkata Mahesh Jonnalagadda <[email protected]>
 abhishekkekane <[email protected]>
 algerwang <[email protected]>
 ashish-kumar-gupta <[email protected]>
 ghanshyam <[email protected]>
+howardlee <[email protected]>
 ricolin <[email protected]>
 rjrjr <[email protected]>
 sonu.kumar <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-designateclient-2.4.0/ChangeLog 
new/python-designateclient-2.6.0/ChangeLog
--- old/python-designateclient-2.4.0/ChangeLog  2016-12-15 16:09:09.000000000 
+0100
+++ new/python-designateclient-2.6.0/ChangeLog  2017-02-02 17:39:14.000000000 
+0100
@@ -1,6 +1,24 @@
 CHANGES
 =======
 
+2.6.0
+-----
+
+* Add attribute support to create zone cli
+* Show proper error on over quota commands
+* Fix broken link for modindex
+
+2.5.0
+-----
+
+* Updated from global requirements
+* Add Python 3.5 classifier and venv
+* Updated from global requirements
+* Remove 'coding: utf-8' from  license statement
+* Removes unnecessary utf-8 encoding
+* Add Constraints support
+* Updated from global requirements
+
 2.4.0
 -----
 
@@ -8,6 +26,7 @@
 * Updated from global requirements
 * Show team and repo badges on README
 * Use tempest instead of Tempest-lib
+* Replace 'assertFalse(a in b)' with 'assertNotIn(a, b)'
 * Updated from global requirements
 * Updated from global requirements
 * Ensure X-Auth-All-Projects header value is a string
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-designateclient-2.4.0/PKG-INFO 
new/python-designateclient-2.6.0/PKG-INFO
--- old/python-designateclient-2.4.0/PKG-INFO   2016-12-15 16:09:10.000000000 
+0100
+++ new/python-designateclient-2.6.0/PKG-INFO   2017-02-02 17:39:15.000000000 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-designateclient
-Version: 2.4.0
+Version: 2.6.0
 Summary: OpenStack DNS-as-a-Service - Client
 Home-page: http://docs.openstack.org/developer/python-designateclient
 Author: OpenStack
@@ -60,5 +60,5 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Topic :: Internet :: Name Service (DNS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/designateclient/exceptions.py 
new/python-designateclient-2.6.0/designateclient/exceptions.py
--- old/python-designateclient-2.4.0/designateclient/exceptions.py      
2016-12-15 16:06:40.000000000 +0100
+++ new/python-designateclient-2.6.0/designateclient/exceptions.py      
2017-02-02 17:37:00.000000000 +0100
@@ -78,3 +78,7 @@
 
 class NotFound(RemoteError):
     pass
+
+
+class OverQuota(RemoteError):
+    pass
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/designateclient/tests/base.py 
new/python-designateclient-2.6.0/designateclient/tests/base.py
--- old/python-designateclient-2.4.0/designateclient/tests/base.py      
2016-12-15 16:06:40.000000000 +0100
+++ new/python-designateclient-2.6.0/designateclient/tests/base.py      
2017-02-02 17:37:00.000000000 +0100
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
 # Copyright 2010-2011 OpenStack Foundation
 # Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/designateclient/tests/test_designateclient.py 
new/python-designateclient-2.6.0/designateclient/tests/test_designateclient.py
--- 
old/python-designateclient-2.4.0/designateclient/tests/test_designateclient.py  
    2016-12-15 16:06:40.000000000 +0100
+++ 
new/python-designateclient-2.6.0/designateclient/tests/test_designateclient.py  
    2017-02-02 17:37:00.000000000 +0100
@@ -1,5 +1,3 @@
-# -*- coding: utf-8 -*-
-
 # 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/designateclient/tests/v2/test_timeout.py 
new/python-designateclient-2.6.0/designateclient/tests/v2/test_timeout.py
--- old/python-designateclient-2.4.0/designateclient/tests/v2/test_timeout.py   
2016-12-15 16:06:40.000000000 +0100
+++ new/python-designateclient-2.6.0/designateclient/tests/v2/test_timeout.py   
2017-02-02 17:37:00.000000000 +0100
@@ -70,7 +70,7 @@
         self.assertTrue(self.mock_send_request.called)
         kw = self.mock_send_request.call_args[1]
         if timeout is None:
-            self.assertFalse('timeout' in kw)
+            self.assertNotIn('timeout', kw)
         else:
             self.assertEqual(timeout, kw['timeout'])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/designateclient/v2/cli/zones.py 
new/python-designateclient-2.6.0/designateclient/v2/cli/zones.py
--- old/python-designateclient-2.4.0/designateclient/v2/cli/zones.py    
2016-12-15 16:06:40.000000000 +0100
+++ new/python-designateclient-2.6.0/designateclient/v2/cli/zones.py    
2017-02-02 17:37:00.000000000 +0100
@@ -31,6 +31,10 @@
 def _format_zone(zone):
     zone.pop('links', None)
     zone['masters'] = ", ".join(zone['masters'])
+    attrib = ''
+    for attr in zone['attributes']:
+        attrib += "%s:%s\n" % (attr, zone['attributes'][attr])
+    zone['attributes'] = attrib
 
 
 def _format_zone_export_record(zone_export_record):
@@ -131,6 +135,7 @@
         parser.add_argument('--ttl', type=int, help="Time To Live (Seconds)")
         parser.add_argument('--description', help="Description")
         parser.add_argument('--masters', help="Zone Masters", nargs='+')
+        parser.add_argument('--attributes', help="Zone Attributes", nargs='+')
 
         common.add_all_common_options(parser)
 
@@ -145,6 +150,17 @@
         if parsed_args.description:
             payload["description"] = parsed_args.description
 
+        if parsed_args.attributes:
+            payload["attributes"] = {}
+            for attr in parsed_args.attributes:
+                try:
+                    k, v = attr.split(':')
+                    payload["attributes"][k] = v
+                except ValueError:
+                    msg = "Attribute '%s' is in an incorrect format. "\
+                          "Attributes are <key>:<value> formated"
+                    raise osc_exc.CommandError(msg % attr)
+
         if parsed_args.type == 'PRIMARY':
             # email is just for PRIMARY.
             if not parsed_args.email:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/designateclient/v2/client.py 
new/python-designateclient-2.6.0/designateclient/v2/client.py
--- old/python-designateclient-2.4.0/designateclient/v2/client.py       
2016-12-15 16:06:40.000000000 +0100
+++ new/python-designateclient-2.6.0/designateclient/v2/client.py       
2017-02-02 17:37:00.000000000 +0100
@@ -93,6 +93,8 @@
             raise exceptions.NotFound(**response_payload)
         elif response.status_code == 409:
             raise exceptions.Conflict(**response_payload)
+        elif response.status_code == 413:
+            raise exceptions.OverQuota(**response_payload)
         elif response.status_code >= 500:
             raise exceptions.Unknown(**response_payload)
         return response, body
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/designateclient/v2/zones.py 
new/python-designateclient-2.6.0/designateclient/v2/zones.py
--- old/python-designateclient-2.4.0/designateclient/v2/zones.py        
2016-12-15 16:06:40.000000000 +0100
+++ new/python-designateclient-2.6.0/designateclient/v2/zones.py        
2017-02-02 17:37:00.000000000 +0100
@@ -19,7 +19,7 @@
 
 class ZoneController(V2Controller):
     def create(self, name, type_=None, email=None, description=None, ttl=None,
-               masters=None):
+               masters=None, attributes=None):
         type_ = type_ or "PRIMARY"
 
         data = {
@@ -40,6 +40,9 @@
         if description is not None:
             data["description"] = description
 
+        if attributes is not None:
+            data["attributes"] = attributes
+
         return self._post('/zones', data=data)
 
     def list(self, criterion=None, marker=None, limit=None):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-designateclient-2.4.0/doc/source/conf.py 
new/python-designateclient-2.6.0/doc/source/conf.py
--- old/python-designateclient-2.4.0/doc/source/conf.py 2016-12-15 
16:06:40.000000000 +0100
+++ new/python-designateclient-2.6.0/doc/source/conf.py 2017-02-02 
17:37:00.000000000 +0100
@@ -85,7 +85,7 @@
 pygments_style = 'sphinx'
 
 # A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
+modindex_common_prefix = ['designateclient']
 
 
 # -- Options for HTML output 
---------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/python_designateclient.egg-info/PKG-INFO 
new/python-designateclient-2.6.0/python_designateclient.egg-info/PKG-INFO
--- old/python-designateclient-2.4.0/python_designateclient.egg-info/PKG-INFO   
2016-12-15 16:09:09.000000000 +0100
+++ new/python-designateclient-2.6.0/python_designateclient.egg-info/PKG-INFO   
2017-02-02 17:39:14.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-designateclient
-Version: 2.4.0
+Version: 2.6.0
 Summary: OpenStack DNS-as-a-Service - Client
 Home-page: http://docs.openstack.org/developer/python-designateclient
 Author: OpenStack
@@ -60,5 +60,5 @@
 Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
 Classifier: Topic :: Internet :: Name Service (DNS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/python_designateclient.egg-info/SOURCES.txt 
new/python-designateclient-2.6.0/python_designateclient.egg-info/SOURCES.txt
--- 
old/python-designateclient-2.4.0/python_designateclient.egg-info/SOURCES.txt    
    2016-12-15 16:09:09.000000000 +0100
+++ 
new/python-designateclient-2.6.0/python_designateclient.egg-info/SOURCES.txt    
    2017-02-02 17:39:15.000000000 +0100
@@ -139,4 +139,5 @@
 releasenotes/source/unreleased.rst
 releasenotes/source/_static/.placeholder
 releasenotes/source/_templates/.placeholder
-tools/pretty_tox.sh
\ No newline at end of file
+tools/pretty_tox.sh
+tools/tox_install.sh
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/python_designateclient.egg-info/pbr.json 
new/python-designateclient-2.6.0/python_designateclient.egg-info/pbr.json
--- old/python-designateclient-2.4.0/python_designateclient.egg-info/pbr.json   
2016-12-15 16:09:09.000000000 +0100
+++ new/python-designateclient-2.6.0/python_designateclient.egg-info/pbr.json   
2017-02-02 17:39:14.000000000 +0100
@@ -1 +1 @@
-{"git_version": "2912647", "is_release": true}
\ No newline at end of file
+{"git_version": "5b8cab8", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-designateclient-2.4.0/python_designateclient.egg-info/requires.txt 
new/python-designateclient-2.6.0/python_designateclient.egg-info/requires.txt
--- 
old/python-designateclient-2.4.0/python_designateclient.egg-info/requires.txt   
    2016-12-15 16:09:09.000000000 +0100
+++ 
new/python-designateclient-2.6.0/python_designateclient.egg-info/requires.txt   
    2017-02-02 17:39:14.000000000 +0100
@@ -3,7 +3,7 @@
 osc-lib>=1.2.0
 oslo.utils>=3.18.0
 pbr>=1.8
-keystoneauth1>=2.14.0
+keystoneauth1>=2.18.0
 requests!=2.12.2,>=2.10.0
 six>=1.9.0
 stevedore>=1.17.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-designateclient-2.4.0/requirements.txt 
new/python-designateclient-2.6.0/requirements.txt
--- old/python-designateclient-2.4.0/requirements.txt   2016-12-15 
16:06:40.000000000 +0100
+++ new/python-designateclient-2.6.0/requirements.txt   2017-02-02 
17:37:00.000000000 +0100
@@ -6,7 +6,7 @@
 osc-lib>=1.2.0 # Apache-2.0
 oslo.utils>=3.18.0 # Apache-2.0
 pbr>=1.8 # Apache-2.0
-keystoneauth1>=2.14.0 # Apache-2.0
+keystoneauth1>=2.18.0 # Apache-2.0
 requests!=2.12.2,>=2.10.0 # Apache-2.0
 six>=1.9.0 # MIT
 stevedore>=1.17.1 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-designateclient-2.4.0/setup.cfg 
new/python-designateclient-2.6.0/setup.cfg
--- old/python-designateclient-2.4.0/setup.cfg  2016-12-15 16:09:10.000000000 
+0100
+++ new/python-designateclient-2.6.0/setup.cfg  2017-02-02 17:39:15.000000000 
+0100
@@ -17,7 +17,7 @@
        Programming Language :: Python :: 2
        Programming Language :: Python :: 2.7
        Programming Language :: Python :: 3
-       Programming Language :: Python :: 3.4
+       Programming Language :: Python :: 3.5
        Topic :: Internet :: Name Service (DNS)
 
 [global]
@@ -153,3 +153,7 @@
 [wheel]
 universal = 1
 
+[pbr]
+autodoc_index_modules = True
+warnerrors = True
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-designateclient-2.4.0/tools/tox_install.sh 
new/python-designateclient-2.6.0/tools/tox_install.sh
--- old/python-designateclient-2.4.0/tools/tox_install.sh       1970-01-01 
01:00:00.000000000 +0100
+++ new/python-designateclient-2.6.0/tools/tox_install.sh       2017-02-02 
17:37:00.000000000 +0100
@@ -0,0 +1,30 @@
+#!/usr/bin/env bash
+
+# Client constraint file contains this client version pin that is in conflict
+# with installing the client from source. We should remove the version pin in
+# the constraints file before applying it for from-source installation.
+
+CONSTRAINTS_FILE="$1"
+shift 1
+
+set -e
+
+# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get
+# published to logs.openstack.org for easy debugging.
+localfile="$VIRTUAL_ENV/log/upper-constraints.txt"
+
+if [[ "$CONSTRAINTS_FILE" != http* ]]; then
+    CONSTRAINTS_FILE="file://$CONSTRAINTS_FILE"
+fi
+# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep
+curl "$CONSTRAINTS_FILE" --insecure --progress-bar --output "$localfile"
+
+pip install -c"$localfile" openstack-requirements
+
+# This is the main purpose of the script: Allow local installation of
+# the current repo. It is listed in constraints file and thus any
+# install will be constrained and we need to unconstrain it.
+edit-constraints "$localfile" -- "$CLIENT_NAME"
+
+pip install -c"$localfile" -U "$@"
+exit $?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-designateclient-2.4.0/tox.ini 
new/python-designateclient-2.6.0/tox.ini
--- old/python-designateclient-2.4.0/tox.ini    2016-12-15 16:06:40.000000000 
+0100
+++ new/python-designateclient-2.6.0/tox.ini    2017-02-02 17:37:00.000000000 
+0100
@@ -1,12 +1,14 @@
 [tox]
-envlist = py34,py27,flake8
-minversion = 1.6
+envlist = py35,py27,flake8
+minversion = 2.0
 skipsdist = True
 
 [testenv]
 usedevelop = True
-install_command = pip install {opts} {packages}
+install_command = {toxinidir}/tools/tox_install.sh 
{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
 {opts} {packages}
 setenv = VIRTUAL_ENV={envdir}
+         BRANCH_NAME=master
+         CLIENT_NAME=python-designateclient
          LANG=en_US.UTF-8
          LANGUAGE=en_US:en
          LC_ALL=C
@@ -42,7 +44,7 @@
 
 [testenv:functional]
 usedevelop = False
-setenv = VIRTUAL_ENV={envdir}
+setenv = {[testenv]setenv}
          OS_TEST_PATH=designateclient/functionaltests/
 passenv = OS_STDOUT_CAPTURE
           OS_STDERR_CAPTURE


Reply via email to