mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
setup.py: Block urllib3 >=2 for PyPy (including 3.10)
It kept failing CI
This commit is contained in:
6
setup.py
6
setup.py
@@ -46,13 +46,15 @@ install_requires = [
|
|||||||
"PyYAML",
|
"PyYAML",
|
||||||
"wrapt",
|
"wrapt",
|
||||||
"yarl",
|
"yarl",
|
||||||
# Support for urllib3 >=2 needs Python >=3.10
|
# Support for urllib3 >=2 needs CPython >=3.10
|
||||||
# so we need to block urllib3 >=2 for Python <3.10 for now.
|
# so we need to block urllib3 >=2 for Python <3.10 and PyPy for now.
|
||||||
# Note that vcrpy would work fine without any urllib3 around,
|
# Note that vcrpy would work fine without any urllib3 around,
|
||||||
# so this block and the dependency can be dropped at some point
|
# so this block and the dependency can be dropped at some point
|
||||||
# in the future. For more Details:
|
# in the future. For more Details:
|
||||||
# https://github.com/kevin1024/vcrpy/pull/699#issuecomment-1551439663
|
# https://github.com/kevin1024/vcrpy/pull/699#issuecomment-1551439663
|
||||||
"urllib3 <2; python_version <'3.10'",
|
"urllib3 <2; python_version <'3.10'",
|
||||||
|
# https://github.com/kevin1024/vcrpy/pull/775#issuecomment-1847849962
|
||||||
|
"urllib3 <2; platform_python_implementation =='PyPy'",
|
||||||
]
|
]
|
||||||
|
|
||||||
tests_require = [
|
tests_require = [
|
||||||
|
|||||||
Reference in New Issue
Block a user