Bug#1080714: Missing Build-Depends on python3-setuptools
On Thu, Sep 05, 2024 at 04:58:00PM +0200, stefanor@debian.org wrote:
> Source: pyppd
> Version: 1.1.0-2
> Severity: important
> User: debian-python@lists.debian.org
> Usertags: dh-python-no-setuptools
> Tags: sid, trixie
>
> This package failed build from source when test-built against a version of
> dh-python without a python3-setuptools dependency.
>
> distutils is no longer part of the Python standard library, since 3.12. But a
> minimal version of it becomes available when the python3-setuptools package is
> installed.
>
> Please add a Build-Depends on python3-setuptools to your package, or migrate
> the package's build system away from setuptools/distutils.
Hi,
Since this has become RC I have verified that adding python3-setuptools to
Build-Depends makes package build.
Build process still warns about setup.py deprecation, but succeeds.
python3.13 setup.py install --root=/build/pyppd-1.1.0/debian/pyppd --install-layout=deb
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:79: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
I can prepare an NMU with this trivial change if required.
Regards,
--
Agustin
Reply to: