Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-makefun for openSUSE:Factory checked in at 2025-08-11 13:53:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-makefun (Old) and /work/SRC/openSUSE:Factory/.python-makefun.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-makefun" Mon Aug 11 13:53:42 2025 rev:10 rq:1298702 version:1.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-makefun/python-makefun.changes 2025-06-13 18:47:08.582988494 +0200 +++ /work/SRC/openSUSE:Factory/.python-makefun.new.1085/python-makefun.changes 2025-08-11 13:54:00.700867090 +0200 @@ -1,0 +2,7 @@ +Mon Aug 11 02:24:39 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Add BuildRequires on pytest-asyncio. +- Add patch set-pytest-asyncio-mode.patch: + * Set asyncio-mode to auto. + +------------------------------------------------------------------- New: ---- set-pytest-asyncio-mode.patch ----------(New B)---------- New:- Add BuildRequires on pytest-asyncio. - Add patch set-pytest-asyncio-mode.patch: * Set asyncio-mode to auto. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-makefun.spec ++++++ --- /var/tmp/diff_new_pack.uwOHx4/_old 2025-08-11 13:54:01.356894154 +0200 +++ /var/tmp/diff_new_pack.uwOHx4/_new 2025-08-11 13:54:01.356894154 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-makefun # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 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 @@ -23,8 +23,9 @@ License: BSD-3-Clause Summary: Small library to dynamically create python functions URL: https://github.com/smarie/python-makefun -Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/m/makefun/makefun-%{version}.tar.gz +# PATCH-FIX-UPSTREAM Based on gh#smarie/python-makefun#119 +Patch0: set-pytest-asyncio-mode.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} @@ -32,6 +33,7 @@ BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-asyncio} # /SECTION BuildRequires: fdupes Suggests: python-funcsigs @@ -43,7 +45,7 @@ Small library to dynamically create python functions. %prep -%setup -q -n makefun-%{version} +%autosetup -p1 -n makefun-%{version} sed -i '/pytest-runner/d' setup.cfg %build ++++++ set-pytest-asyncio-mode.patch ++++++ >From 3d256ef2531828f131008796f68268d4c23fc2c1 Mon Sep 17 00:00:00 2001 From: Andy Hawkins <a...@gently.org.uk> Date: Sun, 11 May 2025 17:43:13 +0100 Subject: [PATCH] Specify pytest asyncio mode (there is no default in later versions) --- setup.cfg | 1 + 1 file changed, 1 insertion(+) Index: makefun-1.16.0/setup.cfg =================================================================== --- makefun-1.16.0.orig/setup.cfg +++ makefun-1.16.0/setup.cfg @@ -59,6 +59,7 @@ addopts = --verbose --doctest-modules --ignore-glob='**/_*.py' + --asyncio-mode=auto filterwarnings = always