Re: git: 8e1dcbcea409 - main - sysutils/py-supervisor: Fix ModuleNotFoundError: No module named 'pkg_resources'
Date: Sat, 03 May 2025 19:20:22 UTC
Jose Alonso Cardenas Marquez wrote:
> sysutils/py-supervisor: Fix ModuleNotFoundError: No module named 'pkg_resources'
>
> - main version of py-supervisor removed this dependency but there is no a new
> release at github.
> PR: 285540
> Reported by: DtxdF _at_- disroot.org
> Approved by: maintainer timeout (about 6 weeks)
> ---
> sysutils/py-supervisor/Makefile | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/sysutils/py-supervisor/Makefile b/sysutils/py-supervisor/Makefile
> index 02068b31a870..99c0c8f08b75 100644
> --- a/sysutils/py-supervisor/Makefile
> +++ b/sysutils/py-supervisor/Makefile
> @@ -1,6 +1,6 @@
> PORTNAME= supervisor
> PORTVERSION= 4.2.5
> -PORTREVISION= 1
> +PORTREVISION= 2
> PORTEPOCH= 1
> CATEGORIES= sysutils python
> MASTER_SITES= PYPI
> @@ -18,6 +18,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSES.txt
> LICENSE_PERMS_MEDUSA= dist-mirror pkg-mirror auto-accept
> LICENSE_PERMS_REPOZE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
>
> +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
> TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0.5.0:devel/py-mock@${PY_FLAVOR}
>
> USES= cpe python shebangfix
Please avoid pulling in setuptools as a RUN_DEPENDS especially when the
deprecated pkg_resources is involved. If possible try to use the
upstream commit that removes pkg_resources on top of the existing version.
--
Charlie Li
...nope, still don't have an exit line.