1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Limit support for urllib3 >=2 to Python >=3.10 for now

.. because it turned out broken for Python <3.10.
This commit is contained in:
Sebastian Pipping
2023-05-25 11:59:39 +02:00
committed by Kevin McCarthy
parent 7c402ae4b0
commit 69db5c936f
2 changed files with 12 additions and 4 deletions

View File

@@ -47,6 +47,13 @@ install_requires = [
"wrapt",
"six>=1.5",
"yarl",
# Support for urllib3 >=2 needs Python >=3.10
# so we need to block urllib3 >=2 for Python <3.10 for now.
# Note that vcrpy would work fine without any urllib3 around,
# so this block and the dependency can be dropped at some point
# in the future. For more Details:
# https://github.com/kevin1024/vcrpy/pull/699#issuecomment-1551439663
"urllib3 <2; python_version <'3.10'",
]
tests_require = [