@@ -39,7 +39,7 @@ test = [
39
39
40
40
# local
41
41
" 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)
43
43
" pip>=19.1" , # For proper file:// URLs support.
44
44
" packaging>=23.2" ,
45
45
" jaraco.envs>=2.2" ,
@@ -54,27 +54,12 @@ test = [
54
54
# for tools/finalize.py
55
55
' jaraco.develop >= 7.21; python_version >= "3.9" and sys_platform != "cygwin"' ,
56
56
" pytest-home >= 0.5" ,
57
- # pin mypy version so a new version doesn't suddenly cause the CI to fail,
58
- # until types-setuptools is removed from typeshed.
59
- # For help with static-typing issues, or mypy update, ping @Avasam
60
- " mypy==1.11.*" ,
61
- # No Python 3.11 dependencies require tomli, but needed for type-checking since we import it directly
62
- " tomli" ,
63
- # No Python 3.12 dependencies require importlib_metadata, but needed for type-checking since we import it directly
64
- " importlib_metadata" ,
65
57
" pytest-subprocess" ,
66
58
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
-
71
59
# workaround for pypa/setuptools#4333
72
60
" pyproject-hooks!=1.1" ,
73
61
74
62
" jaraco.test" ,
75
-
76
- # workaround for businho/pytest-ruff#28
77
- ' pytest-ruff < 0.4; platform_system == "Windows"' ,
78
63
]
79
64
80
65
doc = [
@@ -118,8 +103,17 @@ core = [
118
103
]
119
104
120
105
check = [
106
+ # upstream
121
107
" pytest-checkdocs >= 2.4" ,
122
108
" pytest-ruff >= 0.2.1; sys_platform != 'cygwin'" ,
109
+
110
+ # local
111
+
112
+ # require newer pytest-ruff than upstream for pypa/setuptools#4368
113
+ # also exclude cygwin for pypa/setuptools#3921
114
+ ' pytest-ruff >= 0.3.2; sys_platform != "cygwin"' ,
115
+ # workaround for businho/pytest-ruff#28
116
+ ' pytest-ruff < 0.4; platform_system == "Windows"' ,
123
117
]
124
118
125
119
cover = [
@@ -131,7 +125,21 @@ enabler = [
131
125
]
132
126
133
127
type = [
128
+ # upstream
134
129
" pytest-mypy" ,
130
+
131
+ # local
132
+
133
+ # pin mypy version so a new version doesn't suddenly cause the CI to fail,
134
+ # until types-setuptools is removed from typeshed.
135
+ # For help with static-typing issues, or mypy update, ping @Avasam
136
+ " mypy==1.11.*" ,
137
+ # Conditionally imported vendored dependencies.
138
+ # They're not needed at runtime for Python version outside the [core] extra,
139
+ # but they're still needed for type-checking since we import them directly
140
+ " tomli" ,
141
+ " importlib_resources" ,
142
+ " importlib_metadata" ,
135
143
]
136
144
137
145
0 commit comments