Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-vdirsyncer for openSUSE:Factory checked in at 2025-07-22 12:20:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-vdirsyncer (Old) and /work/SRC/openSUSE:Factory/.python-vdirsyncer.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vdirsyncer" Tue Jul 22 12:20:46 2025 rev:21 rq:1294923 version:0.19.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-vdirsyncer/python-vdirsyncer.changes 2024-12-17 19:24:09.427408260 +0100 +++ /work/SRC/openSUSE:Factory/.python-vdirsyncer.new.8875/python-vdirsyncer.changes 2025-07-22 12:21:25.430934796 +0200 @@ -1,0 +2,6 @@ +Tue Jul 22 04:29:15 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch support-new-pytest-asyncio.patch: + * Support changes required by pytest-asyncio 1.0. + +------------------------------------------------------------------- New: ---- support-new-pytest-asyncio.patch ----------(New B)---------- New: - Add patch support-new-pytest-asyncio.patch: * Support changes required by pytest-asyncio 1.0. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-vdirsyncer.spec ++++++ --- /var/tmp/diff_new_pack.NnVVQO/_old 2025-07-22 12:21:26.046960367 +0200 +++ /var/tmp/diff_new_pack.NnVVQO/_new 2025-07-22 12:21:26.050960533 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-vdirsyncer # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,8 @@ Source0: https://files.pythonhosted.org/packages/source/v/vdirsyncer/vdirsyncer-%{version}.tar.gz Source1: vdirsyncer.service Source2: vdirsyncer.timer +# PATCH-FIX-OPENSUSE Support pytest-asyncio 1.0 changes. +Patch0: support-new-pytest-asyncio.patch BuildRequires: %{python_module atomicwrites} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} ++++++ support-new-pytest-asyncio.patch ++++++ Index: vdirsyncer-0.19.3/tests/conftest.py =================================================================== --- vdirsyncer-0.19.3.orig/tests/conftest.py +++ vdirsyncer-0.19.3/tests/conftest.py @@ -59,12 +59,12 @@ else: @pytest_asyncio.fixture -async def aio_session(event_loop): +async def aio_session(): async with aiohttp.ClientSession() as session: yield session @pytest_asyncio.fixture -async def aio_connector(event_loop): +async def aio_connector(): async with aiohttp.TCPConnector(limit_per_host=16) as conn: yield conn Index: vdirsyncer-0.19.3/tests/unit/test_metasync.py =================================================================== --- vdirsyncer-0.19.3.orig/tests/unit/test_metasync.py +++ vdirsyncer-0.19.3/tests/unit/test_metasync.py @@ -1,4 +1,5 @@ from __future__ import annotations +import asyncio import hypothesis.strategies as st import pytest @@ -57,7 +58,7 @@ async def test_basic(monkeypatch): @pytest_asyncio.fixture @pytest.mark.asyncio -async def conflict_state(request, event_loop): +async def conflict_state(request): a = MemoryStorage() b = MemoryStorage() status = {} @@ -70,7 +71,7 @@ async def conflict_state(request, event_ assert await b.get_meta("foo") == "baz" assert not status - event_loop.run_until_complete(do_cleanup()) + asyncio.new_event_loop().run_until_complete(do_cleanup()) request.addfinalizer(cleanup)