Skip to content

Commit f4ffef0

Browse files
committed
Drop support for click 7.x, Sphinx < 5.x
click 8.0 and Sphinx 4.0 were both released approximately 3 years ago. Anything older is too old to care about now. Signed-off-by: Stephen Finucane <[email protected]>
1 parent f0bf6e9 commit f4ffef0

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
upgrade:
3+
- |
4+
click 7.x is no longer supported. The minimum click version now supported
5+
is 8.0.0.
6+
- |
7+
sphinx < 4.0.0 is no longer supported.

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
sphinx>=2.0
2-
click>=7.0
1+
sphinx>=4.0
2+
click>=8.0
33
docutils

tests/test_formatter.py

-3
Original file line numberDiff line numberDiff line change
@@ -287,9 +287,6 @@ def foobar(bar):
287287
'\n'.join(output),
288288
)
289289

290-
@unittest.skipIf(
291-
CLICK_VERSION < (8, 0), 'Click < 8.0.0 does not support this feature'
292-
)
293290
def test_show_default(self):
294291
"""Validate formatting of show_default via context_settings."""
295292

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 2.0
3-
envlist = py{38,39}-click{7,8,8-async},py{310,311,312}-click{8,8-async},style,docs
3+
envlist = py{38,39,310,311,312}-click{8,8-async},style,docs
44

55
[testenv]
66
setenv =
@@ -12,7 +12,6 @@ deps =
1212
pytest-cov
1313
coverage
1414
defusedxml
15-
click7: click>=7.0,<8.0
1615
click8: click>=8.0,<9.0
1716
click8-async: asyncclick>=8.0,<9.0
1817
defusedxml
@@ -27,6 +26,7 @@ commands =
2726
coverage {posargs:html}
2827

2928
[testenv:style]
29+
skip_install = true
3030
deps =
3131
pre-commit
3232
commands =

0 commit comments

Comments
 (0)