mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
Permit urllib3 2.x for non-PyPy Python >=3.10
Poetry makes platform indepdent lock files, so the PyPy marker is there even when using CPython >= 3.10. Add a third constraint that permits any urllib3 version when using Python >=3.10 and some other implementation than PyPy.
This commit is contained in:
3
setup.py
3
setup.py
@@ -55,6 +55,9 @@ install_requires = [
|
||||
"urllib3 <2; python_version <'3.10'",
|
||||
# https://github.com/kevin1024/vcrpy/pull/775#issuecomment-1847849962
|
||||
"urllib3 <2; platform_python_implementation =='PyPy'",
|
||||
# Workaround for Poetry with CPython >= 3.10, problem description at:
|
||||
# https://github.com/kevin1024/vcrpy/pull/826
|
||||
"urllib3; platform_python_implementation !='PyPy' and python_version >='3.10'",
|
||||
]
|
||||
|
||||
extras_require = {
|
||||
|
||||
Reference in New Issue
Block a user