← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1618666] Re: deprecated warning for SafeConfigParser

 

Reviewed:  https://review.openstack.org/368617
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=1f690df60c0ce7b627c4ebceaecaa5370ff10042
Submitter: Jenkins
Branch:    master

commit 1f690df60c0ce7b627c4ebceaecaa5370ff10042
Author: Luong Anh Tuan <tuanla@xxxxxxxxxxxxxx>
Date:   Mon Sep 12 15:01:29 2016 +0700

    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: I7e399b3cb90ded909e0d777a4d10c44f1e9299da
    Closes-Bug: #1618666


** Changed in: swift
       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):
  Fix Released
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