assertDictContainsSubset is deprecated since Python3.2

Bug #1938103 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Undecided
Takashi Kajinami
Glance
Fix Released
Undecided
Takashi Kajinami
Mistral
Fix Released
Undecided
Takashi Kajinami
OpenStack Identity (keystone)
Fix Released
Undecided
Takashi Kajinami
neutron
Fix Released
Undecided
Takashi Kajinami
python-neutronclient
Fix Released
Undecided
Takashi Kajinami
tempest
Fix Released
Undecided
Takashi Kajinami

Bug Description

unittest.TestCase.assertDictContainsSubset is deprecated since Python 3.2[1] and shows the following warning.

~~~
/usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning: assertDictContainsSubset is deprecated
  warnings.warn('assertDictContainsSubset is deprecated',
~~~

[1] https://docs.python.org/3/whatsnew/3.2.html#unittest

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/glance/+/802411

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/keystone/+/802412

Changed in keystone:
status: New → In Progress
Changed in glance:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in keystone:
assignee: nobody → Takashi Kajinami (kajinamit)
no longer affects: designate
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-neutronclient (master)
Changed in python-neutronclient:
status: New → In Progress
Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/807459

Changed in neutron:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in python-neutronclient:
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mistral (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/mistral/+/807461

Changed in mistral:
status: New → In Progress
Changed in mistral:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in designate:
assignee: nobody → Takashi Kajinami (kajinamit)
Changed in designate:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/807459
Committed: https://opendev.org/openstack/neutron/commit/34acbd6ff8573e5e2ce149150bae566f987f0ded
Submitter: "Zuul (22348)"
Branch: master

commit 34acbd6ff8573e5e2ce149150bae566f987f0ded
Author: Takashi Kajinami <email address hidden>
Date: Sun Sep 5 01:00:29 2021 +0900

    Replace deprecated assertDictContainsSubset

    The method is deprecated since Python 3.2[1] and shows the following
    DeprecationWarning.

    /usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
    assertDictContainsSubset is deprecated
      warnings.warn('assertDictContainsSubset is deprecated',

    [1] https://docs.python.org/3/whatsnew/3.2.html#unittest

    Closes-Bug: #1938103
    Change-Id: Iab60f52ffbfb3668e9509ce86e105917c616b8a9

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

Reviewed: https://review.opendev.org/c/openstack/python-neutronclient/+/807458
Committed: https://opendev.org/openstack/python-neutronclient/commit/cff9c266c05ebfc13f4917e1646e5dedbe371cc2
Submitter: "Zuul (22348)"
Branch: master

commit cff9c266c05ebfc13f4917e1646e5dedbe371cc2
Author: Takashi Kajinami <email address hidden>
Date: Sun Sep 5 00:56:38 2021 +0900

    Replace deprecated assertDictContainsSubset

    The method is deprecated since Python 3.2[1] and shows the following
    DeprecationWarning.

    /usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
    assertDictContainsSubset is deprecated
      warnings.warn('assertDictContainsSubset is deprecated',

    [1] https://docs.python.org/3/whatsnew/3.2.html#unittest

    Closes-Bug: #1938103
    Change-Id: I1d0ee6c77476707a7e4fe4fbf2b979bf34550d05

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

Reviewed: https://review.opendev.org/c/openstack/glance/+/802411
Committed: https://opendev.org/openstack/glance/commit/7259eca91711ebef6d062193204bd1f56a122bca
Submitter: "Zuul (22348)"
Branch: master

commit 7259eca91711ebef6d062193204bd1f56a122bca
Author: Takashi Kajinami <email address hidden>
Date: Tue Jul 27 09:35:46 2021 +0900

    Replace deprecated assertDictContainsSubset

    The method is deprecated since Python 3.2[1] and shows the following
    DeprecationWarning.

    /usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
    assertDictContainsSubset is deprecated
      warnings.warn('assertDictContainsSubset is deprecated',

    [1] https://docs.python.org/3/whatsnew/3.2.html#unittest

    Closes-Bug: #1938103
    Change-Id: I58c9a58266f6b0e388cd60b012636fedd85a4262

Changed in glance:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 19.0.0.0rc1

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

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

This issue was fixed in the openstack/glance 23.0.0.0rc1 release candidate.

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

Reviewed: https://review.opendev.org/c/openstack/keystone/+/802412
Committed: https://opendev.org/openstack/keystone/commit/d9cd6b73478a002860ae601d83fda334a467edfd
Submitter: "Zuul (22348)"
Branch: master

commit d9cd6b73478a002860ae601d83fda334a467edfd
Author: Takashi Kajinami <email address hidden>
Date: Tue Jul 27 10:01:27 2021 +0900

    Replace deprecated assertDictContainsSubset

    The method is deprecated since Python 3.2[1] and shows the following
    DeprecationWarning.

    /usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
    assertDictContainsSubset is deprecated
      warnings.warn('assertDictContainsSubset is deprecated',

    [1] https://docs.python.org/3/whatsnew/3.2.html#unittest

    Closes-Bug: #1938103
    Change-Id: I2372c6f1c748a5cb1c3fcf0566684f49bc5ef715

Changed in keystone:
status: In Progress → Fix Released
tags: added: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-neutronclient 7.7.0

This issue was fixed in the openstack/python-neutronclient 7.7.0 release.

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

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tempest/+/819751

Changed in tempest:
status: New → In Progress
Changed in tempest:
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.opendev.org/c/openstack/tempest/+/819751
Committed: https://opendev.org/openstack/tempest/commit/bbe4f8c3054d1f71fd5057e6da096a99753e5754
Submitter: "Zuul (22348)"
Branch: master

commit bbe4f8c3054d1f71fd5057e6da096a99753e5754
Author: Takashi Kajinami <email address hidden>
Date: Tue Nov 30 13:29:18 2021 +0900

    Replace deprecated assertDictContainsSubset

    The method is deprecated since Python 3.2[1] and shows the following
    DeprecationWarning.

    /usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
    assertDictContainsSubset is deprecated
      warnings.warn('assertDictContainsSubset is deprecated',

    [1] https://docs.python.org/3/whatsnew/3.2.html#unittest

    Closes-Bug: #1938103
    Change-Id: I2e868d13d52a2d3c6081a8b756fbe83f8b57cf66

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

Reviewed: https://review.opendev.org/c/openstack/designate/+/804943
Committed: https://opendev.org/openstack/designate/commit/626c60fc30ef39c824973f9863a4cb0b2307f8d0
Submitter: "Zuul (22348)"
Branch: master

commit 626c60fc30ef39c824973f9863a4cb0b2307f8d0
Author: Takashi Kajinami <email address hidden>
Date: Wed Aug 18 12:16:14 2021 +0900

    Replace deprecated assertDictContainsSubset

    The method is deprecated since Python 3.2[1] and shows the following
    DeprecationWarning.

    /usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
    assertDictContainsSubset is deprecated
      warnings.warn('assertDictContainsSubset is deprecated',

    [1] https://docs.python.org/3/whatsnew/3.2.html#unittest

    Closes-Bug: #1938103
    Change-Id: Ib1f000a7d5d0f94d7b844f8086a9798f28a44643

Changed in designate:
status: In Progress → Fix Released
tags: removed: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/designate 14.0.0.0rc1

This issue was fixed in the openstack/designate 14.0.0.0rc1 release candidate.

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

This issue was fixed in the openstack/tempest 30.0.0 release.

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

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

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

Reviewed: https://review.opendev.org/c/openstack/mistral/+/807461
Committed: https://opendev.org/openstack/mistral/commit/117f9a794565ef8a3e032824c8c42d421bda7cd0
Submitter: "Zuul (22348)"
Branch: master

commit 117f9a794565ef8a3e032824c8c42d421bda7cd0
Author: Takashi Kajinami <email address hidden>
Date: Sun Sep 5 01:11:45 2021 +0900

    Replace deprecated assertDictContainsSubset

    The method is deprecated since Python 3.2[1] and shows the following
    DeprecationWarning.

    /usr/lib/python3.9/unittest/case.py:1134: DeprecationWarning:
    assertDictContainsSubset is deprecated
      warnings.warn('assertDictContainsSubset is deprecated',

    [1] https://docs.python.org/3/whatsnew/3.2.html#unittest

    Closes-Bug: #1938103
    Change-Id: I17f56606eb43fba46281e9bdc08ace8727455a40

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

This issue was fixed in the openstack/mistral 15.0.0.0rc1 release candidate.

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.