Re: fedpkg / Python warnings

2021-09-03 Thread Richard W.M. Jones
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
> >:1: DeprecationWarning: The distutils package is deprecated and 
> >slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
> >potential alternatives
> >:1: DeprecationWarning: The distutils.sysconfig module is 
> >deprecated, use sysconfig instead
> >:1: DeprecationWarning: The distutils package is deprecated and 
> >slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
> >potential alternatives
> >:1: DeprecationWarning: The distutils.sysconfig module is 
> >deprecated, use sysconfig instead
> >:1: DeprecationWarning: The distutils package is deprecated and 
> >slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
> >potential alternatives
> >:1: DeprecationWarning: The distutils.sysconfig module is 
> >deprecated, use sysconfig instead
> >:1: DeprecationWarning: The distutils package is deprecated and 
> >slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
> >potential alternatives
> >:1: DeprecationWarning: The distutils.sysconfig module is 
> >deprecated, use sysconfig instead
> >:1: DeprecationWarning: The distutils package is deprecated and 
> >slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
> >potential alternatives
> >: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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: fedpkg / Python warnings

2021-09-03 Thread Miro Hrončok

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
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
: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.


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


fedpkg / Python warnings

2021-09-03 Thread Richard W.M. Jones
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
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential 
alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential 
alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential 
alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential 
alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated and slated 
for removal in Python 3.12. Use setuptools or check PEP 632 for potential 
alternatives
:1: DeprecationWarning: The distutils.sysconfig module is deprecated, 
use sysconfig instead

libnbd-1.9.4-1.fc36


-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure