All of lore.kernel.org
 help / color / mirror / Atom feed
* DeprecationWarning: distutils package and distutils.sysconfig module deprecated
@ 2021-11-10 11:15 Marcel Ziswiler
  2021-11-10 16:31 ` Simon Glass
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Ziswiler @ 2021-11-10 11:15 UTC (permalink / raw)
  To: u-boot; +Cc: sjg, yamada.masahiro

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DeprecationWarning: distutils package and distutils.sysconfig module deprecated
  2021-11-10 11:15 DeprecationWarning: distutils package and distutils.sysconfig module deprecated Marcel Ziswiler
@ 2021-11-10 16:31 ` Simon Glass
  2021-11-17 21:40   ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Glass @ 2021-11-10 16:31 UTC (permalink / raw)
  To: Marcel Ziswiler; +Cc: u-boot, yamada.masahiro, Rob Herring

Hi Marcel,

+Rob Herring might be looking at it.

On Wed, 10 Nov 2021 at 04:15, Marcel Ziswiler
<marcel.ziswiler@toradex.com> wrote:
>
> 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

Regards,
Simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DeprecationWarning: distutils package and distutils.sysconfig module deprecated
  2021-11-10 16:31 ` Simon Glass
@ 2021-11-17 21:40   ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2021-11-17 21:40 UTC (permalink / raw)
  To: Simon Glass; +Cc: Marcel Ziswiler, u-boot, yamada.masahiro

On Wed, Nov 10, 2021 at 10:31 AM Simon Glass <sjg@chromium.org> wrote:
>
> Hi Marcel,
>
> +Rob Herring might be looking at it.
>
> On Wed, 10 Nov 2021 at 04:15, Marcel Ziswiler
> <marcel.ziswiler@toradex.com> wrote:
> >
> > 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

That's fixed in upstream dtc now. At least until 'setup.py' is
deprecated next...

> > 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
>
> Regards,
> Simon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-17 21:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 11:15 DeprecationWarning: distutils package and distutils.sysconfig module deprecated Marcel Ziswiler
2021-11-10 16:31 ` Simon Glass
2021-11-17 21:40   ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.