Reviewed: https://review.opendev.org/c/openstack/neutron/+/842133 Committed: https://opendev.org/openstack/neutron/commit/eb99c222138c49a360f384cebcacb6eeffe84ecd Submitter: "Zuul (22348)" Branch: master
commit eb99c222138c49a360f384cebcacb6eeffe84ecd Author: Rodolfo Alonso Hernandez <email address hidden> Date: Thu May 12 23:50:07 2022 +0000
Remove "distutils" library
Library "distutils" will be marked as deprecated in Python 3.10: https://peps.python.org/pep-0386/
This patch does the following replacements, that provide the same functionality and API: - distutils.version.StrictVersion -> packaging.version.Version - distutils.spawn.find_executable -> shutil.which
Closes-Bug: #1973780 Change-Id: Iad96ad3e7055f71c629efbe80070adbe297cd7aa
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/842133 /opendev. org/openstack/ neutron/ commit/ eb99c222138c49a 360f384cebcacb6 eeffe84ecd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit eb99c222138c49a 360f384cebcacb6 eeffe84ecd
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu May 12 23:50:07 2022 +0000
Remove "distutils" library
Library "distutils" will be marked as deprecated in Python 3.10: /peps.python. org/pep- 0386/
https:/
This patch does the following replacements, that provide the same version. StrictVersion -> packaging. version. Version spawn.find_ executable -> shutil.which
functionality and API:
- distutils.
- distutils.
Closes-Bug: #1973780 1c629efbe80070a dbe297cd7aa
Change-Id: Iad96ad3e7055f7