aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vdirsyncer/01-python-click.patch
blob: 772605bf0d2b157f275a5b7795bd7a38ddd10df2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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):