Skip to content

Commit 5a4abf1

Browse files
committed
pyproject: Updated other deps.
1 parent bb2e7fa commit 5a4abf1

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

pyproject.toml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,28 @@ dependencies = [
4242

4343
[project.optional-dependencies]
4444
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)
4952
]
5053
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",
5562
]
5663
typing = [
5764
"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",
5967
"types-pygments",
6068
"types-python-dateutil",
6169
"types-tzlocal",
@@ -65,7 +73,6 @@ typing = [
6573
dev-helper = [
6674
"pudb==2022.1.1",
6775
"snakeviz>=2.1.1",
68-
"gitlint~=0.18.0",
6976
]
7077

7178
[project.scripts]

0 commit comments

Comments
 (0)