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

[script.module.bottle] 0.13.2 #2705

Open
wants to merge 1 commit into
base: matrix
Choose a base branch
from

Conversation

MrDini123
Copy link

@MrDini123 MrDini123 commented Jan 22, 2025

Description

The old version present that's present in the Kodi repositories assumes that all Python installations come with cgi module present in the standard library. However that was deprecated in Python 3.11 and completely removed in 3.13 according to the official docs.

For example the current Arch Linux build of Kodi already comes with Python 3.13.1 therefore bottle and all plugin add-ons that rely on bottle broke. Bottle upstream addressed this issue in 3.13 by switching to their own form parser instead of using the one from cgi. Therefore I find it necessary to update versions.

https://github.com/bottlepy/bottle/releases/tag/0.13.2

Checklist:

  • My code follows the add-on rules and piracy stance of this project.
  • I have read the CONTRIBUTING document
  • Each add-on submission should be a single commit with using the following style: [script.foo.bar] 1.0.0

Additional information :

  • Submitting your add-on to this specific branch makes it available to any Kodi version equal or higher than the branch name with the applicable Kodi dependencies limits.
  • add-on development wiki page.
  • Kodi pydocs provide information about the Python API
  • PEP8 codingstyle which is considered best practise but not mandatory.
  • This add-on repository has automated code guideline check which could help you improve your coding. You can find the results of these check at Codacy. You can create your own account as well to continuously monitor your python coding before submitting to repo.
  • Development questions can be asked in the add-on development section on the Kodi forum.

@MrDini123 MrDini123 force-pushed the fix/bottle_py313 branch 3 times, most recently from 5dc27b4 to 6e9ce4a Compare January 22, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant