Hello community, here is the log from the commit of package python-vdirsyncer for openSUSE:Leap:15.2 checked in at 2020-05-01 15:07:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-vdirsyncer (Old) and /work/SRC/openSUSE:Leap:15.2/.python-vdirsyncer.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vdirsyncer" Fri May 1 15:07:04 2020 rev:11 rq:777260 version:0.16.7 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-vdirsyncer/python-vdirsyncer.changes 2020-01-15 15:54:03.603619112 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-vdirsyncer.new.2738/python-vdirsyncer.changes 2020-05-01 15:07:04.818536118 +0200 @@ -1,0 +2,77 @@ +Mon Feb 3 15:57:42 UTC 2020 - Dominique Leuenberger <[email protected]> + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + shortcut through the -mini flavors. + +------------------------------------------------------------------- +Wed Jun 5 07:15:52 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Make the deadline for tests even larger, on slow obs bots + it takes 1300: + * python-vdirsyncer-shift-deadline.patch + +------------------------------------------------------------------- +Thu May 16 22:35:41 UTC 2019 - [email protected] + +- Skip flaky test test_legacy_status + +------------------------------------------------------------------- +Tue May 7 05:47:52 UTC 2019 - [email protected] + +- added patches + default deadline (200ms) is too short for obs + + python-vdirsyncer-shift-deadline.patch + +------------------------------------------------------------------- +Mon May 6 13:36:29 UTC 2019 - [email protected] + +- fix tests again https://github.com/pimutils/vdirsyncer/issues/793 +- modified patches + % python-vdirsyncer-fix-tests.patch (extended) + +------------------------------------------------------------------- +Sat Apr 6 22:18:22 UTC 2019 - Jan Engelhardt <[email protected]> + +- Use noun phrase in summary. Wrap description. + +------------------------------------------------------------------- +Fri Mar 29 13:31:30 UTC 2019 - [email protected] + +- version update to 0.16.7 + Fixes for Python 3.7 +- added patches + https://github.com/pimutils/vdirsyncer/pull/779 + + python-vdirsyncer-fix-tests.patch + +------------------------------------------------------------------- +Wed Jul 18 08:05:01 UTC 2018 - [email protected] + +- fix vdirsyncer.timer service + +------------------------------------------------------------------- +Wed Jul 4 06:23:48 UTC 2018 - [email protected] + +- Add systemd unit and timer from upstream git +- Make package python3 only +- Update to version 0.16.6 + * Documentation building no longer needs a working installation + of vdirsyncer. +- Changes from version 0.16.5 + * click-log 0.3 is required. + * All output will now happen on stderr (because of the upgrade of ``click-log``). +- Changes from version 0.16.4 + * Fix tests for new Hypothesis version. (Literally no other change included) +- Changes from version 0.16.3 + * First version with custom Debian and Ubuntu packages. See :gh:`663`. + * Remove invalid ASCII control characters from server responses. See :gh:`626`. + * Python 3.3 is no longer supported. See :ghpr:`674`. +- Changes from version 0.16.2 + * Fix crash when using daterange or item_type filters in + :storage:`google_calendar`, see :gh:`657`. + * Fixes for new version ``0.2.0`` of ``click-log``. The version + requirements for the dependency ``click-log`` changed. +- Changes from version 0.16.1 + * Removed remoteStorage support, see :gh:`647`. + * Fixed test failures caused by latest requests version, see :gh:`660`. + +------------------------------------------------------------------- Old: ---- vdirsyncer-0.16.0.tar.gz New: ---- python-vdirsyncer-fix-tests.patch python-vdirsyncer-shift-deadline.patch vdirsyncer-0.16.7.tar.gz vdirsyncer.service vdirsyncer.timer ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-vdirsyncer.spec ++++++ --- /var/tmp/diff_new_pack.zlrIT7/_old 2020-05-01 15:07:05.582537778 +0200 +++ /var/tmp/diff_new_pack.zlrIT7/_new 2020-05-01 15:07:05.582537778 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-vdirsyncer # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,47 +12,71 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-vdirsyncer -Version: 0.16.0 +Version: 0.16.7 Release: 0 -Summary: Synchronize CalDAV and CardDAV +Summary: CalDAV and CardDAV synchronization module License: BSD-3-Clause Group: Productivity/Networking/News/Utilities -Url: https://github.com/pimutils/vdirsyncer -Source: https://files.pythonhosted.org/packages/source/v/vdirsyncer/vdirsyncer-%{version}.tar.gz +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 setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros +BuildRequires: systemd-rpm-macros +BuildRequires: pkgconfig(systemd) Requires: python-atomicwrites >= 0.1.7 Requires: python-click >= 5.0 -Requires: python-click-log >= 0.1.3 +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.0.1 +Requires: python-requests >= 2.4.1 Requires: python-requests-toolbelt >= 0.4.0 Recommends: python-requests-oauthlib +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 pytest-localserver} +BuildRequires: %{python_module pytest-subtesthack} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests >= 2.4.1} +BuildRequires: %{python_module requests-toolbelt >= 0.4.40} +BuildRequires: %{python_module urllib3} +# /SECTION %ifpython3 -Provides: vdirsyncer == %{version} +Provides: vdirsyncer = %{version} Obsoletes: vdirsyncer < %{version} %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description -Vdirsyncer synchronizes your calendars and addressbooks between two storages. The supported storages are CalDAV, CardDAV, arbitrary HTTP resources, vdir and some more. -It aims to be for CalDAV and CardDAV what OfflineIMAP is for IMAP. +Vdirsyncer synchronizes calendars and addressbooks between two +storages. The supported storages are CalDAV, CardDAV, arbitrary HTTP +resources, vdir and some more. It aims to be for CalDAV and CardDAV +what OfflineIMAP is for IMAP. %prep %setup -q -n vdirsyncer-%{version} +%patch0 -p1 +%patch1 -p1 rm -rf vdirsyncer.egg-info %build @@ -60,12 +84,22 @@ %install %python_install -%python_expand %fdupes -s %{buildroot}/%{$python_sitelib} +%python_expand %fdupes %{buildroot}/%{$python_sitelib} + +mkdir -p %{buildroot}%{_userunitdir} +install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service +install -Dpm 0644 %{SOURCE1} %{buildroot}%{_userunitdir}/vdirsyncer.timer + +%check +export DETERMINISTIC_TESTS=true +%pytest -k 'not test_legacy_status and not test_open_graphical_browser' %files %{python_files} -%defattr(-,root,root) -%doc LICENSE README.rst +%doc README.rst +%license LICENSE %python3_only %{_bindir}/vdirsyncer %{python_sitelib}/* +%{_userunitdir}/vdirsyncer.service +%{_userunitdir}/vdirsyncer.timer %changelog ++++++ python-vdirsyncer-fix-tests.patch ++++++ 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)) ++++++ python-vdirsyncer-shift-deadline.patch ++++++ Index: vdirsyncer-0.16.7/tests/system/cli/test_sync.py =================================================================== --- vdirsyncer-0.16.7.orig/tests/system/cli/test_sync.py 2018-07-19 21:07:31.000000000 +0200 +++ vdirsyncer-0.16.7/tests/system/cli/test_sync.py 2019-05-07 08:59:40.114934546 +0200 @@ -5,11 +5,10 @@ import sys from textwrap import dedent import hypothesis.strategies as st -from hypothesis import example, given +from hypothesis import example, given, settings import pytest - def test_simple_run(tmpdir, runner): runner.write_with_general(dedent(''' [pair my_pair] @@ -273,6 +272,7 @@ def test_multiple_pairs(tmpdir, runner): # XXX: https://github.com/pimutils/vdirsyncer/issues/617 @pytest.mark.skipif(sys.platform == 'darwin', reason='This test inexplicably fails') +@settings(deadline=2000.0) @given(collections=st.sets( st.text( st.characters( ++++++ vdirsyncer-0.16.0.tar.gz -> vdirsyncer-0.16.7.tar.gz ++++++ ++++ 5582 lines of diff (skipped) ++++++ vdirsyncer.service ++++++ [Unit] Description=Synchronize calendars and contacts Documentation=https://vdirsyncer.readthedocs.org/ [Service] ExecStart=/usr/bin/vdirsyncer sync Type=oneshot ++++++ vdirsyncer.timer ++++++ [Unit] Description=Synchronize vdirs [Timer] OnBootSec=5m OnUnitActiveSec=15m AccuracySec=5m [Install] WantedBy=timers.target
