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

Skip to content

DeprecationWarning from kube_config.py #634

Closed
@rbtcollins

Description

@rbtcollins

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions