Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656148 - dev-python/netaddr pulls complete dev-python/ipython via "cli" use flag
Summary: dev-python/netaddr pulls complete dev-python/ipython via "cli" use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 831045
Blocks:
  Show dependency tree
 
Reported: 2018-05-20 09:10 UTC by Roland Ramthun
Modified: 2024-02-18 07:37 UTC (History)
3 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 Roland Ramthun 2018-05-20 09:10:13 UTC
I use app-admin/ansible which depends on dev-python/netaddr. netaddr pulls ipython and all its deps (more than 60 packages) by default, because of the default enabled "cli" use flag.

Would it make sense to make "cli" not a default for dev-python/netaddr to avoid pulling all these 60+ deps? I imagine cli use of netaddr is a rather special use case, but this is obviously a decision the package maintainer has to make.
Comment 1 Sławomir Nizio 2018-10-29 18:45:54 UTC
I was surprised to find this large number of dependencies, noticed cli flag does nothing useful and found this bug.

I'm with the bug reporter.

Please remove it being default. See also https://devmanual.gentoo.org/general-concepts/use-flags/ (mentions that it USE flags shouldn't be used for runtime dependencies.)
Comment 2 Yury Katuar 2024-02-12 11:39:07 UTC
Newly added dev-python/netaddr-1.0.0 again has enabled by default "cli" flag, causing the same unexpected dependencies to be introduced during the update.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-18 07:37:17 UTC
commit 30f5a5def590108f228d7697aaec0b9935581a8e
Author: Michał Górny <mgorny@gentoo.org>
Date:   Sun Feb 18 04:32:11 2024 +0100

    dev-python/netaddr: Bump to 1.2.1

    Signed-off-by: Michał Górny <mgorny@gentoo.org>