Ericsson / codechecker

CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy
https://codechecker.readthedocs.io
Apache License 2.0
2.2k stars 369 forks source link

Codechecher 6.22.2 not compatible with python 3.12 (windows x64) #4032

Open totocaca123 opened 11 months ago

totocaca123 commented 11 months ago

Describe the bug Impossible to install codechecker on python 3.12 x64 (windows 11). During installation, codechecker requires pyyaml 6.0.0. Pyyaml 6.0.0 is not compatible with python 3.12.

PyYaml version has to be updated to 6.0.1 in requirements.txt

CodeChecker version 6.22.2

To Reproduce pip install codechecher

  1. Run command '...'
  2. Go to '...'
  3. Click on '....'
  4. Scroll down to '....'
  5. See error

Expected behaviour What you expected to happen.

Desktop (please complete the following information)

Additional context Add any other context about the problem.

totocaca123 commented 11 months ago

I see that pyyaml version is 6.0.1 now, so it seems this issue is not present anymore, but newer version useing pyyaml 6.0.1 is not yet released

alex-the-new-guy commented 10 months ago

Windows 11 x64 Not sure if this is the same issue, but pip is unable to build the package. Could be me keeping PATH bare-bones, but seems like the script doesn't copy the includes/libxml from site-packages to the build folder, then tries to access files from there.

codechecker_pip_log.txt