Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710052 - net-analyzer/netdata[python,mysql] depends on dev-python/mysql-python
Summary: net-analyzer/netdata[python,mysql] depends on dev-python/mysql-python
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 710024
  Show dependency tree
 
Reported: 2020-02-18 14:12 UTC by Joonas Niilola
Modified: 2020-02-19 15:17 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 Joonas Niilola gentoo-dev 2020-02-18 14:12:17 UTC
This package is depending on dev-python/mysql-python which is broken and abandoned by upstream. You should attempt to switch to dev-python/mysqlclient which is a continued fork of mysql-python. Please test that it works like it's supposed to, so broken mysql-python can be last-rited and removed from the tree.
Comment 1 Craig Andrews gentoo-dev 2020-02-19 15:06:03 UTC
Here's the dependency expression in the netdata ebuild:
        mysql? (
            || (
                dev-python/mysqlclient[${PYTHON_USEDEP}]
                dev-python/mysql-python[${PYTHON_USEDEP}]
            )
        )

dev-python/mysqlclient will be preferred, but dev-python/mysql-python is also acceptable.

I think that this implementation addresses your concern.

If/when dev-python/mysql-python is removed from the Gentoo tree, this dependency can be trivially removed from the netdata ebuilds.
Comment 2 Joonas Niilola gentoo-dev 2020-02-19 15:17:32 UTC
Yes, that's good. Never trust automation...

I'll add a note for myself to remove the condition while removing mysql-python. Thanks!