File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,19 @@ def test_install_fails_if_extra_at_end(
159
159
"specified_extra, requested_extra" ,
160
160
[
161
161
("Hop_hOp-hoP" , "Hop_hOp-hoP" ),
162
- ("Hop_hOp-hoP" , "hop-hop-hop" ),
162
+ pytest .param (
163
+ "Hop_hOp-hoP" ,
164
+ "hop-hop-hop" ,
165
+ marks = pytest .mark .xfail (
166
+ "sys.version_info < (3, 8)" ,
167
+ reason = (
168
+ "matching a normalized extra request against an"
169
+ "unnormalized extra in metadata requires PEP 685 support "
170
+ "in either packaging or the build tool. Setuptools "
171
+ "implements this in 68.2, which requires 3.8+"
172
+ ),
173
+ ),
174
+ ),
163
175
("hop-hop-hop" , "Hop_hOp-hoP" ),
164
176
],
165
177
)
Original file line number Diff line number Diff line change 6
6
# (Adjust artifact directory used based on preference and operating system)
7
7
8
8
# Implements new extra normalization.
9
- setuptools >= 68.2
9
+ setuptools >= 68.2 ; python_version >= '3.8'
10
+ setuptools >= 40.8.0, != 60.6.0 ; python_version < '3.8'
11
+
10
12
wheel
13
+
11
14
# As required by pytest-cov.
12
15
coverage >= 4.4
You can’t perform that action at this time.
0 commit comments