Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794139

Summary: usr/lib/portage/python3.10/* DeprecationWarning:The distutils package is deprecated and slated for removal in Python 3.12.
Product: Gentoo Linux Reporter: Stuart Meya <stuartmeya>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Stuart Meya 2021-06-04 11:38:46 UTC
Hello,

I wanted to do a emerge --update @world and portage is throwing the following at me:

/usr/lib/portage/python3.10/ebuild-ipc.py:46: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils.sysconfig
/usr/lib/portage/python3.10/ebuild-ipc.py:46: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
  import distutils.sysconfig

Normally I use a watch genlop for tracking portage while emerging something and it's doing something similar:

/usr/lib/python-exec/python3.10/portageq:29: DeprecationWarning: The distutils package is deprecated and slated for removal
in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  import distutils.sysconfig
/usr/lib/python-exec/python3.10/portageq:29: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig
 instead
  import distutils.sysconfig
Comment 1 Stuart Meya 2021-06-04 11:42:45 UTC
Created attachment 713571 [details]
emerge --info
Comment 2 Ionen Wolkens gentoo-dev 2021-06-05 05:50:48 UTC
Thanks, I'll mark a duplicate of the newer bug given that one was filed directly to the portage team.

*** This bug has been marked as a duplicate of bug 794166 ***