← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1798224] Re: DeprecationWarning: The behavior of .best_match for the Accept classes is currently being maintained for backward compatibility, but the method will be deprecated in the future

 

** Also affects: cinder
   Importance: Undecided
       Status: New

-- 
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/1798224

Title:
  DeprecationWarning: The behavior of .best_match for the Accept classes
  is currently being maintained for backward compatibility, but the
  method will be deprecated in the future

Status in Cinder:
  In Progress
Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  When executing 'tox -e py35', the following deprecation warning is shown.
  It should be fixed.

  2018-10-16 03:36:49.117553 | ubuntu-xenial | {5} nova.tests.unit.api.openstack.compute.test_disk_config.DiskConfigTestCaseV21.test_update_server_override_auto [0.544275s] ... ok
  2018-10-16 03:36:49.117626 | ubuntu-xenial |
  2018-10-16 03:36:49.117666 | ubuntu-xenial | Captured stderr:
  2018-10-16 03:36:49.117703 | ubuntu-xenial | ~~~~~~~~~~~~~~~~
  (snipped...)
  2018-10-16 03:36:49.118228 | ubuntu-xenial |     b'/home/zuul/src/git.openstack.org/openstack/nova/.tox/py35/lib/python3.5/site-packages/webob/acceptparse.py:1379: DeprecationWarning: The behavior of .best_match for the Accept classes is currently being maintained for backward compatibility, but the method will be deprecated in the future, as its behavior is not specified in (and currently does not conform to) RFC 7231.'
  2018-10-16 03:36:49.118288 | ubuntu-xenial |     b'  DeprecationWarning,'
  2018-10-16 03:36:49.118319 | ubuntu-xenial |     b''

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1798224/+subscriptions


References