kdev-python: Use CMake FindPython3

Casian Andrei casian at candrei.ro
Tue Jan 9 19:06:00 GMT 2024


Dear Sven*, *Björn, Francis,

I have read all your answers, thank you for all the useful information!

Succeeded in restoring the account on identity.kde.org and managed to 
create a proper merge request [1].

Things should be going smooth now.

Have a wonderful day!


La 08.01.2024 14:50, Casian Andrei a scris:
> I have managed to solve all issues - much faster using this new fancy 
> AI technology.
>
> Regarding the version range, I noticed that putting 3.11 translates 
> into 3.11.0 for CMake, so it refuses 3.11.5, for example. The correct 
> setting is 3.4.3...<3.12. Found that this version range needs at least 
> CMake 3.19 (find_package documentation, search for "[version] argument").
>
> The issue with that linking to python3.11 was because before the 
> distro upgrade, it installed kdev-python in /usr/local, but now the 
> prefix is in /usr . So, when looking at 
> libkdevpythonlanguagesupport.so, the linker found the older 
> libkdevpythonparser.so from /usr/local which needed the old Python 
> libs. I didn't realize those libraries were still there, in a location 
> different from the plugins.
>
> I guess it should be fine now.
>
> Attaching updated patch.
>
>
> Thank you!
>
> Regards,
>
> Casian
>

[1] https://invent.kde.org/kdevelop/kdev-python/-/merge_requests/23
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20240109/e791fa91/attachment.htm>


More information about the KDevelop-devel mailing list