Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694370 - dev-python/pyftpdlib missing runtime dependencies
Summary: dev-python/pyftpdlib missing runtime dependencies
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:
Depends on:
Blocks: 694372
  Show dependency tree
 
Reported: 2019-09-14 18:58 UTC by Matt Turner
Modified: 2019-09-14 20:55 UTC (History)
0 users

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 Matt Turner gentoo-dev 2019-09-14 18:58:21 UTC
Running the test suite of dev-python/fs-2.4.9 shows missing runtime dependencies on pyftpdlib.

In /usr/lib64/python3.6/site-packages/pyftpdlib/test/__init__.py it imports

sendfile (from dev-python/pysendfile)
unittest (from dev-python/unittest2)
psutil   (from dev-python/psutil)

sendfile and psutil are currently listed in DEPEND in test? ( ... ).

I'll wait a week or so and fix it, since usually python@ does not respond to my bugs.
Comment 1 Larry the Git Cow gentoo-dev 2019-09-14 20:55:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74eca06366f61ba2975ed0a0e56b00cc50de719b

commit 74eca06366f61ba2975ed0a0e56b00cc50de719b
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-09-14 20:27:40 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-09-14 20:54:38 +0000

    dev-python/fs: Add test dependencies
    
    Confusingly, these are actually imported by pyftpdlib's test module, but
    let's depend on them here so that they aren't required to be kept
    installed when pyftpdlib is installed.
    
    Closes: https://bugs.gentoo.org/694370
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-python/fs/fs-2.4.9.ebuild | 2 ++
 1 file changed, 2 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b423ed53634787be34815e1cdddccbdf521b8063

commit b423ed53634787be34815e1cdddccbdf521b8063
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-09-14 20:52:39 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-09-14 20:54:38 +0000

    dev-python/pyftpdlib: Unconditionally RDEPEND on pysendfile
    
    Acked by Soap.
    
    Bug: https://bugs.gentoo.org/694370
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 dev-python/pyftpdlib/pyftpdlib-1.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)