← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1821306] [NEW] Using or importing the ABCs from 'collections' is deprecated

 

Public bug reported:

Mar 22 09:09:30 controller-02 glance-api[23536]: /opt/stack/glance/glance/location.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and>
Mar 22 09:09:30 controller-02 glance-api[23536]:   class StoreLocations(collections.MutableSequence):
Mar 22 09:09:30 controller-02 glance-api[23536]: /opt/stack/glance/glance/api/common.py:115: DeprecationWarning: invalid escape sequence \d
Mar 22 09:09:30 controller-02 glance-api[23536]:   pattern = re.compile('^(\d+)((K|M|G|T)?B)?$')

Mar 22 09:09:30 controller-02 glance-api[23536]:
/usr/local/lib/python3.7/site-
packages/os_brick/initiator/linuxrbd.py:24: DeprecationWarning: Using or
importing the ABCs from 'collections' instead of from 'col>

(Today version)
py: Python 3.7.2

** Affects: glance
     Importance: Undecided
         Status: New

** Affects: os-brick
     Importance: Undecided
         Status: New

** Also affects: os-brick
   Importance: Undecided
       Status: New

** Description changed:

  Mar 22 09:09:30 controller-02 glance-api[23536]: /opt/stack/glance/glance/location.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and>
  Mar 22 09:09:30 controller-02 glance-api[23536]:   class StoreLocations(collections.MutableSequence):
  Mar 22 09:09:30 controller-02 glance-api[23536]: /opt/stack/glance/glance/api/common.py:115: DeprecationWarning: invalid escape sequence \d
  Mar 22 09:09:30 controller-02 glance-api[23536]:   pattern = re.compile('^(\d+)((K|M|G|T)?B)?$')
  
  Mar 22 09:09:30 controller-02 glance-api[23536]:
  /usr/local/lib/python3.7/site-
  packages/os_brick/initiator/linuxrbd.py:24: DeprecationWarning: Using or
  importing the ABCs from 'collections' instead of from 'col>
  
  (Today version)
- py: Python 2.7.15
+ py: Python 3.7.2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1821306

Title:
  Using or importing the ABCs from 'collections'  is deprecated

Status in Glance:
  New
Status in os-brick:
  New

Bug description:
  Mar 22 09:09:30 controller-02 glance-api[23536]: /opt/stack/glance/glance/location.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and>
  Mar 22 09:09:30 controller-02 glance-api[23536]:   class StoreLocations(collections.MutableSequence):
  Mar 22 09:09:30 controller-02 glance-api[23536]: /opt/stack/glance/glance/api/common.py:115: DeprecationWarning: invalid escape sequence \d
  Mar 22 09:09:30 controller-02 glance-api[23536]:   pattern = re.compile('^(\d+)((K|M|G|T)?B)?$')

  Mar 22 09:09:30 controller-02 glance-api[23536]:
  /usr/local/lib/python3.7/site-
  packages/os_brick/initiator/linuxrbd.py:24: DeprecationWarning: Using
  or importing the ABCs from 'collections' instead of from 'col>

  (Today version)
  py: Python 3.7.2

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


Follow ups