Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714176 - dev-python/mysql-connector-python: the ebuild doesn’t depend on dev-python/dnspython but the code does
Summary: dev-python/mysql-connector-python: the ebuild doesn’t depend on dev-python/dn...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-24 14:24 UTC by Alarig Le Lay
Modified: 2020-04-11 21:50 UTC (History)
2 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 Alarig Le Lay 2020-03-24 14:24:40 UTC
Hi,

I just installed dev-python/mysql-connector-python but I can’t use it out of the box:

$ python3
Python 3.6.10 (default, Feb 27 2020, 12:21:36) 
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mysql.connector
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.6/site-packages/mysql/connector/__init__.py", line 41, in <module>
    import dns.resolver
ModuleNotFoundError: No module named 'dns'
>>> 

I had to install dev-python/dnspython manually.

I will provide a github MR this evening.

Regards,
-- 
Alarig
Comment 1 Larry the Git Cow gentoo-dev 2020-04-11 21:50:40 UTC
The bug has been closed via the following commit(s):

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

commit 1009120d4136f8bbdea273a2f359da6948b15378
Author:     Alarig Le Lay <alarig@swordarmor.fr>
AuthorDate: 2020-03-24 17:58:00 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-04-11 21:49:23 +0000

    dev-python/mysql-connector-python: Adding missing dev-python/dnspython dependency
    
    Closes: https://bugs.gentoo.org/714176
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
    Closes: https://github.com/gentoo/gentoo/pull/15089
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-python/mysql-connector-python/mysql-connector-python-8.0.19.ebuild | 1 +
 1 file changed, 1 insertion(+)