Skip to content

Commit 8980f12

Browse files
authored
Merge pull request #2331 from yliaog/automated-release-of-32.0.0-upstream-release-32.0-1737659562
Automated release of 32.0.0 upstream release 32.0 1737659562
2 parents 96f3758 + 8db4744 commit 8980f12

File tree

10 files changed

+27
-14
lines changed

10 files changed

+27
-14
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# v32.0.0
2+
3+
Kubernetes API Version: v1.32.1
4+
5+
### Bug or Regression
6+
- Fixed PortForward proxy to close local Python sockets when the WebSocket closes. (#2316, @anvilpete)
7+
18
# v32.0.0b1
29

310
Kubernetes API Version: v1.32.1

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ supported versions of Kubernetes clusters.
101101
- [client 29.y.z](https://pypi.org/project/kubernetes/29.0.0/): Kubernetes 1.28 or below (+-), Kubernetes 1.29 (✓), Kubernetes 1.30 or above (+-)
102102
- [client 30.y.z](https://pypi.org/project/kubernetes/30.1.0/): Kubernetes 1.29 or below (+-), Kubernetes 1.30 (✓), Kubernetes 1.31 or above (+-)
103103
- [client 31.y.z](https://pypi.org/project/kubernetes/31.0.0/): Kubernetes 1.30 or below (+-), Kubernetes 1.31 (✓), Kubernetes 1.32 or above (+-)
104-
- [client 32.y.z](https://pypi.org/project/kubernetes/32.0.0b1/): Kubernetes 1.31 or below (+-), Kubernetes 1.32 (✓), Kubernetes 1.33 or above (+-)
104+
- [client 32.y.z](https://pypi.org/project/kubernetes/32.0.0/): Kubernetes 1.31 or below (+-), Kubernetes 1.32 (✓), Kubernetes 1.33 or above (+-)
105105

106106

107107
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.
@@ -164,12 +164,13 @@ between client-python versions.
164164
| 28.0 Alpha/Beta | Kubernetes main repo, 1.28 branch ||
165165
| 28.0 | Kubernetes main repo, 1.28 branch ||
166166
| 29.0 Alpha/Beta | Kubernetes main repo, 1.29 branch ||
167-
| 29.0 | Kubernetes main repo, 1.29 branch | |
167+
| 29.0 | Kubernetes main repo, 1.29 branch | |
168168
| 30.0 Alpha/Beta | Kubernetes main repo, 1.30 branch ||
169169
| 30.0 | Kubernetes main repo, 1.30 branch ||
170170
| 31.0 Alpha/Beta | Kubernetes main repo, 1.31 branch ||
171171
| 31.0 | Kubernetes main repo, 1.31 branch ||
172-
| 32.0 Alpha/Beta | Kubernetes main repo, 1.32 branch ||
172+
| 32.0 Alpha/Beta | Kubernetes main repo, 1.32 branch ||
173+
| 32.0 | Kubernetes main repo, 1.32 branch ||
173174

174175
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.
175176

kubernetes/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: release-1.32
7-
- Package version: 32.0.0b1
7+
- Package version: 32.0.0
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

kubernetes/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
__project__ = 'kubernetes'
1616
# The version is auto-updated. Please do not edit.
17-
__version__ = "32.0.0b1"
17+
__version__ = "32.0.0"
1818

1919
from . import client
2020
from . import config

kubernetes/base/stream/ws_client.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from six.moves.urllib.parse import urlencode, urlparse, urlunparse
3131
from six import StringIO, BytesIO
3232

33-
from websocket import WebSocket, ABNF, enableTrace
33+
from websocket import WebSocket, ABNF, enableTrace, WebSocketConnectionClosedException
3434
from base64 import urlsafe_b64decode
3535
from requests.utils import should_bypass_proxies
3636

@@ -379,7 +379,12 @@ def _proxy(self):
379379
if sock == self.websocket:
380380
pending = True
381381
while pending:
382-
opcode, frame = self.websocket.recv_data_frame(True)
382+
try:
383+
opcode, frame = self.websocket.recv_data_frame(True)
384+
except WebSocketConnectionClosedException:
385+
for port in self.local_ports.values():
386+
port.python.close()
387+
return
383388
if opcode == ABNF.OPCODE_BINARY:
384389
if not frame.data:
385390
raise RuntimeError("Unexpected frame data size")

kubernetes/client/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "32.0.0b1"
17+
__version__ = "32.0.0"
1818

1919
# import apis into sdk package
2020
from kubernetes.client.api.well_known_api import WellKnownApi

kubernetes/client/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7878
self.default_headers[header_name] = header_value
7979
self.cookie = cookie
8080
# Set default User-Agent.
81-
self.user_agent = 'OpenAPI-Generator/32.0.0b1/python'
81+
self.user_agent = 'OpenAPI-Generator/32.0.0/python'
8282
self.client_side_validation = configuration.client_side_validation
8383

8484
def __enter__(self):

kubernetes/client/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def to_debug_report(self):
354354
"OS: {env}\n"\
355355
"Python Version: {pyversion}\n"\
356356
"Version of the API: release-1.32\n"\
357-
"SDK Package Version: 32.0.0b1".\
357+
"SDK Package Version: 32.0.0".\
358358
format(env=sys.platform, pyversion=sys.version)
359359

360360
def get_host_settings(self):

scripts/constants.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
KUBERNETES_BRANCH = "release-1.32"
1919

2020
# client version for packaging and releasing.
21-
CLIENT_VERSION = "32.0.0b1"
21+
CLIENT_VERSION = "32.0.0"
2222

2323
# Name of the release package
2424
PACKAGE_NAME = "kubernetes"
2525

2626
# Stage of development, mainly used in setup.py's classifiers.
27-
DEVELOPMENT_STATUS = "4 - Beta"
27+
DEVELOPMENT_STATUS = "5 - Production/Stable"
2828

2929

3030
# If called directly, return the constant value given

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
# Do not edit these constants. They will be updated automatically
1818
# by scripts/update-client.sh.
19-
CLIENT_VERSION = "32.0.0b1"
19+
CLIENT_VERSION = "32.0.0"
2020
PACKAGE_NAME = "kubernetes"
21-
DEVELOPMENT_STATUS = "4 - Beta"
21+
DEVELOPMENT_STATUS = "5 - Production/Stable"
2222

2323
# To install the library, run the following
2424
#

0 commit comments

Comments
 (0)