14
0
2022-12-20 19:18:07 +00:00
committed by Git OBS Bridge
parent 7c5fcfe75a
commit e740d20b9f
5 changed files with 67 additions and 11 deletions

View File

@@ -9,12 +9,12 @@ Subject: [PATCH] Add compatibility with latest click
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ from setuptools import setup
@@ -10,7 +10,7 @@ from setuptools import setup
requirements = [
# https://github.com/mitsuhiko/click/issues/200
- "click>=5.0,<9.0",
+ "click>=5.0",
"click-log>=0.3.0, <0.4.0",
# https://github.com/pimutils/vdirsyncer/issues/478
"click-threading>=0.5",
"click-log>=0.3.0, <0.5.0",
"requests >=2.20.0",
# https://github.com/sigmavirus24/requests-toolbelt/pull/28

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
Sun Dec 18 22:01:01 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Update to 0.19.0:
- Add "shell" password fetch strategy to pass command string to
a shell.
- Add "description" and "order" as metadata.
These fetch the CalDAV: calendar-description,
``CardDAV:addressbook-description`` and
``apple-ns:calendar-order`` properties respectively.
- Add a new ``showconfig`` status. This prints *some*
configuration values as JSON. This is intended to be used by
external tools and helpers that interact with ``vdirsyncer``,
and considered experimental.
- Update TLS-related tests that were failing due to weak MDs.
- ``pytest-httpserver`` and ``trustme`` are now required for
tests.
- ``pytest-localserver`` is no longer required for tests.
- Multithreaded support has been dropped. The
``"--max-workers`` has been removed.
- A new ``asyncio`` backend is now used. So far, this shows
substantial speed improvements in ``discovery`` and
``metasync``, but little change in `sync`. This will likely
continue improving over time. :gh:`906`
- The ``google`` storage types no longer
require ``requests-oauthlib``, but require
``python-aiohttp-oauthlib`` instead.
- Vdirsyncer no longer includes experimental support for
`EteSync <https://www.etesync.com/>`_. The existing
integration had not been supported for a long time and
no longer worked. Support for external storages may be
added if anyone is interested in maintaining an EteSync
plugin. EteSync users should consider using `etesync-dav`_.
- The ``plist`` for macOS has been dropped. It was broken and
homebrew generates their own based on package metadata. macOS
users are encouraged to use that as a reference.
- Changes to SSL configuration:
- Support for ``md5`` and ``sha1`` certificate fingerprints
has been dropped. If you're validating certificate
fingerprints, use ``sha256`` instead.
- When using a custom ``verify_fingerprint``, CA validation
is always disabled.
- If ``verify_fingerprint`` is unset, CA verification is
always active. Disabling both features is insecure and no
longer supported.
- The ``verify`` parameter no longer takes boolean values, it
is now optional and only takes a string to a custom CA for
verification.
- The ``verify`` and ``verify_fingerprint`` will likely be
merged into a single parameter in future.
-------------------------------------------------------------------
Sat Jul 10 11:56:11 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-vdirsyncer
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,9 +18,8 @@
%define skip_python2 1
%define skip_python36 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-vdirsyncer
Version: 0.18.0
Version: 0.19.0
Release: 0
Summary: CalDAV and CardDAV synchronization module
License: BSD-3-Clause
@@ -38,6 +37,7 @@ BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(systemd)
Requires: python-aiostream
Requires: python-atomicwrites >= 0.1.7
Requires: python-click >= 5.0
Requires: python-click-log >= 0.3
@@ -49,9 +49,12 @@ Requires(postun):update-alternatives
Recommends: python-requests-oauthlib
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module aiostream}
BuildRequires: %{python_module click-log >= 0.3}
BuildRequires: %{python_module click-threading >= 0.2}
BuildRequires: %{python_module hypothesis >= 5.0.0}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module pytest-subtesthack}
@@ -110,7 +113,8 @@ update-alternatives --auto vdirsyncer
%doc README.rst
%license LICENSE
%python_alternative %{_bindir}/vdirsyncer
%{python_sitelib}/vdirsyncer*
%{python_sitelib}/vdirsyncer-%{version}*-info
%{python_sitelib}/vdirsyncer
%{_userunitdir}/vdirsyncer-%{python_bin_suffix}.service
%{_userunitdir}/vdirsyncer-%{python_bin_suffix}.timer
%{_userunitdir}/vdirsyncer.service

View File

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

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

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