[Pkg-cmake-team] Bug#1024625: cmake-data: FindPython.cmake points to newest Python version, not the default
Timo Röhling
roehling at debian.org
Tue Nov 22 13:20:14 GMT 2022
Control: tags -1 + pending
* Andrius Merkys <merkys at debian.org> [2022-11-22 14:38]:
>Due to the added support for Python 3.11, CMake's FindPython.cmake no
>longer returns the default Python version (3.10 currently), but
>returns the latest one (3.11 currently). Due to this, some packages
>FTBFS (for example, openstructure and promod3) and some only provide
>the built object for Python 3.11 which is not the default.
>
>There was a similar bug #945825 during previous Python transition.
>That was resolved by patching FindPython.cmake to use 'py3versions
>-d'. I suppose additional logic has to be implemented to allow for
>default Python version being not the latest available Python version.
I have an improved patch committed to Salsa, I'm just waiting for the
FTP team to approve the split of emacs-cmake-mode. I'm going to give
them a few more days before I consider releasing the bugfix on its
own, if you don't mind.
Cheers
Timo
--
⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cmake-team/attachments/20221122/fddba228/attachment-0003.sig>
More information about the Pkg-cmake-team
mailing list