Skip to content
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

DeprecationWarning from kube_config.py #634

Closed
rbtcollins opened this issue Oct 1, 2018 · 5 comments
Closed

DeprecationWarning from kube_config.py #634

rbtcollins opened this issue Oct 1, 2018 · 5 comments
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

Comments

@rbtcollins
Copy link

Most folk won't see these as they default hidden in widely used Python versions.

17:24:57 ./.tox/venv/lib/python3.5/site-packages/kubernetes/config/kube_config.py:102: DeprecationWarning: decodestring() is a deprecated alias, use decodebytes()
17:24:57    base64.decodestring(self._data.encode()))

Using base64.standard_b64decode will avoid this.

@roycaihw
Copy link
Member

roycaihw commented Oct 4, 2018

@rbtcollins Thanks for reporting this!

@roycaihw roycaihw added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Oct 4, 2018
@dechristo
Copy link
Contributor

I am on this! =)

@roycaihw
Copy link
Member

roycaihw commented Oct 4, 2018

/assign @dechristo

@k8s-ci-robot
Copy link
Contributor

@roycaihw: GitHub didn't allow me to assign the following users: dechristo.

Note that only kubernetes-client members and repo collaborators can be assigned.
For more information please see the contributor guide

In response to this:

/assign @dechristo

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@roycaihw
Copy link
Member

Fixed by kubernetes-client/python-base#90.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Projects
None yet
Development

No branches or pull requests

4 participants