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-01-22 15:17:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Kivy (Old)
 and      /work/SRC/openSUSE:Factory/.python-Kivy.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Kivy"

Thu Jan 22 15:17:52 2026 rev:18 rq:1328612 version:2.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Kivy/python-Kivy.changes  2025-04-14 
12:59:40.919523892 +0200
+++ /work/SRC/openSUSE:Factory/.python-Kivy.new.1928/python-Kivy.changes        
2026-01-22 15:19:22.775233465 +0100
@@ -1,0 +2,7 @@
+Wed Jan 21 15:27:48 UTC 2026 - Marius Grossu <[email protected]>
+
+- Add pytest_compatibility.patch: Fix pytest9 compatibility
+- Add asyncio_mode = "auto"' to pyproject.toml in spec file
+  (gh#kivy/kivy#9245)
+
+-------------------------------------------------------------------

New:
----
  pytest_compatibility.patch

----------(New B)----------
  New:
- Add pytest_compatibility.patch: Fix pytest9 compatibility
- Add asyncio_mode = "auto"' to pyproject.toml in spec file
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Kivy.spec ++++++
--- /var/tmp/diff_new_pack.HSLfgh/_old  2026-01-22 15:19:23.923281339 +0100
+++ /var/tmp/diff_new_pack.HSLfgh/_new  2026-01-22 15:19:23.927281506 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Kivy
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -33,6 +33,8 @@
 URL:            https://kivy.org/
 Source:         
https://github.com/kivy/kivy/archive/%{version}.tar.gz#/kivy-%{version}.tar.gz
 Source99:       python-Kivy.rpmlintrc
+# PATCH-FIX-UPSTREAM pytest_compatibility.patch based on PR 9245
+Patch0:         pytest_compatibility.patch
 BuildRequires:  %{mypython}-Sphinx
 BuildRequires:  %{python_module Cython with %python-Cython < 3}
 BuildRequires:  %{python_module Pillow}
@@ -116,7 +118,7 @@
 user interfaces, such as multi-touch apps.
 
 %prep
-%setup -q -n kivy-%{version}
+%autosetup -p1 -n kivy-%{version}
 # remove the legacy garden install script as python requirement, get it from 
PyPI or https://github.com/kivy-garden/garden/ if you need it
 sed -i '/Kivy-Garden/d' setup.cfg
 # remove shebang
@@ -132,6 +134,7 @@
 sed -i "/^#!/ c #!`which sh`" 
kivy/tools/image-testsuite/imagemagick-testsuite.sh
 # remove benchmark from tests
 sed -i /addopts/d pyproject.toml
+sed -i '/\[tool.pytest.ini_options\]/a asyncio_mode = "auto"' pyproject.toml
 chmod -x kivy/tools/pep8checker/pre-commit.githook
 
 %build

++++++ pytest_compatibility.patch ++++++
Index: kivy-2.3.1/kivy/tests/common.py
===================================================================
--- kivy-2.3.1.orig/kivy/tests/common.py
+++ kivy-2.3.1/kivy/tests/common.py
@@ -498,7 +498,7 @@ def async_run(func=None, app_cls_func=No
         if kivy_eventloop == 'asyncio':
             try:
                 import pytest_asyncio
-                return pytest.mark.asyncio(pytest_asyncio.fixture(func))
+                return pytest.mark.asyncio(func)
             except ImportError:
                 return pytest.mark.skip(
                     reason='KIVY_EVENTLOOP == "asyncio" but '

Reply via email to