Reviewed: https://review.opendev.org/c/openstack/nova/+/852947 Committed: https://opendev.org/openstack/nova/commit/0b0fa8ac315ed497abfa4248ba5d8b0bb145d9b3 Submitter: "Zuul (22348)" Branch: master
commit 0b0fa8ac315ed497abfa4248ba5d8b0bb145d9b3 Author: Takashi Natsume <[email protected]> Date: Fri Aug 12 20:12:17 2022 +0900 Fix a deprecation warning about distutils Fix the following warning. DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. Change-Id: I7ad73576060b5fc536f23c921b752ee3f60d2647 Closes-Bug: 1985970 Signed-off-by: Takashi Natsume <[email protected]> ** Changed in: nova Status: In Progress => Fix Released -- 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/1985970 Title: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. Status in OpenStack Compute (nova): Fix Released Bug description: Running "tox -e py38", the following deprecation warnings appear. {1} nova.tests.unit.virt.ironic.test_driver.IronicDriverSyncTestCase.test__can_send_version [0.110519s] ... ok Captured stderr: ~~~~~~~~~~~~~~~~ /tmp/nova/nova/virt/ironic/driver.py:2070: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. version.StrictVersion(current_api_version) < {1} nova.tests.unit.virt.ironic.test_driver.IronicDriverSyncTestCase.test__can_send_version_too_new [0.112709s] ... ok Captured stderr: ~~~~~~~~~~~~~~~~ /tmp/nova/nova/virt/ironic/driver.py:2070: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. version.StrictVersion(current_api_version) < {1} nova.tests.unit.virt.ironic.test_driver.IronicDriverSyncTestCase.test__can_send_version_too_old [0.116488s] ... ok Captured stderr: ~~~~~~~~~~~~~~~~ /tmp/nova/nova/virt/ironic/driver.py:2075: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. version.StrictVersion(current_api_version) > To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1985970/+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

