Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: update to 3.13.0 #9374

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Python: update to 3.13.0 #9374

wants to merge 5 commits into from

Conversation

heitbaum
Copy link
Contributor

@heitbaum heitbaum commented Oct 8, 2024

Draft

Python3 compiles with the rebased patches and the drop of the lib2to3

  • unsure if 0012-gh-115382-Fix-cross-compiles-when-host-and-target-us.patch is still required as python/cpython@53eb9a6 seems to indicate that this is fixed in 3.13.0
  • the 2 py312-cpython118618-y patches seem to be included (at least partially in 3.13.0)

during Kodi:host build swig failed to build, all other packages seem to compile. Patch now added.

make image was successful, but Kodi crashes with https://paste.libreelec.tv/engaged-badger.log (I have not investigated this yet)

fixes:
[5/10] Building CXX object build/interfaces/python/CMakeFiles/python_interface.dir/swig.cpp.o
FAILED: build/interfaces/python/CMakeFiles/python_interface.dir/swig.cpp.o
../xbmc/interfaces/python/swig.cpp: In constructor 'PythonBindings::TypeInfo::TypeInfo(const std::type_info&)':
../xbmc/interfaces/python/swig.cpp:78:5: error: missing initializer for member '_typeobject::tp_versions_used' [-Werror=missing-field-initializers]
   78 |     };
      |     ^
cc1plus: some warnings being treated as errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant