Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 930642

Summary: app-admin/supervisor should have runtime dependency on setuptools
Product: Gentoo Linux Reporter: Mark Harmstone <mark>
Component: Current packagesAssignee: Louis Sautier (sbraz) <sbraz>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Harmstone 2024-04-24 23:07:39 UTC
app-admin/supervisor won't run if setuptools is not installed. Instead, it fails with the message "ImportError: No module named pkg_resources".

setuptools is a build-time dependency, so you'll only see this if you depclean aggressively.

Reproducible: Always

Steps to Reproduce:
1. emerge app-admin/supervisor
2. emerge --with-bdeps=n --depclean
3. /usr/bin/supervisord -n -c /etc/supervisord.conf
Comment 1 Larry the Git Cow gentoo-dev 2024-04-29 20:13:25 UTC
The bug has been closed via the following commit(s):

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

commit 593416ef4837798a7ee2fc6564cb2955f10a0a3f
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2024-04-25 22:39:25 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2024-04-29 20:10:39 +0000

    app-admin/supervisor: re-add setuptools to RDEPEND, enable py312
    
    It was mistakenly removed at some point, probably when we switched to
    DISTUTILS_USE_PEP517=setuptools.
    
    Closes: https://bugs.gentoo.org/930642
    Closes: https://bugs.gentoo.org/929275
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 app-admin/supervisor/supervisor-4.2.5-r1.ebuild | 54 +++++++++++++++++++++++++
 1 file changed, 54 insertions(+)