Compare commits
7 Commits
master
...
release-2.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c640c69de | ||
|
|
ccc98096bf | ||
|
|
e4c5cc7a92 | ||
|
|
f8f0d89aab | ||
|
|
f4d943b435 | ||
|
|
13f847e70d | ||
|
|
66ceec4962 |
@ -1,3 +1,6 @@
|
|||||||
|
# v2.0.0b2
|
||||||
|
- Bugfix: support RFC6902 'json-patch' operations #187
|
||||||
|
|
||||||
# v1.0.1
|
# v1.0.1
|
||||||
- Bugfix: urllib3 1.21 fails tests, Excluding version 1.21 from dependencies #197
|
- Bugfix: urllib3 1.21 fails tests, Excluding version 1.21 from dependencies #197
|
||||||
|
|
||||||
|
|||||||
@ -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:
|
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
||||||
|
|
||||||
- API version: v1.6.3
|
- API version: v1.6.3
|
||||||
- Package version: 2.0.0-snapshot
|
- Package version: 2.0.0
|
||||||
- Build package: io.swagger.codegen.languages.PythonClientCodegen
|
- Build package: io.swagger.codegen.languages.PythonClientCodegen
|
||||||
|
|
||||||
## Requirements.
|
## Requirements.
|
||||||
|
|||||||
@ -154,8 +154,8 @@ class RESTClientObject(object):
|
|||||||
if query_params:
|
if query_params:
|
||||||
url += '?' + urlencode(query_params)
|
url += '?' + urlencode(query_params)
|
||||||
if headers['Content-Type'] == 'application/json-patch+json':
|
if headers['Content-Type'] == 'application/json-patch+json':
|
||||||
headers[
|
if not isinstance(body, list):
|
||||||
'Content-Type'] = 'application/strategic-merge-patch+json'
|
headers['Content-Type'] = 'application/strategic-merge-patch+json'
|
||||||
request_body = None
|
request_body = None
|
||||||
if body:
|
if body:
|
||||||
request_body = json.dumps(body)
|
request_body = json.dumps(body)
|
||||||
|
|||||||
@ -18,13 +18,13 @@ import sys
|
|||||||
KUBERNETES_BRANCH = "release-1.6"
|
KUBERNETES_BRANCH = "release-1.6"
|
||||||
|
|
||||||
# client version for packaging and releasing.
|
# client version for packaging and releasing.
|
||||||
CLIENT_VERSION = "2.0.0-snapshot"
|
CLIENT_VERSION = "2.0.0"
|
||||||
|
|
||||||
# Name of the release package
|
# Name of the release package
|
||||||
PACKAGE_NAME = "kubernetes"
|
PACKAGE_NAME = "kubernetes"
|
||||||
|
|
||||||
# Stage of development, mainly used in setup.py's classifiers.
|
# Stage of development, mainly used in setup.py's classifiers.
|
||||||
DEVELOPMENT_STATUS = "3 - Alpha"
|
DEVELOPMENT_STATUS = "5 - Production/Stable"
|
||||||
|
|
||||||
|
|
||||||
# If called directly, return the constant value given
|
# If called directly, return the constant value given
|
||||||
|
|||||||
@ -60,7 +60,7 @@ find "${CLIENT_ROOT}/" -type f -name \*.md -exec sed -i 's/kubernetes.client-pyt
|
|||||||
echo "--- updating version information..."
|
echo "--- updating version information..."
|
||||||
sed -i'' "s/^CLIENT_VERSION = .*/CLIENT_VERSION = \\\"${CLIENT_VERSION}\\\"/" "${SCRIPT_ROOT}/../setup.py"
|
sed -i'' "s/^CLIENT_VERSION = .*/CLIENT_VERSION = \\\"${CLIENT_VERSION}\\\"/" "${SCRIPT_ROOT}/../setup.py"
|
||||||
sed -i'' "s/^PACKAGE_NAME = .*/PACKAGE_NAME = \\\"${PACKAGE_NAME}\\\"/" "${SCRIPT_ROOT}/../setup.py"
|
sed -i'' "s/^PACKAGE_NAME = .*/PACKAGE_NAME = \\\"${PACKAGE_NAME}\\\"/" "${SCRIPT_ROOT}/../setup.py"
|
||||||
sed -i'' "s/^DEVELOPMENT_STATUS = .*/DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STATUS}\\\"/" "${SCRIPT_ROOT}/../setup.py"
|
sed -i'' "s,^DEVELOPMENT_STATUS = .*,DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STATUS}\\\"," "${SCRIPT_ROOT}/../setup.py"
|
||||||
sed -i'' "/^configuration = Configuration()$/d" "${CLIENT_ROOT}/client/__init__.py"
|
sed -i'' "/^configuration = Configuration()$/d" "${CLIENT_ROOT}/client/__init__.py"
|
||||||
sed -i'' "/^from .configuration import Configuration$/d" "${CLIENT_ROOT}/client/__init__.py"
|
sed -i'' "/^from .configuration import Configuration$/d" "${CLIENT_ROOT}/client/__init__.py"
|
||||||
sed -i '${/^$/d;}' "${CLIENT_ROOT}/client/__init__.py"
|
sed -i '${/^$/d;}' "${CLIENT_ROOT}/client/__init__.py"
|
||||||
|
|||||||
4
setup.py
4
setup.py
@ -16,9 +16,9 @@ from setuptools import find_packages, setup
|
|||||||
|
|
||||||
# Do not edit these constants. They will be updated automatically
|
# Do not edit these constants. They will be updated automatically
|
||||||
# by scripts/update-client.sh.
|
# by scripts/update-client.sh.
|
||||||
CLIENT_VERSION = "2.0.0-snapshot"
|
CLIENT_VERSION = "2.0.0"
|
||||||
PACKAGE_NAME = "kubernetes"
|
PACKAGE_NAME = "kubernetes"
|
||||||
DEVELOPMENT_STATUS = "3 - Alpha"
|
DEVELOPMENT_STATUS = "5 - Production/Stable"
|
||||||
|
|
||||||
# To install the library, run the following
|
# To install the library, run the following
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user