← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1986428] [NEW] PkgResourcesDeprecationWarning: <MagicMock name='execute().split().__getitem__().__getitem__()' id='140417024565696'> is an invalid version and will not be supported in a future release

 

Public bug reported:

Running "tox -e py38", the following deprecation warnings appear.

{0}
neutron.tests.unit.agent.l3.test_dvr_local_router.TestDvrRouterOperations.test_floating_forward_rules
[0.545172s] ... ok

Captured stderr:
~~~~~~~~~~~~~~~~
    /tmp/neutron/.tox/py38/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: <MagicMock name='execute().split().__getitem__().__getitem__()' id='140417024565696'> is an invalid version and will not be supported in a future release
  warnings.warn(
/tmp/neutron/.tox/py38/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
  warnings.warn(

{1}
neutron.tests.unit.agent.l3.extensions.test_ndp_proxy.NDPProxyExtensionDVRTestCase.test_floating_forward_rules
[0.859366s] ... ok

Captured stderr:
~~~~~~~~~~~~~~~~
    /tmp/neutron/.tox/py38/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: <MagicMock name='execute().split().__getitem__().__getitem__()' id='139790873764336'> is an invalid version and will not be supported in a future release
  warnings.warn(
/tmp/neutron/.tox/py38/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
  warnings.warn(

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

** Changed in: neutron
     Assignee: (unassigned) => Takashi Natsume (natsume-takashi)

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

Title:
  PkgResourcesDeprecationWarning: <MagicMock
  name='execute().split().__getitem__().__getitem__()'
  id='140417024565696'> is an invalid version and will not be supported
  in a future release

Status in neutron:
  In Progress

Bug description:
  Running "tox -e py38", the following deprecation warnings appear.

  {0}
  neutron.tests.unit.agent.l3.test_dvr_local_router.TestDvrRouterOperations.test_floating_forward_rules
  [0.545172s] ... ok

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      /tmp/neutron/.tox/py38/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: <MagicMock name='execute().split().__getitem__().__getitem__()' id='140417024565696'> is an invalid version and will not be supported in a future release
    warnings.warn(
  /tmp/neutron/.tox/py38/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
    warnings.warn(

  {1}
  neutron.tests.unit.agent.l3.extensions.test_ndp_proxy.NDPProxyExtensionDVRTestCase.test_floating_forward_rules
  [0.859366s] ... ok

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      /tmp/neutron/.tox/py38/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: <MagicMock name='execute().split().__getitem__().__getitem__()' id='139790873764336'> is an invalid version and will not be supported in a future release
    warnings.warn(
  /tmp/neutron/.tox/py38/lib/python3.8/site-packages/pkg_resources/_vendor/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
    warnings.warn(

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



Follow ups