yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75330
[Bug 1797815] Re: DeprecationWarning: decodestring() is a deprecated alias, use decodebytes()
Reviewed: https://review.openstack.org/610401
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ece8043ffe9e7df96366a295024e353af41d5fdb
Submitter: Zuul
Branch: master
commit ece8043ffe9e7df96366a295024e353af41d5fdb
Author: Takashi NATSUME <natsume.takashi@xxxxxxxxxxxxx>
Date: Mon Oct 15 09:00:16 2018 +0900
Fix deprecated base64.decodestring warning
Replace base64.decodestring with
oslo_serialization.base64.decode_as_bytes.
Change-Id: Ifce0e8d9633f33f12040a1d5a2235cbcb673a436
Closes-Bug: #1797815
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1797815
Title:
DeprecationWarning: decodestring() is a deprecated alias, use
decodebytes()
Status in OpenStack Compute (nova):
Fix Released
Bug description:
When executing 'tox -e py35', the following deprecation warning is shown.
It should be fixed.
{0}
nova.tests.unit.api.openstack.compute.test_serversV21.ServersControllerCreateTest.test_create_instance_with_none_allowd_for_v20_compat_mode
[4.981822s] ... ok
Captured stderr:
~~~~~~~~~~~~~~~~
(snipped...)
b'/tmp/nova/nova/api/validation/validators.py:61: DeprecationWarning: decodestring() is a deprecated alias, use decodebytes()'
b' base64.decodestring(instance)'
b''
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1797815/+subscriptions
References