Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #17296

Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py install is deprecated

From stefanor@debian.org
Newsgroups linux.debian.maint.python
Subject Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py install is deprecated
Date 2025-12-25 20:30 +0100
Message-ID <M5Zc6-5Cfh-1@gated-at.bofh.it> (permalink)
References (2 earlier) <DsPe3-7xP-27@gated-at.bofh.it> <DteP8-6dp-17@gated-at.bofh.it> <DsPe3-7xP-27@gated-at.bofh.it> <KHA7n-hyV1-9@gated-at.bofh.it> <M5KG5-5srW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

-- 
Stefano Rivera
   http://tumbleweed.org.za/
   +1 415 683 3272

Back to linux.debian.maint.python | Previous | NextNext in thread | Find similar


Thread

Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py  install is deprecated stefanor@debian.org - 2025-12-25 20:30 +0100
  Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py  install is deprecated Andrey Rakhmatullin <wrar@debian.org> - 2025-12-25 20:50 +0100
    Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py  install is deprecated Stefano Rivera <stefanor@debian.org> - 2025-12-31 15:10 +0100
      Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py  install is deprecated Stefano Rivera <stefanor@debian.org> - 2025-12-31 15:20 +0100
    Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py  install is deprecated Colin Watson <cjwatson@debian.org> - 2026-01-02 14:10 +0100
      Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py  install is deprecated Stefano Rivera <stefanor@debian.org> - 2026-01-02 14:20 +0100
        Re: Bug#1001459: dh-python: SetuptoolsDeprecationWarning: setup.py  install is deprecated Colin Watson <cjwatson@debian.org> - 2026-01-02 14:50 +0100

csiph-web