yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06835
[Bug 1236648] Re: __metaclass__ is incompatible for python 3
** Changed in: oslo
Status: Fix Committed => Fix Released
** Changed in: oslo
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 Released
Status in Cinder:
Fix Released
Status in OpenStack Neutron (virtual network service):
Fix Released
Status in OpenStack Compute (Nova):
Fix Released
Status in Oslo - a Library of Common OpenStack Code:
Fix Released
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