[packman] Kodi vs python - next update will use python-3.11
Manfred Hollstein
manfred.h at gmx.net
Tue Dec 26 17:47:18 CET 2023
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 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.links2linux.de/pipermail/packman/attachments/20231226/cc43860c/attachment.sig>
More information about the Packman
mailing list