[packman] Kodi vs python - next update will use python-3.11
Tom Weinmann
weintom at gmail.com
Wed Dec 27 12:31:11 CET 2023
Hello Manfred
ThanksĀ for your help. I can confirm that 20.2-150500.5.pm.1 solves my
issues with addons.
Best, Tom
On 26.12.23 17:47, Manfred Hollstein wrote:
> Hi there,
>
> some of you might remember some heated discussions about the old version
> of Python used by kodi. I looked into this issue further and found out,
> that it is actually pretty simple to use a newer version than what is
> used by default on a Linux OS. The patch below shows what's needed to
> be able to use python-3.11 on all supported versions of openSUSE (Leap
> 15.5, 15.6, Slowroll, and Tumbleweed).
>
> The next update for Kodi Nexus 20.2 will introduce that change and might
> result in needing libpython3_11-1_0 on your Leap 15.5 installation/
> system in case you don't already have that installed. As a result, the
> addons will run in a Python 3.11 environment, which should help all
> users who had been involved in the earlier discussions (see above), e.g.
> Eric Schirra and Tom Weinmann to name just two. Users on Tumbleweed
> should not see any difference.
>
> FWIW, Kodi 21 Omega will be released some time early next year. I'll
> make sure we'll have a similar Python environment in the new version,
> too. I am currently building/testing Kodi 21 Beta2 Omega in my private
> build environment and everything looks OK for now. So, once the next
> Kodi version will be freely available, we shall have updated packages
> for openSUSE in a very short timeframe, too.
>
> Cheers.
>
> l8er
> manfred
>
>>>>>>>>>>>>>>>>>>>>>>>> PATCH to use Python 3.11 <<<<<<<<<<<<<<<<<<<<<<<
> Index: kodi.changes
> ===================================================================
> --- kodi.changes (revision 98)
> +++ kodi.changes (revision 12)
> @@ -1,4 +1,9 @@
> -------------------------------------------------------------------
> +Mon Dec 25 17:13:19 UTC 2023 - Manfred Hollstein<manfred.h at gmx.net>
> +
> +- Use python3.11 on all platforms.
> +
> +-------------------------------------------------------------------
> Tue Dec 5 12:31:48 UTC 2023 - Manfred Hollstein<manfred.h at gmx.net>
>
> - Unban fmt10, but add new patch fix_building_with_fmt10.patch
> Index: kodi.spec
> ===================================================================
> --- kodi.spec (revision 98)
> +++ kodi.spec (revision 12)
> @@ -121,7 +121,8 @@
> BuildRequires: fstrcmp-devel
> BuildRequires: pkgconfig(fmt)
> BuildRequires: pkgconfig(RapidJSON) >= 1.0.2
> -BuildRequires: pkgconfig(python3)
> +BuildRequires: python(abi) >= 3.11
> +BuildRequires: pkgconfig(python-3.11)
> BuildRequires: libmysqlclient-devel
> BuildRequires: pkgconfig(libass)
> BuildRequires: pkgconfig(libcurl)
> @@ -425,6 +426,7 @@
> -DAPP_RENDER_SYSTEM=gl \
> -DX11_RENDER_SYSTEM=gl \
> -DBUILD_SHARED_LIBS=1 \
> + -DPYTHON_VER=3.11 \
> ${NULL}
>
> #-DRapidJSON_URL=%{SOURCE25}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> End of PATCH <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
More information about the Packman
mailing list