← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2083518] [NEW] distutils was removed in Python 3.12

 

Public bug reported:

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
```

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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):
  New

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



Follow ups