← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1797815] [NEW] DeprecationWarning: decodestring() is a deprecated alias, use decodebytes()

 

Public bug reported:

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''

** Affects: nova
     Importance: Undecided
     Assignee: Takashi NATSUME (natsume-takashi)
         Status: New


** Tags: testing

-- 
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):
  New

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


Follow ups