From 3eb31f890f500239f1848dba8aa2bdf52abfbbb6c25ff5e1911da46dd6bfa4ba Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 23 Jul 2020 10:06:34 +0000 Subject: [PATCH] Accepting request 822341 from home:mcalabkova:branches:devel:languages:python - Update to 0.16.8 * Support Python 3.7 and 3.8. * Vdirsyncer will now warn if there's a string without quotes in your config. - Drop python-vdirsyncer-fix-tests.patch OBS-URL: https://build.opensuse.org/request/show/822341 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vdirsyncer?expand=0&rev=26 --- python-vdirsyncer-fix-tests.patch | 49 ------------------------------- python-vdirsyncer.changes | 8 +++++ python-vdirsyncer.spec | 16 +++------- vdirsyncer-0.16.7.tar.gz | 3 -- vdirsyncer-0.16.8.tar.gz | 3 ++ 5 files changed, 15 insertions(+), 64 deletions(-) delete mode 100644 python-vdirsyncer-fix-tests.patch delete mode 100644 vdirsyncer-0.16.7.tar.gz create mode 100644 vdirsyncer-0.16.8.tar.gz diff --git a/python-vdirsyncer-fix-tests.patch b/python-vdirsyncer-fix-tests.patch deleted file mode 100644 index 67c070b..0000000 --- a/python-vdirsyncer-fix-tests.patch +++ /dev/null @@ -1,49 +0,0 @@ -Index: vdirsyncer-0.16.7/tests/conftest.py -=================================================================== ---- vdirsyncer-0.16.7.orig/tests/conftest.py 2018-02-16 19:48:40.000000000 +0100 -+++ vdirsyncer-0.16.7/tests/conftest.py 2019-05-07 07:42:51.601117380 +0200 -@@ -7,7 +7,7 @@ import os - - import click_log - --from hypothesis import HealthCheck, Verbosity, settings -+from hypothesis import Verbosity, settings - - import pytest - -@@ -27,15 +27,12 @@ else: - del pytest_benchmark - - --settings.suppress_health_check = [HealthCheck.too_slow] -- - settings.register_profile("ci", settings( - max_examples=1000, - verbosity=Verbosity.verbose, - )) - settings.register_profile("deterministic", settings( - derandomize=True, -- perform_health_check=False - )) - - if os.environ.get('DETERMINISTIC_TESTS', 'false').lower() == 'true': -Index: vdirsyncer-0.16.7/tests/unit/test_repair.py -=================================================================== ---- vdirsyncer-0.16.7.orig/tests/unit/test_repair.py 2018-07-19 21:07:31.000000000 +0200 -+++ vdirsyncer-0.16.7/tests/unit/test_repair.py 2019-05-07 07:37:15.015521334 +0200 -@@ -11,7 +11,6 @@ from vdirsyncer.vobject import Item - - - @given(uid=uid_strategy) --@settings(perform_health_check=False) # Using the random module for UIDs - def test_repair_uids(uid): - s = MemoryStorage() - s.items = { -@@ -35,7 +34,6 @@ def test_repair_uids(uid): - - - @given(uid=uid_strategy.filter(lambda x: not href_safe(x))) --@settings(perform_health_check=False) # Using the random module for UIDs - def test_repair_unsafe_uids(uid): - s = MemoryStorage() - item = Item(u'BEGIN:VCARD\nUID:{}\nEND:VCARD'.format(uid)) diff --git a/python-vdirsyncer.changes b/python-vdirsyncer.changes index 60277b1..40cb722 100644 --- a/python-vdirsyncer.changes +++ b/python-vdirsyncer.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jul 23 09:16:29 UTC 2020 - Marketa Calabkova + +- Update to 0.16.8 + * Support Python 3.7 and 3.8. + * Vdirsyncer will now warn if there's a string without quotes in your config. +- Drop python-vdirsyncer-fix-tests.patch + ------------------------------------------------------------------- Sun Jun 7 21:35:23 UTC 2020 - Matej Cepl diff --git a/python-vdirsyncer.spec b/python-vdirsyncer.spec index 5f814e8..3a87929 100644 --- a/python-vdirsyncer.spec +++ b/python-vdirsyncer.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-vdirsyncer -Version: 0.16.7 +Version: 0.16.8 Release: 0 Summary: CalDAV and CardDAV synchronization module License: BSD-3-Clause @@ -28,9 +28,6 @@ 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 -# https://github.com/pimutils/vdirsyncer/pull/779 -# https://github.com/pimutils/vdirsyncer/issues/793 -Patch0: python-vdirsyncer-fix-tests.patch # default deadline (200ms) is too short for obs Patch1: python-vdirsyncer-shift-deadline.patch BuildRequires: %{python_module atomicwrites} @@ -44,11 +41,7 @@ Requires: python-atomicwrites >= 0.1.7 Requires: python-click >= 5.0 Requires: python-click-log >= 0.3 Requires: python-click-threading >= 0.2 -Requires: python-icalendar >= 3.6 -Requires: python-lxml -Requires: python-python-dateutil -Requires: python-pytz -Requires: python-requests >= 2.4.1 +Requires: python-requests >= 2.20.0 Requires: python-requests-toolbelt >= 0.4.0 Requires(post): update-alternatives Requires(postun): update-alternatives @@ -57,11 +50,11 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module click-log >= 0.3} BuildRequires: %{python_module click-threading >= 0.2} -BuildRequires: %{python_module hypothesis >= 3.1} +BuildRequires: %{python_module hypothesis >= 5.0.0} BuildRequires: %{python_module pytest-localserver} BuildRequires: %{python_module pytest-subtesthack} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module requests >= 2.4.1} +BuildRequires: %{python_module requests >= 2.20.0} BuildRequires: %{python_module requests-toolbelt >= 0.4.40} BuildRequires: %{python_module urllib3} # /SECTION @@ -79,7 +72,6 @@ what OfflineIMAP is for IMAP. %prep %setup -q -n vdirsyncer-%{version} -%patch0 -p1 %patch1 -p1 rm -rf vdirsyncer.egg-info diff --git a/vdirsyncer-0.16.7.tar.gz b/vdirsyncer-0.16.7.tar.gz deleted file mode 100644 index 243d5b7..0000000 --- a/vdirsyncer-0.16.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6c9bcfb9bcb01246c83ba6f8551cf54c58af3323210755485fc23bb7848512ef -size 112786 diff --git a/vdirsyncer-0.16.8.tar.gz b/vdirsyncer-0.16.8.tar.gz new file mode 100644 index 0000000..00f11bf --- /dev/null +++ b/vdirsyncer-0.16.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfdb422f52e1d4d60bd0635d203fb59fa7f613397d079661eb48e79464ba13c5 +size 115819