Reviewed: https://review.opendev.org/c/openstack/neutron/+/853053 Committed: https://opendev.org/openstack/neutron/commit/76cf6b4a9e9a8c8f7b01f44d787b66b9b894331b Submitter: "Zuul (22348)" Branch: master
commit 76cf6b4a9e9a8c8f7b01f44d787b66b9b894331b Author: Takashi Natsume <[email protected]> Date: Sat Aug 13 22:30:51 2022 +0900 Fix deprecation warnings in pkg_resources Fix the following deprecation warnings. PkgResourcesDeprecationWarning: <MagicMock name='execute().split().__getitem__().__getitem__()' id='140417024565696'> is an invalid version and will not be supported in a future release DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release Change-Id: I23540114120f6ea52754116cfaaeac35e09543b4 Closes-Bug: 1986428 Signed-off-by: Takashi Natsume <[email protected]> ** Changed in: neutron Status: In Progress => Fix Released -- 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: Fix Released 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

