Hi all, is there a proper/recommended way to build python packages and not run into the deprecation warning for using distutils or setup.py install? e.g. https://build.opensuse.org/build/systemsmanagement/openSUSE_Tumbleweed/x86_6...:
[ 88s] /home/abuild/rpmbuild/BUILD/ansible-2.9.27/setup.py:12: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives [ 88s] from distutils.command.build_scripts import build_scripts as BuildScripts
[ 402s] /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. [ 402s] warnings.warn(
Does not seem to be a pressing issue, but if there is an easy way to fix this (in the package, not upstream) then I could do this while touching the python packages I need to touch currently... Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537