PBR

deprecated warning for SafeConfigParser

Bug #1618666 reported by Michael Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
liwei
Ironic
Fix Released
Low
Sai Kiran
OpenStack Compute (nova)
Fix Released
Low
ChangBo Guo(gcb)
OpenStack DBaaS (Trove)
Fix Released
Medium
ChangBo Guo(gcb)
OpenStack Identity (keystone)
Fix Released
Low
xianming mao
OpenStack Object Storage (swift)
Fix Released
Undecided
Pallavi
PBR
Fix Released
Wishlist
jian.song
glance_store
Fix Released
Low
liwei
neutron
Fix Released
Undecided
lilintan
python-ironicclient
Fix Released
Low
Sai Kiran
python-swiftclient
Fix Released
Undecided
Pallavi
tempest
Fix Released
Wishlist
janonymous

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()

Changed in octavia:
importance: Medium → Undecided
affects: octavia → pbr
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/368399

Changed in trove:
assignee: nobody → ChangBo Guo(gcb) (glongwave)
status: New → In Progress
jian.song (jiansong)
Changed in pbr:
assignee: nobody → jian.song (jiansong)
Changed in pbr:
status: New → In Progress
Changed in nova:
assignee: nobody → ChangBo Guo(gcb) (glongwave)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/368417

Changed in nova:
status: New → In Progress
liwei (wei-li)
Changed in glance:
assignee: nobody → liwei (wei-li)
Changed in glance:
status: New → In Progress
liwei (wei-li)
Changed in glance-store:
assignee: nobody → liwei (wei-li)
Changed in glance-store:
status: New → In Progress
lilintan (lilintan)
Changed in neutron:
assignee: nobody → lilintan (lilintan)
status: New → In Progress
Amrith Kumar (amrith)
Changed in trove:
milestone: none → ocata-1
importance: Undecided → Medium
xianming mao (mars0618)
Changed in cinder:
assignee: nobody → xianming mao (mars0618)
status: New → In Progress
xianming mao (mars0618)
no longer affects: cinder
Changed in keystone:
assignee: nobody → xianming mao (mars0618)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/368404
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=bdfa3c9400afa67053cb20490bce73cdb828b063
Submitter: Jenkins
Branch: master

commit bdfa3c9400afa67053cb20490bce73cdb828b063
Author: lilintan <email address hidden>
Date: Sun Sep 11 16:25:15 2016 +0800

    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.

    Closes-Bug: #1618666
    Change-Id: Ie5d38b86bb2ba3c83c7eb541de0389c6e4dcf654

Changed in neutron:
status: In Progress → Fix Released
Pallavi (pallavi-s)
Changed in swift:
assignee: nobody → Pallavi (pallavi-s)
Changed in python-swiftclient:
assignee: nobody → Pallavi (pallavi-s)
Changed in swift:
status: New → In Progress
Changed in python-swiftclient:
status: New → In Progress
Revision history for this message
Tuan (tuanla) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to pbr (master)

Reviewed: https://review.openstack.org/368408
Committed: https://git.openstack.org/cgit/openstack-dev/pbr/commit/?id=77d9ab7d07feb38281531deeeb4399017b5735d0
Submitter: Jenkins
Branch: master

commit 77d9ab7d07feb38281531deeeb4399017b5735d0
Author: jiansong <email address hidden>
Date: Sun Sep 11 01:49:10 2016 -0700

    Deprecated warning for SafeConfigParser

    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()

    Closes-Bug: #1618666
    Change-Id: Ib280b778938b64717ee1cf94efae2f7b553c8f5e

Changed in pbr:
status: In Progress → Fix Released
tags: added: low-hanging-fruit
Changed in keystone:
importance: Undecided → Low
milestone: none → newton-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/368413
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=408820cbe360e94388d63ba1778f020e9894cdce
Submitter: Jenkins
Branch: master

commit 408820cbe360e94388d63ba1778f020e9894cdce
Author: xianming mao <email address hidden>
Date: Sun Sep 11 16:58:13 2016 +0800

    Use ConfigParser instead of SafeConfigParser

    The SafeConfigParser class has been renamed to ConfigParser in Python
    3.2 [1]. This alias will be removed in future versions.So we can use
    ConfigParser directly instead.

    [1] http://bugs.python.org/issue10627

    Closes-Bug: #1618666
    Change-Id: If01186cefad2149d65ffcc1fc6550d72d26f5b11

Changed in keystone:
status: In Progress → Fix Released
Changed in trove:
assignee: ChangBo Guo(gcb) (glongwave) → Amrith (amrith)
Changed in nova:
importance: Undecided → Low
tags: added: config
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (master)

Fix proposed to branch: master
Review: https://review.openstack.org/369814

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-swiftclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/369819

