From ff0ab88e88e950bbec9facbc8453238f14e84dcd Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 3 Jun 2021 19:28:59 -0400 Subject: [PATCH 1/3] Use standard library unittest.mock on Python 3.6 and later --- setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a8126b5a..7ae2e27b 100644 --- a/setup.py +++ b/setup.py @@ -67,7 +67,11 @@ setuptools.setup( author="Jeff Forcier", author_email="jeff@bitprophet.org", url="http://fabfile.org", - install_requires=["invoke>=1.3,<2.0", "paramiko>=2.4", "pathlib2"], + install_requires=[ + "invoke>=1.3,<2.0", + "paramiko>=2.4", + 'pathlib2; python_version < "3.4"', + ], extras_require={ "testing": testing_deps, "pytest": testing_deps + pytest_deps, -- 2.31.1