From 95e709e75600be4a5eb4199272173c0eb27749c9 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Thu, 24 Sep 2020 17:09:38 +0300 Subject: [PATCH] ssh: install paramiko with invoke Paramiko has recently added support for `Match` https://github.com/paramiko/paramiko/issues/717 which resulted in some users getting an import error about `invoke` module, as it is not a default dependecy for paramiko. @Pseudomanifold reported that installing `invoke` #4589 worked for him, which means that this newly added paramiko feature works in his case. That feature seems to not affect configs without `Match`, so we could give this a try and install it by default. Our conda package will be updated during the next release. Fixes #4589 Fixes #4616 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3611a3adb7..fe8595989d 100644 --- a/setup.py +++ b/setup.py @@ -92,14 +92,14 @@ def run(self): s3 = ["boto3>=1.9.201"] azure = ["azure-storage-blob>=12.0", "knack"] oss = ["oss2==2.6.1"] -ssh = ["paramiko>=2.5.0"] +ssh = ["paramiko[invoke]>=2.7.0"] hdfs = ["pyarrow>=0.17.0"] webdav = ["webdavclient3>=3.14.5"] # gssapi should not be included in all_remotes, because it doesn't have wheels # for linux and mac, so it will fail to compile if user doesn't have all the # requirements, including kerberos itself. Once all the wheels are available, # we can start shipping it by default. -ssh_gssapi = ["paramiko[gssapi]>=2.5.0"] +ssh_gssapi = ["paramiko[invoke,gssapi]>=2.7.0"] all_remotes = gs + s3 + azure + ssh + oss + gdrive + hdfs + webdav # Extra dependecies to run tests