janonymous (janonymous)
Changed in tempest:
assignee: nobody → janonymous (janonymous)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/370542

Changed in tempest:
status: New → In Progress
Changed in ironic:
importance: Undecided → Low
Sai Kiran (saikiran)
Changed in ironic:
assignee: nobody → Sai Kiran (saikiran)
status: New → In Progress
Changed in python-ironicclient:
assignee: nobody → Sai Kiran (saikiran)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/368417
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f8c1ee39505b49ab822ed53fa84d0cd31351b490
Submitter: Jenkins
Branch: master

commit f8c1ee39505b49ab822ed53fa84d0cd31351b490
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sun Sep 11 17:34:23 2016 +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+.

    Closes-Bug: #1618666
    Change-Id: I225bde35b18bd410f3fe9d415759d1def0a91aca

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ironicclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/373511

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ironicclient (master)

Reviewed: https://review.openstack.org/369838
Committed: https://git.openstack.org/cgit/openstack/python-ironicclient/commit/?id=e7d88230b08689dcf904d94fc398b1e54254cb8f
Submitter: Jenkins
Branch: master

commit e7d88230b08689dcf904d94fc398b1e54254cb8f
Author: qinchunhua <email address hidden>
Date: Wed Sep 14 02:11:48 2016 -0400

    Use ConfigParser instead of SafeConfigParser in Python 3

    The SafeConfigParser class has been renamed to ConfigParser in Python
    3.2 [1]. The alias SafeConfigParser maybe removed in future versions of
    Python 3. Use ConfigParser instead of SafeConfigParser in Python 3

    [1] http://bugs.python.org/issue10627

    Change-Id: I7b550cbd7b5d4c4fe3511c456b5f738030e07d5e
    Closes-Bug: #1618666

