← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1936667] Re: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3

 

Reviewed:  https://review.opendev.org/c/openstack/mistral/+/801078
Committed: https://opendev.org/openstack/mistral/commit/20aa42b75be349e9d8097b598253d74fedf11619
Submitter: "Zuul (22348)"
Branch:    master

commit 20aa42b75be349e9d8097b598253d74fedf11619
Author: Takashi Kajinami <tkajinam@xxxxxxxxxx>
Date:   Sat Jul 17 00:13:10 2021 +0900

    Replace deprecated import of ABCs from collections
    
    ABCs in collections should be imported from collections.abc and direct
    import from collections is deprecated since Python 3.3.
    
    Closes-Bug: #1936667
    Change-Id: Ide8aa0323d9713c1c2ea0abf3b671ca4dab95ef0


** Changed in: mistral
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1936667

Title:
  Using or importing the ABCs from 'collections' instead of from
  'collections.abc' is deprecated since Python 3.3

Status in OpenStack Identity (keystone):
  Fix Released
Status in OpenStack Shared File Systems Service (Manila):
  Fix Released
Status in Mistral:
  Fix Released
Status in neutron:
  Fix Released
Status in OpenStack Object Storage (swift):
  Fix Released
Status in tacker:
  Fix Released
Status in taskflow:
  Fix Released
Status in tempest:
  Fix Released
Status in zaqar:
  Fix Released

Bug description:
  Using or importing the ABCs from 'collections' instead of from
  'collections.abc' is deprecated since Python 3.3.

  For example:

  >>> import collections 
  >>> collections.Iterable
  <stdin>:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
  <class 'collections.abc.Iterable'>

  >>> from collections import abc
  >>> abc.Iterable
  <class 'collections.abc.Iterable'>

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1936667/+subscriptions



References