Skip to content

Commit c94d81a

Browse files
committed
Setuptools now implements proper normalization
1 parent 0db5d95 commit c94d81a

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

tests/functional/test_install_extras.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,7 @@ def test_install_fails_if_extra_at_end(
159159
"specified_extra, requested_extra",
160160
[
161161
("Hop_hOp-hoP", "Hop_hOp-hoP"),
162-
pytest.param(
163-
"Hop_hOp-hoP",
164-
"hop-hop-hop",
165-
marks=pytest.mark.xfail(
166-
reason=(
167-
"matching a normalized extra request against an"
168-
"unnormalized extra in metadata requires PEP 685 support "
169-
"in packaging (see pypa/pip#11445)."
170-
),
171-
),
172-
),
162+
("Hop_hOp-hoP", "hop-hop-hop"),
173163
("hop-hop-hop", "Hop_hOp-hoP"),
174164
],
175165
)

tests/requirements-common_wheels.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# 4. Replacing the `setuptools` entry below with a `file:///...` URL
66
# (Adjust artifact directory used based on preference and operating system)
77

8-
setuptools >= 40.8.0, != 60.6.0
8+
# Implements new extra normalization.
9+
setuptools >= 68.2
910
wheel
1011
# As required by pytest-cov.
1112
coverage >= 4.4

0 commit comments

Comments
 (0)