openscap fails to build in Rawhide.
Traceback (most recent call last):
File "<string>", line 1, in <module>
from distutils.sysconfig import get_python_lib; print(get_python_lib(True, prefix='/usr'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'distutils'
The distutils package has been removed from the standard library of Python 3.12+
https://docs.python.org/3.12/whatsnew/3.12.html
For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06927767-openscap/
For all our attempts to build openscap with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/openscap/
Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/
Let us know here if you have any questions.
Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.
For the record, the glib2 commit was linked as a cause of the build failure, not as a suggested fix. The package used to build successfully because gliub2-devel brought python3-setuptools into the buildroot of this package. Sorry for the confusion.
openscap fails to build in Rawhide. Traceback (most recent call last): File "<string>", line 1, in <module> from distutils.sysconfig import get_python_lib; print(get_python_lib(True, prefix='/usr')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'distutils' The distutils package has been removed from the standard library of Python 3.12+ https://docs.python.org/3.12/whatsnew/3.12.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06927767-openscap/ For all our attempts to build openscap with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/openscap/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.