15
0

Compare commits

6 Commits

Author SHA256 Message Date
774abb1996 Accepting request 1323041 from devel:languages:python
- Update to 0.20.0:
  * Remove dependency on abandoned atomicwrites library.
  * Implement filter_hook for the HTTP storage.
  * Drop support for Python 3.7.
  * Add support for Python 3.12 and Python 3.13.
  * Properly close the status database after using. This especially affects
    tests, where we were leaking a large amount of file descriptors.
  * Extend supported versions of aiostream to include 0.7.x.
- Drop patch support-new-pytest-asyncio.patch, no longer required.

OBS-URL: https://build.opensuse.org/request/show/1323041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-vdirsyncer?expand=0&rev=22
2025-12-16 14:56:33 +00:00
08ba880945 - Update to 0.20.0:
* Remove dependency on abandoned atomicwrites library.
  * Implement filter_hook for the HTTP storage.
  * Drop support for Python 3.7.
  * Add support for Python 3.12 and Python 3.13.
  * Properly close the status database after using. This especially affects
    tests, where we were leaking a large amount of file descriptors.
  * Extend supported versions of aiostream to include 0.7.x.
- Drop patch support-new-pytest-asyncio.patch, no longer required.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=49
2025-12-16 04:26:43 +00:00
c171ffffed Accepting request 1294923 from devel:languages:python
- Add patch support-new-pytest-asyncio.patch:
  * Support changes required by pytest-asyncio 1.0.

OBS-URL: https://build.opensuse.org/request/show/1294923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-vdirsyncer?expand=0&rev=21
2025-07-22 10:20:46 +00:00
ce8252b5c1 - Add patch support-new-pytest-asyncio.patch:
* Support changes required by pytest-asyncio 1.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=47
2025-07-22 04:29:58 +00:00
40fc84d2a2 Accepting request 1231588 from devel:languages:python
- Update to 0.19.3:
  * Added a no_delete option to the storage configuration. :gh:`1090`
  * Fix crash when running vdirsyncer repair on a collection. :gh:`1019`
  * Add an option to request vCard v4.0. :gh:`1066`
  * Require matching BEGIN and END lines in vobjects. :gh:`1103`
  * Implement digest auth. :gh:`1137`
  * Add filter_hook parameter to :storage:`http`. :gh:`1136`
- Drop patch 3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch, included.
- Switch to pyproject macros.
- Stop skipping so many tests.

OBS-URL: https://build.opensuse.org/request/show/1231588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-vdirsyncer?expand=0&rev=20
2024-12-17 18:23:31 +00:00
95263f454d - Update to 0.19.3:
* Added a no_delete option to the storage configuration. :gh:`1090`
  * Fix crash when running vdirsyncer repair on a collection. :gh:`1019`
  * Add an option to request vCard v4.0. :gh:`1066`
  * Require matching BEGIN and END lines in vobjects. :gh:`1103`
  * Implement digest auth. :gh:`1137`
  * Add filter_hook parameter to :storage:`http`. :gh:`1136`
- Drop patch 3eb9ce5ae4320d52e6c876874511ff96a8a45f51.patch, included.
- Switch to pyproject macros.
- Stop skipping so many tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=45
2024-12-17 00:59:45 +00:00
5 changed files with 19 additions and 56 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Dec 16 04:25:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.20.0:
* Remove dependency on abandoned atomicwrites library.
* Implement filter_hook for the HTTP storage.
* Drop support for Python 3.7.
* Add support for Python 3.12 and Python 3.13.
* Properly close the status database after using. This especially affects
tests, where we were leaking a large amount of file descriptors.
* Extend supported versions of aiostream to include 0.7.x.
- Drop patch support-new-pytest-asyncio.patch, no longer required.
-------------------------------------------------------------------
Tue Jul 22 04:29:15 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-vdirsyncer
#
# 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
@@ -17,7 +17,7 @@
Name: python-vdirsyncer
Version: 0.19.3
Version: 0.20.0
Release: 0
Summary: CalDAV and CardDAV synchronization module
License: BSD-3-Clause
@@ -25,9 +25,7 @@ URL: https://github.com/pimutils/vdirsyncer
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 base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
@@ -38,7 +36,6 @@ BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(systemd)
Requires: python-aiohttp
Requires: python-aiostream
Requires: python-atomicwrites >= 0.1.7
Requires: python-click >= 5.0
Requires: python-click-log >= 0.3
Requires: python-requests >= 2.20.0

View File

@@ -1,47 +0,0 @@
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)

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e437851feb985dec3544654f8f9cf6dd109b0b03f7e19956086603092ffeb28f
size 125478

3
vdirsyncer-0.20.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:feb1a533500a95c14fd155733a1056fe359192553d82c07c6ba04fcbfc40b12d
size 126633