From bf11dc9c014e87d1d57bab43b37fdc5b96cf2aba Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Wed, 11 Jul 2018 15:33:41 -0700 Subject: [PATCH 1/2] Update version constants for 7.0.0a1 release --- scripts/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index 6c0c18af71..713712dfed 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -18,13 +18,13 @@ KUBERNETES_BRANCH = "release-1.11" # client version for packaging and releasing. -CLIENT_VERSION = "7.0.0-snapshot" +CLIENT_VERSION = "7.0.0a1" # Name of the release package PACKAGE_NAME = "kubernetes" # Stage of development, mainly used in setup.py's classifiers. -DEVELOPMENT_STATUS = "4 - Beta" +DEVELOPMENT_STATUS = "3 - Alpha" # If called directly, return the constant value given From a4bc4be7d913114670141c2a80c2130145b2239d Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Wed, 11 Jul 2018 15:36:20 -0700 Subject: [PATCH 2/2] Generated client updates for 7.0.0a1 release --- kubernetes/README.md | 2 +- kubernetes/__init__.py | 2 +- kubernetes/client/api_client.py | 2 +- kubernetes/client/configuration.py | 2 +- setup.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kubernetes/README.md b/kubernetes/README.md index 3e3c7eb180..e46732fe14 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -4,7 +4,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: - API version: v1.11.1 -- Package version: 7.0.0-snapshot +- Package version: 7.0.0a1 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index eea580f30c..686db82789 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "7.0.0-snapshot" +__version__ = "7.0.0a1" import kubernetes.client import kubernetes.config diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index a852a5f04c..298a12cef7 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -71,7 +71,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/7.0.0-snapshot/python' + self.user_agent = 'Swagger-Codegen/7.0.0a1/python' def __del__(self): self.pool.close() diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index a22450d7f6..64f6cc1a1c 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -240,5 +240,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1.11.1\n"\ - "SDK Package Version: 7.0.0-snapshot".\ + "SDK Package Version: 7.0.0a1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/setup.py b/setup.py index 13f7031065..4622ba5490 100644 --- a/setup.py +++ b/setup.py @@ -16,9 +16,9 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "7.0.0-snapshot" +CLIENT_VERSION = "7.0.0a1" PACKAGE_NAME = "kubernetes" -DEVELOPMENT_STATUS = "4 - Beta" +DEVELOPMENT_STATUS = "3 - Alpha" # To install the library, run the following #