The test suite of paramiko depends on the package "invoke" (see tests/test_config.py). "invoke" is listed by the package itself in extra_require (and is in fact optional) but it not listed in the ebuild add all. I suggest making it mandatory with the test-feature. Note: currently all versions of "invoke" are marked as unstable (all of the one version in portage).
I just hit this as well.
invoke has impossible test dependencies, so I'd rather remove it altogether, along with the few tests that seem to need it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cead8d25918c9c59bb84c29e978d1d96b3d20f23 commit cead8d25918c9c59bb84c29e978d1d96b3d20f23 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-04-16 08:16:39 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-04-16 08:37:52 +0000 dev-python/paramiko: Fix tests to work without dev-python/invoke While at it, update the pytest_relaxed patch to match the one submitted upstream. Closes: https://bugs.gentoo.org/715536 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../paramiko/files/paramiko-2.7.1-tests.patch | 108 +++++++++++++++++---- dev-python/paramiko/paramiko-2.7.1.ebuild | 6 +- 2 files changed, 91 insertions(+), 23 deletions(-)