Hello community,

here is the log from the commit of package python-k8sclient for 
openSUSE:Factory checked in at 2017-08-10 14:02:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-k8sclient (Old)
 and      /work/SRC/openSUSE:Factory/.python-k8sclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-k8sclient"

Thu Aug 10 14:02:22 2017 rev:4 rq:505933 version:0.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-k8sclient/python-k8sclient.changes        
2016-12-29 22:52:51.536205794 +0100
+++ /work/SRC/openSUSE:Factory/.python-k8sclient.new/python-k8sclient.changes   
2017-08-10 14:11:14.263764455 +0200
@@ -1,0 +2,6 @@
+Wed Jun  7 09:48:26 UTC 2017 - dmuel...@suse.com
+
+- update to version 0.4.0
+- remove 0001-Deserialize-values-correctly-for-Magnum-k8s-monitor.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Deserialize-values-correctly-for-Magnum-k8s-monitor.patch
  python-k8sclient-0.3.0.tar.gz

New:
----
  python-k8sclient-0.4.0.tar.gz

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

Other differences:
------------------
++++++ python-k8sclient.spec ++++++
--- /var/tmp/diff_new_pack.nm6euQ/_old  2017-08-10 14:11:14.775692378 +0200
+++ /var/tmp/diff_new_pack.nm6euQ/_new  2017-08-10 14:11:14.779691815 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-k8sclient
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,16 @@
 
 
 Name:           python-k8sclient
-Version:        0.3.0
+Version:        0.4.0
 Release:        0
 Summary:        Python API and CLI for OpenStack K8s
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://launchpad.net/%{name}
 Source0:        
https://pypi.io/packages/source/p/%{name}/%{name}-%{version}.tar.gz
-# https://bugzilla.suse.com/show_bug.cgi?id=1012167
-# https://bugs.launchpad.net/magnum/+bug/1595373
-# https://review.openstack.org/#/c/415455/
-Patch1:         0001-Deserialize-values-correctly-for-Magnum-k8s-monitor.patch
 BuildRequires:  openstack-macros
 BuildRequires:  python-oslotest >= 1.10.0
-BuildRequires:  python-pbr >= 1.6
+BuildRequires:  python-pbr >= 1.8
 BuildRequires:  python-python-dateutil >= 2.4.2
 BuildRequires:  python-python-subunit >= 0.0.18
 BuildRequires:  python-setuptools >= 16.0
@@ -38,7 +34,7 @@
 BuildRequires:  python-testscenarios >= 0.4
 BuildRequires:  python-testtools >= 1.4.0
 BuildRequires:  python-urllib3 >= 1.15.1
-Requires:       python-pbr >= 1.6
+Requires:       python-pbr >= 1.8
 Requires:       python-python-dateutil >= 2.4.2
 Requires:       python-six >= 1.9.0
 Requires:       python-urllib3 >= 1.15.1
@@ -52,7 +48,7 @@
 Summary:        Documentation for OpenStack K8s API client libary
 Group:          Documentation
 BuildRequires:  python-Sphinx
-BuildRequires:  python-oslosphinx >= 2.5.0
+BuildRequires:  python-oslosphinx >= 4.7.0
 
 %description doc
 Client library for K8s built on the K8s API. It provides a Python API
@@ -60,8 +56,8 @@
 This package contains the documentation.
 
 %prep
-%setup -q -n %{name}-%{version}
-%patch1 -p1
+%autosetup -n %{name}-%{version}
+%py_req_cleanup
 
 %build
 %py2_build

++++++ _service ++++++
--- /var/tmp/diff_new_pack.nm6euQ/_old  2017-08-10 14:11:14.947668165 +0200
+++ /var/tmp/diff_new_pack.nm6euQ/_new  2017-08-10 14:11:14.959666475 +0200
@@ -1,8 +1,8 @@
 <services>
   <service mode="disabled" name="renderspec">
