Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715536 - dev-python/paramiko-2.7.1: test suite depends on dev-python/invoke
Summary: dev-python/paramiko-2.7.1: test suite depends on dev-python/invoke
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 714440
  Show dependency tree
 
Reported: 2020-03-30 22:40 UTC by Brigid Dickel
Modified: 2020-04-16 08:38 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brigid Dickel 2020-03-30 22:40:22 UTC
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).
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-04-06 05:28:37 UTC
I just hit this as well.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-16 07:39:37 UTC
invoke has impossible test dependencies, so I'd rather remove it altogether, along with the few tests that seem to need it.
Comment 3 Larry the Git Cow gentoo-dev 2020-04-16 08:38:01 UTC
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(-)