Some tasks rely on the command output and Python used to output warnings
for deprecations.
In the CI it is OK to deactivate the warings to ensure input date is
sane and do not include unexpected data.
Warnings such as:
"""
/usr/lib/python3.10/site-packages/dnf/const.py:22: 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/python3.10/site-packages/dnf/const.py:22: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
import distutils.sysconfig
"""
Some tasks rely on the command output and Python used to output warnings
for deprecations.
In the CI it is OK to deactivate the warings to ensure input date is
sane and do not include unexpected data.
Warnings such as:
"""
/usr/lib/python3.10/site-packages/dnf/const.py:22: 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/python3.10/site-packages/dnf/const.py:22: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
import distutils.sysconfig
"""