Require w3lib 2.1.0+

This commit is contained in:
Adrian Chaves 2026-08-05 03:10:19 +02:00
parent a52b4fcdc0
commit 2d9d6fcf3d
2 changed files with 2 additions and 7 deletions

View File

@ -21,7 +21,7 @@ dependencies = [
"queuelib>=1.6.1",
"service_identity>=23.1.0",
"tldextract",
"w3lib>=1.17.0",
"w3lib>=2.1.0",
"zope.interface>=5.1.0",
# Platform-specific dependencies
'PyDispatcher>=2.0.5; platform_python_implementation == "CPython"',

View File

@ -145,7 +145,7 @@ deps =
pyOpenSSL==22.0.0
queuelib==1.6.1
service_identity==23.1.0
w3lib==1.17.0
w3lib==2.1.0
zope.interface==5.1.0
{[test-requirements]deps}
setenv =
@ -263,11 +263,6 @@ deps =
pyOpenSSL==24.3.0
queuelib==1.6.1
service_identity==23.1.0
# w3lib 1.17 fails to import on PyPy 3.11 because its encoding regex uses
# an inline flag placement that Python 3.11 treats as an error: global
# flags not at the start of the expression. w3lib 1.18 stopped encoding []
# in URLs until 2.1.0 brought that behavior back. Tests for verbatim_url
# rely on that encoding.
w3lib==2.1.0
zope.interface==5.1.0
commands =