← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1973780] Re: PEP 632 – Deprecate distutils module

 

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 <ralonsoh@xxxxxxxxxx>
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


** 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/1973780

Title:
  PEP 632 – Deprecate distutils module

Status in neutron:
  Fix Released

Bug description:
  Link: https://peps.python.org/pep-0632/

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



References