Skip to content

Make no-ast-str.patch conditional on Kivy version. - #3359

Merged
AndreMiras merged 1 commit into
kivy:developfrom
kengoon:disable-ast-str-patch-for-kivy3
Jul 27, 2026
Merged

Make no-ast-str.patch conditional on Kivy version.#3359
AndreMiras merged 1 commit into
kivy:developfrom
kengoon:disable-ast-str-patch-for-kivy3

Conversation

@kengoon

@kengoon kengoon commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

This pull request makes a small change to the KivyRecipe class in the pythonforandroid/recipes/kivy/__init__.py file. The change updates the way the "no-ast-str.patch" patch is specified, making it conditional on the Kivy version being less than 3, similar to the other patches.

  • Updated the patches list so that "no-ast-str.patch" is only applied when Kivy is less than version 3, by pairing it with the is_kivy_less_than_3 condition.

Only apply no-ast-str.patch for Kivy versions below 3.0, since Kivy 3 no longer needs it.
@AndreMiras
AndreMiras merged commit 0280912 into kivy:develop Jul 27, 2026
39 checks passed
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.

3 participants