DeprecationWarning: distutils package and distutils.sysconfig module deprecated

Marcel Ziswiler marcel.ziswiler at toradex.com
Wed Nov 10 12:15:06 CET 2021


Hi there

After migrating to a new Fedora Silverblue 35 based setup with toolbx I get the following while compiling U-
Boot. Is/has anybody already looked into this?

scripts/dtc/pylibfdt/setup.py:21: DeprecationWarning: The distutils package is deprecated and slated for
removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.core import setup, Extension

tools/binman/binman:12: DeprecationWarning: The distutils package is deprecated and slated for removal in
Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  from distutils.sysconfig import get_python_lib

tools/binman/binman:12: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
  from distutils.sysconfig import get_python_lib

Cheers

Marcel


More information about the U-Boot mailing list