From 13fecf260c1f9edb1e52fccd889f2f72e1a1d4fd Mon Sep 17 00:00:00 2001 From: Giovanni Pizzi Date: Wed, 9 Jun 2021 11:22:17 +0200 Subject: [PATCH] Change dependency check Now that the [corresponding PR in aiida-core](https://github.com/aiidateam/aiida-core/pull/3787) has been merged, we know that 1.6 still has the old syntax, and the new changes will appear in 2.x only so I suggest to change this check --- aiida_sshonly/transports/sshonly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiida_sshonly/transports/sshonly.py b/aiida_sshonly/transports/sshonly.py index b16804e..b5d898f 100644 --- a/aiida_sshonly/transports/sshonly.py +++ b/aiida_sshonly/transports/sshonly.py @@ -19,7 +19,7 @@ import aiida from distutils.version import StrictVersion # pylint: disable=no-name-in-module,import-error -if aiida.get_strict_version() < StrictVersion('1.6.0'): +if aiida.get_strict_version() < StrictVersion('2.0.0'): from .ssh import SshTransport else: from aiida.transports.plugins.ssh import SshTransport