]> code.ossystems Code Review - openembedded-core.git/commit
classes/distutils-*: add warning of deprecation
authorTim Orling <ticotimo@gmail.com>
Tue, 11 Jan 2022 19:01:10 +0000 (11:01 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Jan 2022 21:05:28 +0000 (21:05 +0000)
commit54b455049ee94c01c78b31b6c744c8e32b5b7737
tree6afd78c83031724531ffb377a26245854acf11bc
parent7479861c60a1c205b9502c1a811ac3a9dc51cd07
classes/distutils-*: add warning of deprecation

distutils has been deprecated in Python 3.10 and will be removed in
Python 3.12 (predicted release date October 2023).

Add a warning now that recommends using the roughly equivalent
setuptools-* classes.

[YOCTO #14610]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/distutils-common-base.bbclass
meta/classes/distutils3-base.bbclass
meta/classes/distutils3.bbclass