Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632054 - dev-python/recaptcha-client lacks __init__.py
Summary: dev-python/recaptcha-client lacks __init__.py
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-26 13:32 UTC by Hanno Böck
Modified: 2018-10-30 12:30 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 Hanno Böck gentoo-dev 2017-09-26 13:32:32 UTC
The package recaptcha-client doesn't install an __init__.py into the main module dir. This means other packages trying to use it will fail on the import.

See also:
https://warmcat.com/2017/08/12/mailman-captcha.html

As far as I can see this can trivially be fixed by adding an empty __init__.py, e.g. by doing
touch /usr/lib/python2.7/site-packages/recaptcha/__init__.py

It would make sense if the ebuild would just do that.
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2018-10-30 12:30:35 UTC
See bug 611614