yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #61885
[Bug 1618666] Re: deprecated warning for SafeConfigParser
Reviewed: https://review.openstack.org/368409
Committed: https://git.openstack.org/cgit/openstack/glance_store/commit/?id=93f5570bde937b771e0eac5d056889204770f223
Submitter: Jenkins
Branch: master
commit 93f5570bde937b771e0eac5d056889204770f223
Author: ChangBo Guo(gcb) <eric.guo@xxxxxxxxxxxx>
Date: Fri Jan 6 12:43:59 2017 +0800
Fix SafeConfigParser DeprecationWarning in Python 3.2+
SafeConfigParser is deprecated in Python 3.2 and log warning
like " DeprecationWarning: The SafeConfigParser class has
been renamed to ConfigParser in Python 3.2. This alias will be
removed in future versions. Use ConfigParser directly instead."
So use ConfigParser in Python 3.2+.
We don't support Python 2.6 now, so don't need set dict_type manually.
Closes-Bug: #1618666
Change-Id: I53fba2317b4621488cb602c7f9f7b231f2dd80d7
** Changed in: glance-store
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1618666
Title:
deprecated warning for SafeConfigParser
Status in Glance:
Fix Released
Status in glance_store:
Fix Released
Status in Ironic:
Fix Released
Status in OpenStack Identity (keystone):
Fix Released
Status in neutron:
Fix Released
Status in OpenStack Compute (nova):
Fix Released
Status in PBR:
Fix Released
Status in python-ironicclient:
Fix Released
Status in python-swiftclient:
Fix Released
Status in OpenStack Object Storage (swift):
Fix Released
Status in tempest:
Fix Released
Status in OpenStack DBaaS (Trove):
Fix Released
Bug description:
tox -e py34 is reporting a deprecation warning for SafeConfigParser
/octavia/.tox/py34/lib/python3.4/site-packages/pbr/util.py:207: DeprecationWarning: The SafeConfigParser class has been renamed to ConfigParser in Python 3.2. This alias will be removed in future versions. Use ConfigParser directly instead.
parser = configparser.SafeConfigParser()
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1618666/+subscriptions