-    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/newton/openstack/python-k8sclient/python-k8sclient.spec.j2</param>
+    <param 
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/openstack/python-k8sclient/python-k8sclient.spec.j2</param>
     <param name="output-name">python-k8sclient.spec</param>
-    <param 
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/newton/global-requirements.txt</param>
+    <param 
name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/global-requirements.txt</param>
   </service>
   <service mode="disabled" name="download_files">
     <param name="changesgenerate">enable</param>

++++++ python-k8sclient-0.3.0.tar.gz -> python-k8sclient-0.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-k8sclient-0.3.0/AUTHORS 
new/python-k8sclient-0.4.0/AUTHORS
--- old/python-k8sclient-0.3.0/AUTHORS  2016-08-29 14:22:10.000000000 +0200
+++ new/python-k8sclient-0.4.0/AUTHORS  2017-02-07 03:55:51.000000000 +0100
@@ -1,8 +1,10 @@
+Andreas Jaeger <a...@suse.com>
 Andrey <apav...@mirantis.com>
 Andrey Kurilin <akuri...@mirantis.com>
 Andrey Pavlov <apav...@mirantis.com>
 Davanum Srinivas <dava...@gmail.com>
 Dmitry Tyzhnenko <t.dmi...@gmail.com>
+Flavio Percoco <flape...@gmail.com>
 Hongbin Lu <hongbin...@huawei.com>
 Hua Wang <wanghua.hum...@gmail.com>
 Madhuri <madhuri.kum...@nectechnologies.in>
@@ -11,10 +13,12 @@
 PanFengyun <fengyun....@easystack.cn>
 Ralf Haferkamp <rha...@suse.de>
 Shuquan Huang <huang.shuq...@99cloud.net>
+Spyros Trigazis <strig...@gmail.com>
 Steven Dake <std...@cisco.com>
 Surojit Pathak <s...@yahoo-inc.com>
 Swapnil Kulkarni (coolsvap) <m...@coolsvap.net>
 Ton Ngo <t...@us.ibm.com>
+Tony Xu <hhkt...@gmail.com>
 Zane Bitter <zbit...@redhat.com>
 abhishekkekane <abhishek.kek...@nttdata.com>
 houming-wang <houming.w...@easystack.cn>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-k8sclient-0.3.0/ChangeLog 
new/python-k8sclient-0.4.0/ChangeLog
--- old/python-k8sclient-0.3.0/ChangeLog        2016-08-29 14:22:10.000000000 
+0200
+++ new/python-k8sclient-0.4.0/ChangeLog        2017-02-07 03:55:51.000000000 
+0100
@@ -1,6 +1,16 @@
 CHANGES
 =======
 
+0.4.0
+-----
+
+* Fix empty object returned by successful response
+* Change assertTrue(isinstance()) by optimal assert
+* Cleanup tox.ini
+* Fix indentation in the README
+* Update README to use git.openstack.org
+* Deserialize Labels properly
+
 0.3.0
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-k8sclient-0.3.0/PKG-INFO 
new/python-k8sclient-0.4.0/PKG-INFO
--- old/python-k8sclient-0.3.0/PKG-INFO 2016-08-29 14:22:10.000000000 +0200
+++ new/python-k8sclient-0.4.0/PKG-INFO 2017-02-07 03:55:52.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-k8sclient
-Version: 0.3.0
+Version: 0.4.0
 Summary: This is Kubernetes API python client code. This code is generated by 
swagger-codegen. Kubernetes provide swagger-spec to generate client code for 
different versions. The specs live in Kubernetes repo.
 Home-page: http://www.openstack.org/
 Author: OpenStack
@@ -41,7 +41,7 @@
         
         * Clone the python-k8sclient repo::
         
-            git clone https://github.com/openstack/python-k8sclient.git
+            git clone https://git.openstack.org/openstack/python-k8sclient
         
         * Clone the swagger-codegen repo. It is recommended to checkout a 
release
          (e.g. v2.1.3) instead of using the master branch::
