On Fri, Sep 03, 2021 at 03:44:16PM +0200, Miro Hrončok wrote:
On 03. 09. 21 15:12, Richard W.M. Jones wrote:
>I'm running a rather mutant version of Fedora on my development server
>with bits and pieces of Python upgraded to Rawhide. Does anyone know
>which particular component might be printing all these annoying warnings?
>
>Rich.
>
>$ fedpkg verrel
><string>:1: DeprecationWarning: The distutils package is deprecated and slated
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
><string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated,
use sysconfig instead
><string>:1: DeprecationWarning: The distutils package is deprecated and slated
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
><string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated,
use sysconfig instead
><string>:1: DeprecationWarning: The distutils package is deprecated and slated
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
><string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated,
use sysconfig instead
><string>:1: DeprecationWarning: The distutils package is deprecated and slated
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
><string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated,
use sysconfig instead
><string>:1: DeprecationWarning: The distutils package is deprecated and slated
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
><string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated,
use sysconfig instead
This might very well come from the specfile if it has
%python3_sitelib or %pythohn3_sitearch in it. The macros used
distutils on Fedora 34 but were upgraded to sysconfig on Fedora 35.
Yes, indeed. Updating the package containing
/usr/lib/rpm/macros.d/macros.python3 fixed it.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW