8000 Release 11.0 by palnabarun · Pull Request #1097 · kubernetes-client/python · GitHub
[go: up one dir, main page]

Skip to content

Release 11.0 #1097

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 44 commits into from
Mar 12, 2020
Merged

Conversation

palnabarun
Copy link
Member
@palnabarun palnabarun commented Mar 3, 2020

cclauss and others added 30 commits November 16, 2019 14:12
Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. On n Python >= 3.8, these instances will raise SyntaxWarnings so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8
Update README and CHANGELOG in master branch
Fix deprecation warning in e2e tests
Use ==/!= to compare str, bytes, and int literals
…object_doc

Fix Custom Objects API example
This removes the __del__ function from the generated Python client,
and replaces it with a cleanup function. When a ThreadPool is created,
the cleanup function is registered with the atexit module.

This PR also allows the client to be used as a context manager, which
will automatically clean up after itself rather than having to wait til
process exit.

This fixes issue kubernetes-client#1037, where the API client could hang indefinitely at
garbage collection.
Cleanup ThreadPool with atexit rather than __del__
…ssues

Document hot issues in release process
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 3, 2020
@k8s-ci-robot k8s-ci-robot requested review from roycaihw and yliaog March 3, 2020 13:32
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 3, 2020
@palnabarun
Copy link
Member Author

/assign

@palnabarun palnabarun marked this pull request as ready for review March 11, 2020 12:27
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 11, 2020
@palnabarun
Copy link
Member Author

The hotfixes were done using the changes in #1103 . The release branch does not necessarily need those changes.

Copy link
Member
@roycaihw roycaihw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API change looks clean to me.

/lgtm
/approve

$ git diff 3ef3dd471f230c6d9f1c3fb2127823f410ec11bc~ 3ef3dd471f230c6d9f1c3fb2127823f410ec11bc --stat | grep -v "|  2 +-"
 kubernetes/README.md                               |  4 +-
 kubernetes/client/__init__.py                      |  4 +-
 kubernetes/client/api/custom_objects_api.py        | 58 ++++++++++------------
 kubernetes/client/api_client.py                    | 16 ++----
 kubernetes/client/apis/__init__.py                 | 13 -----
 kubernetes/client/configuration.py                 |  6 +--
 kubernetes/docs/CustomObjectsApi.md                | 16 +++---
 kubernetes/test/test_api_client.py                 | 25 ----------
 scripts/swagger.json                               |  4 +-
 setup.py                                           |  4 +-
6D40

 1350 files changed, 1386 insertions(+), 1444 deletions(-)

- Fix persist_config flag and function calls [kubernetes-client/python-base#169](https://github.com/kubernetes-client/python-base/pull/169)
- Fix memory inneficiencies in the WebSocket client [kubernetes-client/python-base#178](https://github.com/kubernetes-client/python-base/pull/178)
- Fix functionality to watch logs when log line is not a JSON-serialized object [kubernetes-client/python-base#171](https://github.com/kubernetes-client/python-base/pull/171)
- Detect binary payloads and send the correct opcode [kubernetes-client/python-base#152](https://github.com/kubernetes-client/python-base/pull/152)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for going through the changes in python-base and collect the release notes.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 12, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: palnabarun, roycaihw

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 12, 2020
@k8s-ci-robot k8s-ci-robot merged commit 1dd9a4c into kubernetes-client:release-11.0 Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants
0