@@ -55,7 +55,8 @@
             mvn package
         
         * Update the v1.json from latest Kubernetes release::
-          curl -o ./k8sclient/templates/v1.json 
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.2.2/api/swagger-spec/v1.json
+        
+            curl -o ./k8sclient/templates/v1.json 
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.2.2/api/swagger-spec/v1.json
         
         * Run below command to generate the API client code for Kubernetes::
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-k8sclient-0.3.0/README.rst 
new/python-k8sclient-0.4.0/README.rst
--- old/python-k8sclient-0.3.0/README.rst       2016-08-29 14:20:39.000000000 
+0200
+++ new/python-k8sclient-0.4.0/README.rst       2017-02-07 03:53:10.000000000 
+0100
@@ -33,7 +33,7 @@
 
 * Clone the python-k8sclient repo::
 
-    git clone https://github.com/openstack/python-k8sclient.git
+    git clone https://git.openstack.org/openstack/python-k8sclient
 
 * Clone the swagger-codegen repo. It is recommended to checkout a release
  (e.g. v2.1.3) instead of using the master branch::
@@ -47,7 +47,8 @@
     mvn package
 
 * Update the v1.json from latest Kubernetes release::
-  curl -o ./k8sclient/templates/v1.json 
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.2.2/api/swagger-spec/v1.json
+
+    curl -o ./k8sclient/templates/v1.json 
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.2.2/api/swagger-spec/v1.json
 
 * Run below command to generate the API client code for Kubernetes::
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-k8sclient-0.3.0/k8sclient/client/api_client.py 
new/python-k8sclient-0.4.0/k8sclient/client/api_client.py
--- old/python-k8sclient-0.3.0/k8sclient/client/api_client.py   2016-08-29 
14:20:39.000000000 +0200
+++ new/python-k8sclient-0.4.0/k8sclient/client/api_client.py   2017-02-07 
03:53:10.000000000 +0100
@@ -275,7 +275,7 @@
         if klass in [int, float, str, bool]:
             return self.__deserialize_primitive(data, klass)
         elif klass == object:
-            return self.__deserialize_object()
+            return self.__deserialize_object(data)
         elif klass == date:
             return self.__deserialize_date(data)
         elif klass == datetime:
@@ -500,13 +500,13 @@
             value = data
         return value
 
-    def __deserialize_object(self):
+    def __deserialize_object(self, value):
         """
-        Deserializes empty object.
+        Return the original value.
 
         :return: object.
         """
