Hi Stefano,

Stefano Rivera <[email protected]> (2025-05-01):
> Control: tag -1 + important
> 
> Upstream has indicated a desire to move fast on this:
> https://github.com/pypa/setuptools/pull/4970#discussion_r2070159468
> I've pushed back.

Thanks for doing so!

I've noticed a bunch of local packages using python3-pbr and dh-python
getting bigs walls of warnings when built in a trixie environment…

In bookworm that was subtle, e.g. for dh_auto_configure (also getting
very similar things for dh_auto_{build,install,clean}):

,---
|    dh_auto_configure -O--buildsystem=pybuild
| I: pybuild base:240: python3.11 setup.py config 
| /usr/lib/python3/dist-packages/setuptools/command/easy_install.py:146: 
EasyInstallDeprecationWarning: easy_install command is deprecated. Use build 
and pip and other standards-based tools.
|   warnings.warn(
| /usr/lib/python3/dist-packages/setuptools/command/install.py:34: 
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip 
and other standards-based tools.
|   warnings.warn(
| running config
`---

In trixie, not so subtle anymore (ditto for other dh_auto_*):

,---
| I: pybuild base:311: python3.13 setup.py config 
| /usr/lib/python3/dist-packages/setuptools/__init__.py:94: 
_DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
| !!
| 
|         
********************************************************************************
|         Requirements should be satisfied by a PEP 517 installer.
|         If you are using pip, you can try `pip install --use-pep517`.
|         
********************************************************************************
| 
| !!
|   dist.fetch_build_eggs(dist.setup_requires)
| /usr/lib/python3/dist-packages/setuptools/command/develop.py:41: 
EasyInstallDeprecationWarning: easy_install command is deprecated.
| !!
| 
|         
********************************************************************************
|         Please avoid running ``setup.py`` and ``easy_install``.
|         Instead, use pypa/build, pypa/installer or other
|         standards-based tools.
| 
|         See https://github.com/pypa/setuptools/issues/917 for details.
|         
********************************************************************************
| 
| !!
|   easy_install.initialize_options(self)
| /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:90: 
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.
|         
********************************************************************************
| 
| !!
|   self.initialize_options()
| running config
`---

Is there some kind of migration guide to move away from setup.py, to
something that's well supported in Debian (in say trixie or later)?

Thanks for your time!


Season's greetings,
-- 
Cyril Brulebois -- Debian Consultant @ DEBAMAX -- https://debamax.com/

Attachment: signature.asc
Description: PGP signature

Reply via email to