diff --git a/releasenotes/notes/drop-click-7-cbdaccc6a64029d0.yaml b/releasenotes/notes/drop-click-7-cbdaccc6a64029d0.yaml new file mode 100644 index 0000000..9cbc1a6 --- /dev/null +++ b/releasenotes/notes/drop-click-7-cbdaccc6a64029d0.yaml @@ -0,0 +1,7 @@ +--- +upgrade: + - | + click 7.x is no longer supported. The minimum click version now supported + is 8.0.0. + - | + sphinx < 4.0.0 is no longer supported. diff --git a/requirements.txt b/requirements.txt index 3233346..1de63f5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -sphinx>=2.0 -click>=7.0 +sphinx>=4.0 +click>=8.0 docutils diff --git a/tests/test_formatter.py b/tests/test_formatter.py index 2c73470..a1dc70f 100644 --- a/tests/test_formatter.py +++ b/tests/test_formatter.py @@ -287,9 +287,6 @@ def foobar(bar): '\n'.join(output), ) - @unittest.skipIf( - CLICK_VERSION < (8, 0), 'Click < 8.0.0 does not support this feature' - ) def test_show_default(self): """Validate formatting of show_default via context_settings.""" diff --git a/tox.ini b/tox.ini index 0085d4c..799d7ee 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py{38,39}-click{7,8,8-async},py{310,311,312}-click{8,8-async},style,docs +envlist = py{38,39,310,311,312}-click{8,8-async},style,docs [testenv] setenv = @@ -12,7 +12,6 @@ deps = pytest-cov coverage defusedxml - click7: click>=7.0,<8.0 click8: click>=8.0,<9.0 click8-async: asyncclick>=8.0,<9.0 defusedxml @@ -27,6 +26,7 @@ commands = coverage {posargs:html} [testenv:style] +skip_install = true deps = pre-commit commands =