Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py install is deprecated
[email protected] Thu, 25 Dec 2025 19:26:00 +0000
| Newsgroups | gmane.linux.debian.devel.python |
|---|---|
| Message-ID | <6ykpnkrfoyta7b7brm5xax77luksgli7egolqpimdbm2yf5kse@nithducavk2s> |
CCing the python list. Hi Cyril (2025.12.25_03:40:57_+0000) >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)? Simple answer: Build-Depend on pybuild-plugin-pyproject. And then you may need to change some things. But... we should make this the default. Thanks for the reminder. This has been on my TODO list for a while. But I forget to look at it early in a release cycle. Here's a starting point: https://salsa.debian.org/python-team/tools/dh-python/-/merge_requests/77 I'm test-building 50 packages that build-depend on dh-python but not pybuild-plugin-pyproject here: https://debusine.debian.net/debian/r-stefanor-dh-python/workflow/?page=1 It looks like I'm going to need to do a complete rebuild (5300 odd packages) and file a *lot* of bugs. Stefano