Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Generate 11.0.0b2 client #1014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v11.0.0b2
**Bug Fix:**
- Fix a fatal bug in package setup [kubernetes-client/python#1011](https://github.com/kubernetes-client/python/pull/1011)

# v11.0.0b1
**Bug Fix:**
- Fix a bug in kubeconfig loader where NoneType gets iterated [kubernetes-client/python-base#158](https://github.com/kubernetes-client/python-base/pull/158)
Expand Down
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,16 @@ supported versions of Kubernetes clusters.

#### Compatibility matrix

| | Kubernetes 1.9 | Kubernetes 1.10 | Kubernetes 1.11 | Kubernetes 1.12 | Kubernetes 1.13 | Kubernetes 1.14 |
|--------------------|----------------|-----------------|-----------------|-----------------|-----------------|-----------------|
| client-python 5.0 |✓ |- |- |- |- |- |
| client-python 6.0 |+ |✓ |- |- |- |- |
| client-python 7.0 |+ |+ |✓ |- |- |- |
| client-python 8.0 |+ |+ |+ |✓ |- |- |
| client-python 9.0 |+ |+ |+ |+ |✓ |- |
| client-python 10.0 |+ |+ |+ |+ |+ |✓ |
| client-python HEAD |+ |+ |+ |+ |+ |✓ |
| | Kubernetes 1.9 | Kubernetes 1.10 | Kubernetes 1.11 | Kubernetes 1.12 | Kubernetes 1.13 | Kubernetes 1.14 | Kubernetes 1.15 |
|--------------------|----------------|-----------------|-----------------|-----------------|-----------------|-----------------|-----------------|
| client-python 5.0 |✓ |- |- |- |- |- |- |
| client-python 6.0 |+ |✓ |- |- |- |- |- |
| client-python 7.0 |+ |+ |✓ |- |- |- |- |
| client-python 8.0 |+ |+ |+ |✓ |- |- |- |
| client-python 9.0 |+ |+ |+ |+ |✓ |- |- |
| client-python 10.0 |+ |+ |+ |+ |+ |✓ |- |
| client-python 11.0 |+ |+ |+ |+ |+ |+ |✓ |
| client-python HEAD |+ |+ |+ |+ |+ |+ |✓ |

Key:

Expand Down Expand Up @@ -118,6 +119,7 @@ between client-python versions.
| 9.0 | Kubernetes main repo, 1.13 branch | ✓ |
| 10.0 Alpha/Beta | Kubernetes main repo, 1.14 branch | ✗ |
| 10.0 | Kubernetes main repo, 1.14 branch | ✓ |
| 11.0 Alpha/Beta | Kubernetes main repo, 1.15 branch | ✓ |

Key:

Expand Down
2 changes: 1 addition & 1 deletion kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: v1.15.7
- Package version: 11.0.0b1
- Package version: 11.0.0b2
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

__project__ = 'kubernetes'
# The version is auto-updated. Please do not edit.
__version__ = "11.0.0b1"
__version__ = "11.0.0b2"

import kubernetes.client
import kubernetes.config
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from __future__ import absolute_import

__version__ = "11.0.0b1"
__version__ = "11.0.0b2"

# import apis into sdk package
from kubernetes.client.api.admissionregistration_api import AdmissionregistrationApi
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/11.0.0b1/python'
self.user_agent = 'OpenAPI-Generator/11.0.0b2/python'

def __del__(self):
if self._pool:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,5 +231,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1.15.7\n"\
"SDK Package Version: 11.0.0b1".\
"SDK Package Version: 11.0.0b2".\
format(env=sys.platform, pyversion=sys.version)
2 changes: 1 addition & 1 deletion scripts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
KUBERNETES_BRANCH = "release-1.15"

# client version for packaging and releasing.
CLIENT_VERSION = "11.0.0b1"
CLIENT_VERSION = "11.0.0b2"

# Name of the release package
PACKAGE_NAME = "kubernetes"
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Do not edit these constants. They will be updated automatically
# by scripts/update-client.sh.
CLIENT_VERSION = "11.0.0b1"
CLIENT_VERSION = "11.0.0b2"
PACKAGE_NAME = "kubernetes"
DEVELOPMENT_STATUS = "4 - Beta"

Expand Down Expand Up @@ -58,9 +58,9 @@
tests_require=TESTS_REQUIRES,
extras_require=EXTRAS,
packages=['kubernetes', 'kubernetes.client', 'kubernetes.config',
'kubernetes.watch', 'kubernetes.client.apis',
'kubernetes.watch', 'kubernetes.client.api',
'kubernetes.stream', 'kubernetes.client.models',
'kubernetes.utils'],
'kubernetes.utils', 'kubernetes.client.apis'],
include_package_data=True,
long_description="Python client for kubernetes http://kubernetes.io/",
classifiers=[
Expand Down