<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Use FindPython3 instead of FindPythonInterp and FindPythonLibs<br>
</p>
<div>
<div class="edit-comment-hide">
<div
class="comment-body markdown-body js-comment-body soft-wrap css-overflow-wrap-anywhere user-select-contain d-block">
<p dir="auto">Fixes CMake warning regarding CMP0148 -
deprecation of FindPythonInterp and FindPythonLibs.</p>
<p dir="auto">Initially tested using a python3.12, but
kdevelop crashes and there are kdev-python errors in the
logs, so kept max version to 3.11.</p>
<p dir="auto">Tested with a local compiled python3.9. When the
python3.9 was compiled without --enable-shared, CMake didn't
work, as expected. When compiled with --enable-shared, CMake
worked fine. Built ok, but for some reason tried to link
kdevpythonlanguagesupport.so to a nonexistent python3.11
library.</p>
<p dir="auto">Installed a python3.11 which worked fine with
kdevelop-python.</p>
<p dir="auto">I assume that issue linking to a nonexistent
python3.11 was not because of a problem with these changes.</p>
<p dir="auto">---</p>
<p dir="auto">Because I haven't contributed to KDE for many
years now, it would take a lot of time to get the accounts
and setups and learn how things are done now.</p>
<p dir="auto">I hope you are able to review and commit if ok.</p>
<p dir="auto">Attaching the patch.<br>
</p>
</div>
</div>
</div>
</body>
</html>