codechecker
codechecker copied to clipboard
pypi package not compatible with Python 3.12
Describe the bug
In Python 3.12 the distutils
package was removed:
https://docs.python.org/3.11/library/distutils.html
When using CodeChecker from pypi on Python 3.12, it fails with:
ModuleNotFoundError: No module named 'distutils'
CodeChecker version 6.24.0
To Reproduce Steps to reproduce the behaviour:
- On system with Python 3.12 (e.g. Debian Testing)
- pip install CodeChecker== 6.24.0
Expected behaviour
In case of Python 3.12, the package setuptools
is required.
Desktop (please complete the following information)
- OS: Linux with Python 3.12 (e.g. Debian Testing)
Additional context
Interestingly, the exit code when calling CodeChecker --help
is 0
despite the ModuleNotFoundError
.
Only when calling some sub-command directly (e.g. CodeChecker log --help
) the exit code is 1
.