Skip to content

Commit c117671

Browse files
authored
Pin Ruff to a lower bound rather than pinning pytest-ruff to an upper bound (#4562)
2 parents 6079542 + 6171c87 commit c117671

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

pyproject.toml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test = [
3939

4040
# local
4141
"virtualenv>=13.0.0",
42-
"wheel>=0.44.0", # Consistent requirement normalisation in METADATA (see #4547)
42+
"wheel>=0.44.0", # Consistent requirement normalisation in METADATA (see #4547)
4343
"pip>=19.1", # For proper file:// URLs support.
4444
"packaging>=23.2",
4545
"jaraco.envs>=2.2",
@@ -64,17 +64,10 @@ test = [
6464
"importlib_metadata",
6565
"pytest-subprocess",
6666

67-
# require newer pytest-ruff than upstream for pypa/setuptools#4368
68-
# also exclude cygwin for pypa/setuptools#3921
69-
'pytest-ruff >= 0.3.2; sys_platform != "cygwin"',
70-
7167
# workaround for pypa/setuptools#4333
7268
"pyproject-hooks!=1.1",
7369

7470
"jaraco.test",
75-
76-
# workaround for businho/pytest-ruff#28
77-
'pytest-ruff < 0.4; platform_system == "Windows"',
7871
]
7972

8073
doc = [
@@ -118,8 +111,14 @@ core = [
118111
]
119112

120113
check = [
114+
# upstream
121115
"pytest-checkdocs >= 2.4",
122116
"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",
117+
118+
# local
119+
120+
# workaround for businho/pytest-ruff#28
121+
"ruff >= 0.5.2; sys_platform != 'cygwin'",
123122
]
124123

125124
cover = [

0 commit comments

Comments
 (0)