You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenAPI Generator v7 removed python-legacy, preventing the synchronous
Kubernetes client from moving beyond v6.6.0 and inheriting the modern
Python generator's native type information.
Regenerate with the released v7.24.0 Python generator, declare its
runtime requirements, package py.typed, and refresh the Sphinx API
index. Adapt dynamic, stream, watch, OIDC, YAML, leader-election, and
example callers to the modern transport and legacy-compatible response
behavior.
Remove obsolete post-generation hotfixes while retaining the small REST
correction that selects strategic merge for built-in object patches and
JSON Patch for operation lists. Preserve dict, JSON Patch, and generated
model PATCH bodies, Kubernetes IntOrString and CRD JSON-schema
representations, and both successful Namespace-delete response shapes.
Defer Pydantic call validators so importing does not build all 1,872
schemas eagerly. Restore DynamicClient's JSON discovery default to avoid
the literal wildcard Content-Type rejected by API discovery routes.
Correct invalid exec and metadata test inputs, cover these behaviors and
asynchronous YAML creation with request-level compatibility tests, and
document the remaining synchronous breaking changes in the changelog.
Copy file name to clipboardExpand all lines: devel/release.md
+4-37Lines changed: 4 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,62 +104,29 @@ command:
104
104
scripts/update-client.sh
105
105
```
106
106
107
-
**NOTE**: If you see a lot of new or modified files under the `kubernetes/test/`
108
-
directory, delete everything except `kubernetes/test/test_api_client.py` and
109
-
`kubernetes/test/test_configuration.py`.
110
-
111
107
Commit changes (should be only version number changes) to the release branch.
112
108
Name the commit something like "Update version constants for XXX release".
113
109
114
-
***After you finished the steps above, refer to the section, "Hot issues", and
115
-
apply the manual fixes.***
116
-
117
110
```bash
118
111
git push upstream $RELEASE_BRANCH
119
112
```
120
113
121
-
### 3. Hot issues
122
-
123
-
Use the `scripts/apply-hotfixes.sh` script to apply the fixes below in one step.
124
-
**As mentioned above, the script should be run after finishing the section "Update release tags". Also, ensure a clean working directory before applying the script.**
125
-
126
-
Commit the manual changes like this [PR](https://github.com/kubernetes-client/python/pull/995/commits) does.
127
-
128
-
There are some hot issues with the client generation that require manual fixes.
129
-
**The steps below are deprecated and only exist for documentation purposess. They should be performed using the `scripts/apply-hotfixes.sh` script mentioned above.**
130
-
131
-
1. Restore custom object patch behavior. You should apply [this commit](https://github.com/kubernetes-client/python/pull/995/commits/9959273625b999ae9a8f0679c4def2ee7d699ede)
132
-
to ensure custom object patch behavior is backwards compatible. For more
133
-
details, see [#866](https://github.com/kubernetes-client/python/issues/866) and
2. Add alias package kubernetes.client.apis with deprecation warning. You need
137
-
to add [this file](https://github.com/kubernetes-client/python/blob/0976d59d6ff206f2f428cabc7a6b7b1144843b2a/kubernetes/client/apis/__init__.py)
138
-
under `kubernetes/client/apis/` to ensure the package is backwards compatible.
139
-
For more details, see [#974](https://github.com/kubernetes-client/python/issues/974)
140
-
141
-
3. Add ability to the client to be used as Context Manager [kubernetes-client/python#1073](https://github.com/kubernetes-client/python/pull/1073)
142
-
143
-
4. Remove the tests directory (ref: https://github.com/kubernetes-client/python/commit/ec9c944f076999543cd2122aff2d86f969d82548). See the [upstream issue](https://github.com/OpenAPITools/openapi-generator/issues/5377) for more information.
144
-
145
-
5. Add tests for the default `Configuration` behavior (ref: https://github.com/kubernetes-client/python/pull/1303 and https://github.com/kubernetes-client/python/pull/1285). The commit [1ffa61d0650e4c93e0d7f0becd2c54797eafd407](https://github.com/kubernetes-client/python/pull/1285/commits/1ffa61d0650e4c93e0d7f0becd2c54797eafd407) should be cherry-picked.
146
-
147
-
### 4. CHANGELOG
114
+
### 3. CHANGELOG
148
115
149
116
Make sure the change logs are up to date [here](https://github.com/kubernetes-client/python/blob/master/CHANGELOG.md).
150
117
If they are not, follow commits added after the last release and update/commit
151
118
the change logs to master.
152
119
153
120
Then based on the release, follow one of next two steps.
154
121
155
-
### 5. README
122
+
### 4. README
156
123
157
124
Update the compatibility matrix and maintenance status in the README file.
158
125
159
126
### Submit pull request
160
127
161
-
Typically after the you've completed steps 2-6 above you can push your changes
162
-
open a pull request against `kubernetes-client:release-x.y`
128
+
After completing the steps above, push your changes and open a pull request
0 commit comments