Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Kivy for openSUSE:Factory checked in at 2026-02-26 18:58:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Kivy (Old) and /work/SRC/openSUSE:Factory/.python-Kivy.new.29461 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Kivy" Thu Feb 26 18:58:55 2026 rev:19 rq:1335241 version:2.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Kivy/python-Kivy.changes 2026-01-22 15:19:22.775233465 +0100 +++ /work/SRC/openSUSE:Factory/.python-Kivy.new.29461/python-Kivy.changes 2026-02-26 18:59:23.680407289 +0100 @@ -1,0 +2,5 @@ +Mon Feb 23 15:05:05 UTC 2026 - Markéta Machová <[email protected]> + +- Add py314.patch to fix compatibility with Python 3.14 + +------------------------------------------------------------------- New: ---- py314.patch ----------(New B)---------- New: - Add py314.patch to fix compatibility with Python 3.14 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Kivy.spec ++++++ --- /var/tmp/diff_new_pack.fdvGep/_old 2026-02-26 18:59:24.500441505 +0100 +++ /var/tmp/diff_new_pack.fdvGep/_new 2026-02-26 18:59:24.500441505 +0100 @@ -35,6 +35,8 @@ Source99: python-Kivy.rpmlintrc # PATCH-FIX-UPSTREAM pytest_compatibility.patch based on PR 9245 Patch0: pytest_compatibility.patch +# PATCH-FIX-UPSTREAM https://github.com/kivy/kivy/pull/9157 lang/parser.py: Remove Python 3.6 abstract syntax tree workaround +Patch1: py314.patch BuildRequires: %{mypython}-Sphinx BuildRequires: %{python_module Cython with %python-Cython < 3} BuildRequires: %{python_module Pillow} ++++++ py314.patch ++++++ >From 4b20740cb63b03fdfb65b782f1ce3de42bd6e7b3 Mon Sep 17 00:00:00 2001 From: Christian Clauss <[email protected]> Date: Mon, 22 Sep 2025 21:07:10 +0200 Subject: [PATCH] lang/parser.py: Remove Python 3.6 workaround (#9157) --- kivy/lang/parser.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kivy/lang/parser.py b/kivy/lang/parser.py index 036ee9308d..7a21611418 100644 --- a/kivy/lang/parser.py +++ b/kivy/lang/parser.py @@ -230,11 +230,7 @@ def get_names_from_expression(cls, node): if isinstance(node, (ast.JoinedStr, ast.BoolOp)): for n in node.values: - if isinstance(n, ast.Str): - # NOTE: required for python3.6 - yield from cls.get_names_from_expression(n.s) - else: - yield from cls.get_names_from_expression(n.value) + yield from cls.get_names_from_expression(n.value) if isinstance(node, ast.BinOp): yield from cls.get_names_from_expression(node.right)
