File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -42,20 +42,28 @@ dependencies = [
42
42
43
43
[project .optional-dependencies ]
44
44
dev = [" zulip-term[testing,linting,typing,dev-helper]" ]
45
- testing = [
46
- " pytest~=7.2.0" ,
47
- " pytest-cov~=4.0.0" ,
48
- " pytest-mock~=3.10.0" ,
45
+ testing = [" zulip-term[testing-minimal, testing-plugins]" ]
46
+ testing-minimal = [
47
+ " pytest>=7.4.0,<8.0.0" , # 8.0.0 drops support for Python 3.7
48
+ " pytest-mock>=3.10.0,<3.12.0" , # 3.12.0 drops support for Python 3.7
49
+ ]
50
+ testing-plugins = [
51
+ " pytest-cov>=4.0.0,<5.0.0" , # 5.0.0 drops support for Python 3.7 (6.0.0 drops 3.8)
49
52
]
50
53
linting = [
51
- " isort~=5.11.0" ,
52
- " black~=23.0" ,
53
- " ruff==0.0.253" ,
54
- " codespell[toml]~=2.2.2" ,
54
+ " isort~=5.11.0,<5.12.0" , # 5.12.0 drops support for Python 3.7, 6.0.0 drops 3.8
55
+ " black==23.3.0" , # Later versions drop support for Python 3.7
56
+ " ruff==0.0.267" ,
57
+ " codespell[toml]==2.2.5,<2.2.6" , # 2.2.6 drops support for Python 3.7
58
+ " typos>=1.32.0" ,
59
+ ]
60
+ gitlint = [
61
+ " gitlint~=0.18.0" ,
55
62
]
56
63
typing = [
57
64
" lxml-stubs" ,
58
- " mypy~=1.0.0" ,
65
+ " mypy~=1.8.0" , # >=1.9.0 requires Python 3.8+, >=1.15.0 requires 3.9+
66
+ " types-beautifulsoup4" ,
59
67
" types-pygments" ,
60
68
" types-python-dateutil" ,
61
69
" types-tzlocal" ,
@@ -65,7 +73,6 @@ typing = [
65
73
dev-helper = [
66
74
" pudb==2022.1.1" ,
67
75
" snakeviz>=2.1.1" ,
68
- " gitlint~=0.18.0" ,
69
76
]
70
77
71
78
[project .scripts ]
You can’t perform that action at this time.
0 commit comments