← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1906933] [NEW] DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working

 

Public bug reported:

The following warnings appear when 'tox -e py38' runs.

{1}
nova.tests.unit.virt.vmwareapi.test_configdrive.ConfigDriveTestCase.test_create_vm_with_config_drive
[0.087718s] ... ok

Captured stderr:
~~~~~~~~~~~~~~~~
    /tmp/nova/nova/tests/unit/virt/vmwareapi/fake.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
  if not isinstance(prop_list, collections.Iterable):

{0}
nova.tests.unit.virt.vmwareapi.test_driver_api.VMwareAPIVMTestCase.test_cache_dir_disk_created
[0.093889s] ... ok

Captured stderr:
~~~~~~~~~~~~~~~~
    /tmp/nova/nova/tests/unit/virt/vmwareapi/fake.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
  if not isinstance(prop_list, collections.Iterable):

** Affects: nova
     Importance: Undecided
     Assignee: Takashi Natsume (natsume-takashi)
         Status: In Progress


** Tags: testing

** Description changed:

- The following warnings appears when 'tox -e py38' runs.
+ The following warnings appear when 'tox -e py38' runs.
  
  {1}
  nova.tests.unit.virt.vmwareapi.test_configdrive.ConfigDriveTestCase.test_create_vm_with_config_drive
  [0.087718s] ... ok
  
  Captured stderr:
  ~~~~~~~~~~~~~~~~
-     /tmp/nova/nova/tests/unit/virt/vmwareapi/fake.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
-   if not isinstance(prop_list, collections.Iterable):
+     /tmp/nova/nova/tests/unit/virt/vmwareapi/fake.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
+   if not isinstance(prop_list, collections.Iterable):
  
  {0}
  nova.tests.unit.virt.vmwareapi.test_driver_api.VMwareAPIVMTestCase.test_cache_dir_disk_created
  [0.093889s] ... ok
  
  Captured stderr:
  ~~~~~~~~~~~~~~~~
-     /tmp/nova/nova/tests/unit/virt/vmwareapi/fake.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
-   if not isinstance(prop_list, collections.Iterable):
+     /tmp/nova/nova/tests/unit/virt/vmwareapi/fake.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
+   if not isinstance(prop_list, collections.Iterable):

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

Title:
  DeprecationWarning: Using or importing the ABCs from 'collections'
  instead of from 'collections.abc' is deprecated since Python 3.3, and
  in 3.9 it will stop working

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  The following warnings appear when 'tox -e py38' runs.

  {1}
  nova.tests.unit.virt.vmwareapi.test_configdrive.ConfigDriveTestCase.test_create_vm_with_config_drive
  [0.087718s] ... ok

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      /tmp/nova/nova/tests/unit/virt/vmwareapi/fake.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
    if not isinstance(prop_list, collections.Iterable):

  {0}
  nova.tests.unit.virt.vmwareapi.test_driver_api.VMwareAPIVMTestCase.test_cache_dir_disk_created
  [0.093889s] ... ok

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      /tmp/nova/nova/tests/unit/virt/vmwareapi/fake.py:189: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
    if not isinstance(prop_list, collections.Iterable):

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


Follow ups