]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
python3: silence DeprecationWarnings in python3-config
authorRoss Burton <ross@burtonini.com>
Tue, 2 Nov 2021 18:02:33 +0000 (18:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Nov 2021 10:12:01 +0000 (10:12 +0000)
commite25b8f5af70a094307dc5c0a25f213ae9570f349
treebd12ad2f5323713e5d8cdbdbf4a4f2827c1219c9
parente8359000e765f876c041b6ccabe63f069f83efec
python3: silence DeprecationWarnings in python3-config

Our patched python3-config uses distutils, but that will emit a
DeprecationWarning when imported.  This isn't useful when using the
output of python3-config to find include paths.

This isn't a huge problem typically as the warning goes to stderr, but
some build systems read both stdout and stderr.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/python-config.patch