Changed in python-ironicclient:
status: In Progress → Fix Released
Changed in trove:
assignee: Amrith (amrith) → jian.song (jiansong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/keystone 10.0.0.0rc1

This issue was fixed in the openstack/keystone 10.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 9.0.0.0rc1

This issue was fixed in the openstack/neutron 9.0.0.0rc1 release candidate.

Changed in trove:
assignee: jian.song (jiansong) → ChangBo Guo(gcb) (glongwave)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/368399
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=00b3f8a4c533712db9c7e54c2089b7d644c969d4
Submitter: Jenkins
Branch: master

commit 00b3f8a4c533712db9c7e54c2089b7d644c969d4
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sun Sep 11 16:02:31 2016 +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+.

    Closes-Bug: #1618666
    Change-Id: I30fe51324ffcc0afbd02799449daee8f628634b6

Changed in trove:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-swiftclient (master)

Reviewed: https://review.openstack.org/369819
Committed: https://git.openstack.org/cgit/openstack/python-swiftclient/commit/?id=b6cf56deb9eba388c787d365e7f5b4aca67c57e1
Submitter: Jenkins
Branch: master

commit b6cf56deb9eba388c787d365e7f5b4aca67c57e1
Author: Pallavi <email address hidden>
Date: Wed Sep 14 10:27:02 2016 +0530

    Use ConfigParser instead of SafeConfigParser

    The SafeConfigParser class has been renamed to ConfigParser in Python
    3.2. This alias will be removed in future versions.So we can use
    ConfigParser directly instead.

    Change-Id: Ie0292271229ee77d1bc57dd897ebbbb3d3c059aa
    Closes-Bug: #1618666

Changed in python-swiftclient:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/keystone 10.0.0.0rc1

This issue was fixed in the openstack/keystone 10.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 9.0.0.0rc1

This issue was fixed in the openstack/neutron 9.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-ironicclient 1.8.0

This issue was fixed in the openstack/python-ironicclient 1.8.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-swiftclient 3.2.0

This issue was fixed in the openstack/python-swiftclient 3.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 15.0.0.0b1

This issue was fixed in the openstack/nova 15.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/trove 7.0.0.0b1

This issue was fixed in the openstack/trove 7.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/swift 2.11.0

This issue was fixed in the openstack/swift 2.11.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to swift (feature/hummingbird)

Fix proposed to branch: feature/hummingbird
Review: https://review.openstack.org/400985

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (feature/hummingbird)
Download full text (78.0 KiB)

Reviewed: https://review.openstack.org/400985
Committed: https://git.openstack.org/cgit/openstack/swift/commit/?id=0c3f8f87104af8717115c5badffd243dbaa1c430
Submitter: Jenkins
Branch: feature/hummingbird

commit 2d25fe6ad3573b2a06b6b3e5e66493d7b0c55693
Author: Tim Burke <email address hidden>
Date: Mon Jul 25 15:06:23 2016 -0700

    Reduce backend requests for SLO If-Match / HEAD requests

    ... by storing SLO Etag and size in sysmeta.

    Previously, we had to GET the manifest for every HEAD or conditional
    request to an SLO. Worse, since SLO PUTs require that we HEAD every
    segment, we'd GET all included sub-SLO manifests. This was necessary so
    we could recompute the large object's Etag and content-length.

    Since we already know both of those during PUT, we'll now store it in
    object sysmeta. This allows us to:

     * satisfy HEAD requests based purely off of the manifest's HEAD
       response, and
     * perform the If-(None-)Match comparison on the object server, without
       any additional subrequests.

    Note that the large object content-length can't just be parsed from
    content-type -- with fast-POST enabled, the content-type coming out of
    the object-server won't necessarily include swift_bytes.

    Also note that we must still fall back to GETting the manifest if the
    sysmeta headers were not found. Otherwise, we'd break existing large
    objects.

    Change-Id: Ia6ad32354105515560b005cea750aa64a88c96f9

commit ae7dddd801e28217d7dc46bd45cd6b621f29340c
Author: Ondřej Nový <email address hidden>
Date: Mon Nov 21 22:13:11 2016 +0100

    Added comment for "user" option in drive-audit config

    Change-Id: I24362826bee85ac3304e9b63504c9465da673014

commit c3e1d847f4b9d6cc6212aae4dc1b1e6dff45fb40
Author: Thiago da Silva <email address hidden>
Date: Thu Nov 17 17:17:00 2016 -0500

    breaking down tests.py into smaller pieces

    tests.py is currently at ~5500 lines of code, it's
    time to break it down into smaller files.

    I started with an easy middleware set of tests
    (i.e., versioned writes, ~600 lines of code ) so I can get
    some feedback. There are more complicated tests that cover
    multiple middlewares for example, it is not so clear where
    those should go.

    Change-Id: I2aa6c18ee5b68d0aae73cc6add8cac6fbf7f33da
    Signed-off-by: Thiago da Silva <email address hidden>

commit 5d7a3a4172f0f11ab870252eec784cf24b247dea
Author: Ondřej Nový <email address hidden>
Date: Sat Nov 19 23:24:30 2016 +0100

    Removed "in-process-" from func env tox name

    This shorten shebang in infra, because we are hitting 128 bytes limit.

    Change-Id: I02477d81b836df71780942189d37d616944c4dce

commit 9ea340256996a03c8c744201297b47a0e91fe65b
Author: Kota Tsuyuzaki <email address hidden>
Date: Fri Nov 18 01:50:11 2016 -0800

    Don't overwrite built-in 'id'

    This is a follow up for https://review.openstack.org/#/c/399237

    'id' is assigned as a builtin function so that we should not use 'id'
    for the local variable name.

    Change-Id: Ic27460d49e68f6cd50bda1d5b3810e01ccb07a37

commit bf...

tags: added: in-feature-hummingbird
Tuan (tuanla)
Changed in ironic:
status: In Progress → Fix Released
Tuan (tuanla)
Changed in glance-store:
importance: Undecided → Low
milestone: none → 0.4.1
Changed in python-ironicclient:
importance: Undecided → Low
milestone: none → 0.6.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/designate 4.0.0.0b2

This issue was fixed in the openstack/designate 4.0.0.0b2 development milestone.

Tuan (tuanla)
Changed in pbr:
importance: Undecided → Wishlist
Changed in tempest:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/searchlight 2.0.0.0b2

This issue was fixed in the openstack/searchlight 2.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/368405
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=956f5c4e29b92146912d65e1b5d3553f712c1609
Submitter: Jenkins
Branch: master

commit 956f5c4e29b92146912d65e1b5d3553f712c1609
Author: Li Wei <email address hidden>
Date: Sun Sep 11 16:29:25 2016 +0800

    Change SafeConfigParser into ConfigParser

    SafeConfigParser supports interpolation on top of ConfigParser
    in Python 2, and SafeConfigParser is deprecated in Python 3.2.
    Use ConfigParser directly instead.

    Closes-Bug: #1618666
    Change-Id: I115646053de986b2df4775fb94edc7e7548093ae

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance_store (master)

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) <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack-dev/pbr 2.0.0

This issue was fixed in the openstack-dev/pbr 2.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 15.0.0.0b1

This issue was fixed in the openstack/glance 15.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance_store 0.21.0

This issue was fixed in the openstack/glance_store 0.21.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-ironicclient (master)

Change abandoned by Dmitry Tantsur (<email address hidden>) on branch: master
Review: https://review.opendev.org/373511
Reason: Apparently implemented during the Python 3 transition.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.