← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2083518] Re: distutils was removed in Python 3.12

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/936067
Committed: https://opendev.org/openstack/nova/commit/ef2a17c78e767357db65b251a5d4a6a7905d54f6
Submitter: "Zuul (22348)"
Branch:    master

commit ef2a17c78e767357db65b251a5d4a6a7905d54f6
Author: Takashi Kajinami <kajinamit@xxxxxxxxxxxxxxx>
Date:   Sat Nov 23 05:34:43 2024 +0900

    Replace distutils
    
    distutils module was deprecated in 3.10 and was removed in Python
    3.12 .
    
    https://docs.python.org/3.11/library/distutils.html
    
    Closes-Bug: #2083518
    Change-Id: Id28c0a7aaabcda0f1f9a6a7402b77a09565899f7


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

Title:
  distutils was removed in Python 3.12

Status in OpenStack Compute (nova):
  Fix Released
Status in oslo.versionedobjects:
  In Progress

Bug description:
  Description
  ===========

  The built-in distutils module was deprecated in 3.10 and was removed
  in Python 3.12 .

  https://docs.python.org/3.11/library/distutils.html

  We should remove the remaining usage of it.

  ```
  $ git log -n 1
  commit 1ecab6dbc573fb0a60e35382269374193158b7f0 (HEAD -> master, origin/master, origin/HEAD)
  Merge: d88d968e96 1c20647a14
  Author: Zuul <zuul@xxxxxxxxxxxxxxxxxx>
  Date:   Thu Sep 5 16:04:22 2024 +0000

      Merge "doc: Fix markup syntax and typo"
  [tkajinam@fedora nova]$ grep -r -n distutils nova/
  nova/scheduler/filters/image_props_filter.py:17:from distutils import versionpredicate
  nova/version.py:31:    # these modules are accessible when distutils uses
  ```

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



References