Re: fedpkg / Python warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux