yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06285
[Bug 1236648] Re: __metaclass__ is incompatible for python 3
** Changed in: cinder
Status: Fix Committed => Fix Released
** Changed in: cinder
Milestone: None => icehouse-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1236648
Title:
__metaclass__ is incompatible for python 3
Status in OpenStack Telemetry (Ceilometer):
Fix Committed
Status in Cinder:
Fix Released
Status in OpenStack Neutron (virtual network service):
Fix Committed
Status in OpenStack Compute (Nova):
Fix Committed
Status in Oslo - a Library of Common OpenStack Code:
Fix Committed
Status in Python client library for Keystone:
Fix Committed
Status in Python client library for Nova:
Fix Committed
Bug description:
Some class uses __metaclass__ for abc.ABCMeta.
six be used in general for python 3 compatibility.
For example
import abc
import six
six.add_metaclass(abc.ABCMeta)
class FooDriver:
@abc.abstractmethod
def bar():
pass
To manage notifications about this bug go to:
https://bugs.launchpad.net/ceilometer/+bug/1236648/+subscriptions