Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930642 - app-admin/supervisor should have runtime dependency on setuptools
Summary: app-admin/supervisor should have runtime dependency on setuptools
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Louis Sautier (sbraz)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 23:07 UTC by Mark Harmstone
Modified: 2024-04-29 20:13 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 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(+)