forked from pool/python-vdirsyncer
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 774abb1996 | |||
| 08ba880945 | |||
| c171ffffed | |||
| ce8252b5c1 | |||
| 40fc84d2a2 | |||
| 95263f454d |
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
3
vdirsyncer-0.20.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:feb1a533500a95c14fd155733a1056fe359192553d82c07c6ba04fcbfc40b12d
|
||||
size 126633
|
||||
Reference in New Issue
Block a user