Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pypi package not compatible with Python 3.12 #4350

Open
peckto opened this issue Sep 18, 2024 · 0 comments
Open

pypi package not compatible with Python 3.12 #4350

peckto opened this issue Sep 18, 2024 · 0 comments

Comments

@peckto
Copy link

peckto commented Sep 18, 2024

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:

  1. On system with Python 3.12 (e.g. Debian Testing)
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant