1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/testing/vdirsyncer/01-python-click.patch
Galen Abell 9eb8cc899e testing/vdirsyncer: new aport
http://vdirsyncer.pimutils.org
CLI Synchronization for CalDAV and CardDAV
testing/
2020-08-15 09:35:45 +00:00

29 lines
1 KiB
Diff

# See https://github.com/pimutils/vdirsyncer/issues/828
diff --git i/setup.py w/setup.py
index 653be04..aaa4c2d 100644
--- i/setup.py
+++ w/setup.py
@@ -11,8 +11,8 @@ from setuptools import Command, find_packages, setup
requirements = [
# https://github.com/mitsuhiko/click/issues/200
- 'click>=5.0,<6.0',
- 'click-log>=0.3.0, <0.4.0',
+ 'click>=5.0',
+ 'click-log>=0.3.0',
# https://github.com/pimutils/vdirsyncer/issues/478
'click-threading>=0.2',
diff --git i/tests/system/cli/test_sync.py w/tests/system/cli/test_sync.py
index 97e21e8..54fa201 100644
--- i/tests/system/cli/test_sync.py
+++ w/tests/system/cli/test_sync.py
@@ -123,7 +123,7 @@ def test_verbosity(tmpdir, runner):
runner.write_with_general('')
result = runner.invoke(['--verbosity=HAHA', 'sync'])
assert result.exception
- assert 'invalid value for "--verbosity"' in result.output.lower()
+ assert "invalid value for '--verbosity'" in result.output.lower()
def test_collections_cache_invalidation(tmpdir, runner):