← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1618666] Re: deprecated warning for SafeConfigParser

 

Reviewed:  https://review.openstack.org/370542
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=8254a3f54d757927d159b3edc4f4f982bd8d6138
Submitter: Jenkins
Branch:    master

commit 8254a3f54d757927d159b3edc4f4f982bd8d6138
Author: Janonymous <janonymous.codevulture@xxxxxxxxx>
Date:   Thu Sep 15 10:38:48 2016 +0530

    Use ConfigParser instead of SafeConfigParser
    
    SafeConfigParser supports interpolation on top of ConfigParser in Python 2,
    and 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 we can use ConfigParser if we don't need interpolation.
    
    Change-Id: If210bd1322df96c0c8aea1f257148dc46affb422
    Closes-Bug: #1618666


** Changed in: tempest
       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:
  In Progress
Status in glance_store:
  In Progress
Status in Ironic:
  In Progress
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:
  In Progress
Status in OpenStack Object Storage (swift):
  In Progress
Status in tempest:
  Fix Released
Status in OpenStack DBaaS (Trove):
  In Progress

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