-        return object()
+        return value
 
     def __deserialize_date(self, string):
         """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-k8sclient-0.3.0/k8sclient/client/models/batch/v1_object_meta.py 
new/python-k8sclient-0.4.0/k8sclient/client/models/batch/v1_object_meta.py
--- old/python-k8sclient-0.3.0/k8sclient/client/models/batch/v1_object_meta.py  
2016-08-29 14:20:39.000000000 +0200
+++ new/python-k8sclient-0.4.0/k8sclient/client/models/batch/v1_object_meta.py  
2017-02-07 03:53:10.000000000 +0100
@@ -45,7 +45,7 @@
             'creation_timestamp': 'str',
             'deletion_timestamp': 'str',
             'deletion_grace_period_seconds': 'int',
-            'labels': 'object',
+            'labels': 'dict(str, str)',
             'annotations': 'object'
         }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-k8sclient-0.3.0/k8sclient/client/models/extensions_beta/v1_object_meta.py
 
new/python-k8sclient-0.4.0/k8sclient/client/models/extensions_beta/v1_object_meta.py
--- 
old/python-k8sclient-0.3.0/k8sclient/client/models/extensions_beta/v1_object_meta.py
        2016-08-29 14:20:39.000000000 +0200
+++ 
new/python-k8sclient-0.4.0/k8sclient/client/models/extensions_beta/v1_object_meta.py
        2017-02-07 03:53:10.000000000 +0100
@@ -45,7 +45,7 @@
             'creation_timestamp': 'str',
             'deletion_timestamp': 'str',
             'deletion_grace_period_seconds': 'int',
-            'labels': 'object',
+            'labels': 'dict(str, str)',
             'annotations': 'object'
         }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-k8sclient-0.3.0/k8sclient/client/models/v1_object_meta.py 
new/python-k8sclient-0.4.0/k8sclient/client/models/v1_object_meta.py
--- old/python-k8sclient-0.3.0/k8sclient/client/models/v1_object_meta.py        
2016-08-29 14:20:39.000000000 +0200
+++ new/python-k8sclient-0.4.0/k8sclient/client/models/v1_object_meta.py        
2017-02-07 03:53:10.000000000 +0100
@@ -45,7 +45,7 @@
             'creation_timestamp': 'str',
             'deletion_timestamp': 'str',
             'deletion_grace_period_seconds': 'int',
-            'labels': 'object',
+            'labels': 'dict(str, str)',
             'annotations': 'object'
         }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-k8sclient-0.3.0/k8sclient/templates/v1.json 
new/python-k8sclient-0.4.0/k8sclient/templates/v1.json
--- old/python-k8sclient-0.3.0/k8sclient/templates/v1.json      2016-08-29 
14:20:39.000000000 +0200
+++ new/python-k8sclient-0.4.0/k8sclient/templates/v1.json      2017-02-07 
03:53:10.000000000 +0100
@@ -1,7 +1,7 @@
 {
   "swaggerVersion": "1.2",
   "apiVersion": "v1",
-  "basePath": "https://127.0.0.1:443";,
+  "basePath": "https://10.10.10.10:443";,
   "resourcePath": "/api/v1",
   "apis": [
    {
@@ -14827,11 +14827,11 @@
       "description": "Number of seconds allowed for this object to gracefully 
terminate before it will be removed from the system. Only set when 
deletionTimestamp is also set. May only be shortened. Read-only."
      },
      "labels": {
-      "type": "object",
+      "type": "any",
       "description": "Map of string keys and values that can be used to 
organize and categorize (scope and select) objects. May match selectors of 
replication controllers and services. More info: 
http://releases.k8s.io/release-1.2/docs/user-guide/labels.md";
      },
      "annotations": {
-      "type": "object",
+      "type": "any",
       "description": "Annotations is an unstructured key value map stored with 
a resource that may be set by external tools to store and retrieve arbitrary 
metadata. They are not queryable and should be preserved when modifying 
objects. More info: 
http://releases.k8s.io/release-1.2/docs/user-guide/annotations.md";
      }
     }
@@ -15005,7 +15005,7 @@
       "description": "Standard object's metadata. More info: 
http://releases.k8s.io/release-1.2/docs/devel/api-conventions.md#metadata";
      },
      "data": {
-      "type": "object",
+      "type": "any",
       "description": "Data contains the configuration data. Each key must be a 
valid DNS_SUBDOMAIN with an optional leading dot."
      }
     }
@@ -15431,23 +15431,23 @@
       "description": "Type of resource that this limit applies to."
      },
      "max": {
-      "type": "object",
+      "type": "any",
       "description": "Max usage constraints on this kind by resource name."
      },
      "min": {
-      "type": "object",
+      "type": "any",
       "description": "Min usage constraints on this kind by resource name."
      },
      "default": {
-      "type": "object",
+      "type": "any",
       "description": "Default resource requirement limit value by resource 
name if resource limit is omitted."
      },
      "defaultRequest": {
-      "type": "object",
+      "type": "any",
       "description": "DefaultRequest is the default resource requirement 
request value by resource name if resource request is omitted."
      },
      "maxLimitRequestRatio": {
-      "type": "object",
+      "type": "any",
       "description": "MaxLimitRequestRatio if specified, the named resource 
must have a request and limit that are both non-zero where limit divided by 
request is less than or equal to the enumerated value; this represents the max 
burst for the named resource."
      }
     }
@@ -15617,11 +15617,11 @@
     ],
     "properties": {
      "capacity": {
-      "type": "object",
+      "type": "any",
       "description": "Capacity represents the total resources of a node. More 
info: 
http://releases.k8s.io/release-1.2/docs/user-guide/persistent-volumes.md#capacity
 for more details."
      },
      "allocatable": {
-      "type": "object",
+      "type": "any",
       "description": "Allocatable represents the resources of a node that are 
available for scheduling. Defaults to Capacity."
      },
      "phase": {
@@ -15888,11 +15888,11 @@
     "description": "ResourceRequirements describes the compute resource 
requirements.",
     "properties": {
      "limits": {
-      "type": "object",
+      "type": "any",
       "description": "Limits describes the maximum amount of compute resources 
allowed. More info: 
http://releases.k8s.io/release-1.2/docs/design/resources.md#resource-specifications";
      },
      "requests": {
-      "type": "object",
+      "type": "any",
       "description": "Requests describes the minimum amount of compute 
resources required. If Requests is omitted for a container, it defaults to 
Limits if that is explicitly specified, otherwise to an implementation-defined 
value. More info: 
http://releases.k8s.io/release-1.2/docs/design/resources.md#resource-specifications";
      }
     }
@@ -15913,7 +15913,7 @@
       "description": "AccessModes contains the actual access modes the volume 
backing the PVC has. More info: 
http://releases.k8s.io/release-1.2/docs/user-guide/persistent-volumes.md#access-modes-1";
      },
      "capacity": {
-      "type": "object",
+      "type": "any",
       "description": "Represents the actual resources of the underlying 
volume."
      }
     }
@@ -15977,7 +15977,7 @@
     "description": "PersistentVolumeSpec is the specification of a persistent 
volume.",
     "properties": {
      "capacity": {
-      "type": "object",
+      "type": "any",
       "description": "A description of the persistent volume's resources and 
capacity. More info: 
http://releases.k8s.io/release-1.2/docs/user-guide/persistent-volumes.md#capacity";
      },
      "gcePersistentDisk": {
@@ -16377,7 +16377,7 @@
       "description": "Optional: Defaults to false (read/write). ReadOnly here 
will force the ReadOnly setting in VolumeMounts."
      },
      "options": {
-      "type": "object",
+      "type": "any",
       "description": "Optional: Extra command options if any."
      }
     }
@@ -16516,7 +16516,7 @@
       "description": "Set DNS policy for containers within the pod. One of 
'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\"."
      },
      "nodeSelector": {
-      "type": "object",
+      "type": "any",
       "description": "NodeSelector is a selector which must be true for the 
pod to fit on a node. Selector which must match a node's labels for the pod to 
be scheduled on that node. More info: 
http://releases.k8s.io/release-1.2/docs/user-guide/node-selection/README.md";
      },
      "serviceAccountName": {
@@ -17604,7 +17604,7 @@
       "description": "Replicas is the number of desired replicas. This is a 
pointer to distinguish between explicit zero and unspecified. Defaults to 1. 
More info: 
http://releases.k8s.io/release-1.2/docs/user-guide/replication-controller.md#what-is-a-replication-controller";
      },
      "selector": {
-      "type": "object",
+      "type": "any",
       "description": "Selector is a label query over pods that should match 
the Replicas count. If Selector is empty, it is defaulted to the labels present 
on the Pod template. Label keys and values that must match in order to be 
controlled by this replication controller, if empty defaulted to labels on Pod 
template. More info: 
http://releases.k8s.io/release-1.2/docs/user-guide/labels.md#label-selectors";
      },
      "template": {
@@ -17751,7 +17751,7 @@
     "description": "ResourceQuotaSpec defines the desired hard limits to 
enforce for Quota.",
     "properties": {
      "hard": {
-      "type": "object",
+      "type": "any",
       "description": "Hard is the set of desired hard limits for each named 
resource. More info: 
http://releases.k8s.io/release-1.2/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota";
      },
      "scopes": {
@@ -17772,11 +17772,11 @@
     "description": "ResourceQuotaStatus defines the enforced hard limits and 
observed use.",
     "properties": {
      "hard": {
-      "type": "object",
+      "type": "any",
       "description": "Hard is the set of enforced hard limits for each named 
resource. More info: 
http://releases.k8s.io/release-1.2/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota";
      },
      "used": {
-      "type": "object",
+      "type": "any",
       "description": "Used is the current observed total usage of the resource 
in the namespace."
      }
     }
@@ -17826,7 +17826,7 @@
       "description": "Standard object's metadata. More info: 
http://releases.k8s.io/release-1.2/docs/devel/api-conventions.md#metadata";
      },
      "data": {
-      "type": "object",
+      "type": "any",
       "description": "Data contains the secret data. Each key must be a valid 
DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized 
form of the secret data is a base64 encoded string, representing the arbitrary 
(possibly non-string) data value here. Described in 
https://tools.ietf.org/html/rfc4648#section-4";
      },
      "type": {
@@ -17964,7 +17964,7 @@
       "description": "The list of ports that are exposed by this service. More 
info: 
http://releases.k8s.io/release-1.2/docs/user-guide/services.md#virtual-ips-and-service-proxies";
      },
      "selector": {
-      "type": "object",
+      "type": "any",
       "description": "This service will route traffic to pods having labels 
matching this selector. Label keys and values that must match in order to 
receive traffic for this service. If empty, all pods are selected, if not 
specified, endpoints must be manually specified. More info: 
http://releases.k8s.io/release-1.2/docs/user-guide/services.md#overview";
      },
      "clusterIP": {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-k8sclient-0.3.0/k8sclient/tests/test_k8sclient.py 
new/python-k8sclient-0.4.0/k8sclient/tests/test_k8sclient.py
--- old/python-k8sclient-0.3.0/k8sclient/tests/test_k8sclient.py        
2016-08-29 14:20:39.000000000 +0200
+++ new/python-k8sclient-0.4.0/k8sclient/tests/test_k8sclient.py        
2017-02-07 03:53:10.000000000 +0100
@@ -191,6 +191,18 @@
             name='test-configmap', body={}, namespace='default')
 
 
+    @unittest.skipUnless(
+        _is_k8s_running(), "Kubernetes is not available")
+    def test_node_apis(self):
+        client = api_client.ApiClient('http://127.0.0.1:8080/')
+        api = apiv_api.ApivApi(client)
+
+        for item in api.list_namespaced_node().items:
+            node = api.read_namespaced_node(name=item.metadata.name)
+            self.assertTrue(len(node.metadata.labels) > 0)
+            self.assertIsInstance(node.metadata.labels, dict)
+
+
 class TestK8sclientBeta(base.TestCase):
     @unittest.skipUnless(
         _is_k8s_running(), "Kubernetes is not available")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-k8sclient-0.3.0/python_k8sclient.egg-info/PKG-INFO 
new/python-k8sclient-0.4.0/python_k8sclient.egg-info/PKG-INFO
--- old/python-k8sclient-0.3.0/python_k8sclient.egg-info/PKG-INFO       
2016-08-29 14:22:10.000000000 +0200
+++ new/python-k8sclient-0.4.0/python_k8sclient.egg-info/PKG-INFO       
2017-02-07 03:55:51.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: python-k8sclient
-Version: 0.3.0
+Version: 0.4.0
 Summary: This is Kubernetes API python client code. This code is generated by 
swagger-codegen. Kubernetes provide swagger-spec to generate client code for 
different versions. The specs live in Kubernetes repo.
 Home-page: http://www.openstack.org/
 Author: OpenStack
@@ -41,7 +41,7 @@
         
         * Clone the python-k8sclient repo::
         
-            git clone https://github.com/openstack/python-k8sclient.git
+            git clone https://git.openstack.org/openstack/python-k8sclient
         
         * Clone the swagger-codegen repo. It is recommended to checkout a 
release
          (e.g. v2.1.3) instead of using the master branch::
@@ -55,7 +55,8 @@
             mvn package
         
         * Update the v1.json from latest Kubernetes release::
-          curl -o ./k8sclient/templates/v1.json 
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.2.2/api/swagger-spec/v1.json
+        
+            curl -o ./k8sclient/templates/v1.json 
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.2.2/api/swagger-spec/v1.json
         
         * Run below command to generate the API client code for Kubernetes::
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/python-k8sclient-0.3.0/python_k8sclient.egg-info/pbr.json 
new/python-k8sclient-0.4.0/python_k8sclient.egg-info/pbr.json
--- old/python-k8sclient-0.3.0/python_k8sclient.egg-info/pbr.json       
2016-08-29 14:22:10.000000000 +0200
+++ new/python-k8sclient-0.4.0/python_k8sclient.egg-info/pbr.json       
2017-02-07 03:55:51.000000000 +0100
@@ -1 +1 @@
-{"is_release": true, "git_version": "a216939"}
\ No newline at end of file
+{"git_version": "c18bd6f", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-k8sclient-0.3.0/setup.cfg 
new/python-k8sclient-0.4.0/setup.cfg
--- old/python-k8sclient-0.3.0/setup.cfg        2016-08-29 14:22:10.000000000 
+0200
+++ new/python-k8sclient-0.4.0/setup.cfg        2017-02-07 03:55:52.000000000 
+0100
@@ -48,5 +48,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-k8sclient-0.3.0/tox.ini 
new/python-k8sclient-0.4.0/tox.ini
--- old/python-k8sclient-0.3.0/tox.ini  2016-08-29 14:20:39.000000000 +0200
+++ new/python-k8sclient-0.4.0/tox.ini  2017-02-07 03:53:10.000000000 +0100
@@ -1,59 +1,34 @@
 [tox]
 minversion = 2.0
-envlist = 
py35-constraints,py34-constraints,py27-constraints,pypy-constraints,pep8-constraints
+envlist = py35,py34,py27,pypy,pep8
 skipsdist = True
 
 [testenv]
 usedevelop = True
-install_command =
-                  constraints: {[testenv:common-constraints]install_command}
-                  pip install -U {opts} {packages}
+install_command = pip install -U {opts} {packages}
 setenv =
    VIRTUAL_ENV={envdir}
 deps = -r{toxinidir}/test-requirements.txt
 commands = python setup.py test --slowest --testr-args='{posargs}'
 
-[testenv:common-constraints]
-install_command = pip install 
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
 {opts} {packages}
-
 [testenv:py27-functional]
 commands = {toxinidir}/tools/kube-init.sh python setup.py testr --slowest 
--testr-args="{posargs}"
 
 [testenv:pep8]
 commands = flake8 {posargs}
 
-[testenv:pep8-constraints]
-install_command = {[testenv:common-constraints]install_command}
-commands = flake8 {posargs}
-
 [testenv:venv]
 commands = {posargs}
 
-[testenv:venv-constraints]
-install_command = {[testenv:common-constraints]install_command}
-commands = {posargs}
-
 [testenv:cover]
 commands = python setup.py test --coverage --testr-args='{posargs}'
 
-[testenv:cover-constraints]
-install_command = {[testenv:common-constraints]install_command}
-commands = python setup.py test --coverage --testr-args='{posargs}'
-
 [testenv:docs]
 commands = python setup.py build_sphinx
 
-[testenv:docs-constraints]
-install_command = {[testenv:common-constraints]install_command}
-commands = python setup.py build_sphinx
-
 [testenv:debug]
 commands = oslo_debug_helper {posargs}
 
-[testenv:debug-constraints]
-install_command = {[testenv:common-constraints]install_command}
-commands = oslo_debug_helper {posargs}
-
 [flake8]
 # E123, E125 skipped as they are invalid PEP-8.
 


Reply via email to