Article View: linux.debian.maint.python
Article #40Re: Python 3.15 transition - Where we are and what's next
From: Thomas Goirand
Date: Wed, 21 Oct 2026 16:50
Date: Wed, 21 Oct 2026 16:50
46 lines
6937 bytes
6937 bytes
On 10/20/26 8:17 PM, Maximiliano Curia wrote: > ¡Hola debian-python! > > El 2026-10-10 a las 11:24 +0200, Maximiliano Curia escribió: > >> ## Issues with dh-python > ... >> In other words, we should fix dh-python to stop creating broken >> directories in this case, and do so before we start building against >> 3.15. I've sent two alternative MRs for dealing with this. The first one >> [5] merges the files, while the second one [6] leaves the metadata >> directories as they are, instead of keeping only the files that differ. > > In the end, Stefano adopted a different strategy, which was implemented > in MRs !97 [1], !98 [2] and !99 [3]. These changes cause dh-python to > throw an error when a package would ship a broken metadata directory. > These changes were included in the latest upload of dh-python > (7.20261019) that was uploaded yesterday. And Santiago Vila has already > started filing some FTBFS bugs for affected packages. > > The solution for this is to have more strict rules regarding what gets > installed in the packages and avoid installing spurious directories > (like 'debian' or 'build'), which were causing broken top_level.txt > files. > > I'll be working on filing more of these bugs and sending patches for > them. This is just a small heads-up that this is coming. > > Happy hacking, > Maxy > > [1]: https://salsa.debian.org/python-team/tools/dh-python/-/ > merge_requests/97 > [2]: https://salsa.debian.org/python-team/tools/dh-python/-/ > merge_requests/98 > [3]: https://salsa.debian.org/python-team/tools/dh-python/-/ > merge_requests/99 One thing which would be nice would be a lintian check for tests installed in /usr/lib/python3/dist-packages too. Cheers, Thomas Goirand (zigo)
Technical Details
Message-ID:
<NQHFL-70Q7-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NMByV-4FkI-9@gated-at.bofh.it> <NQmBj-6OBE-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Thomas Goirand <thomas@goirand.fr> Newsgroups: linux.debian.maint.python Subject: Re: Python 3.15 transition - Where we are and what's next Date: Wed, 21 Oct 2026 18:50:01 +0200 Message-ID: <NQHFL-70Q7-7@gated-at.bofh.it> References: <NMByV-4FkI-9@gated-at.bofh.it> <NQmBj-6OBE-1@gated-at.bofh.it> X-Original-To: Maximiliano Curia <maxy@debian.org>, debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Oct 21 16:49:04 2026 Old-Return-Path: <thomas@goirand.fr> X-Amavis-Spam-Status: No, score=-1.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -4.6 X-Greylist: delayed 383 seconds by postgrey-1.37 at bendel; Wed, 21 Oct 2026 16:48:51 UTC MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Autocrypt: addr=thomas@goirand.fr; keydata= xsFNBE+eNnMBEACkQR/JceoLlT+f5iY4SzPCm+Xakc/sSBIlJLJS1BhgxjozPJ1L8deg7G7O EpHOunVoe5NTp/M374XaUR7IM/6Ra/2hJJBFgoGCbNMlbAK0r59BuUYQkl1SKAxGESyDGE97 8cYBpzNAse30CccfVenJtLQhB2QDE4JotaNz/mzGIITpBk50rLpNwTKK47lm/oCxEC2gvnOM 1SqKtF/B2/3VDtN/1QJg0rmkOai8UrkOkw8awYe4J4qMTUe97BdyAPXdv5uE4QOANywc1APu ABmn0/3gxGTWL/CNhwVFyCgmnIXuvdmQtydvBWmphpLUtCGxe0sWzvTme1FHLq1e5WLsZ4yt fkll//TAQ18YrkdT8P8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P0Xy5eeAxf7vb2T6K56zcLaTkPDXsrepRDa0O+qNGHf68K3g0k+yxz3 TALv2Zny9+BRB7+92Aw9LYPt1G4rjRVOl3+vooPnyAAV0HewRXfQNB7kjGmvT7/KQbOgog6h 5QcazD6m2yzboK3bS8LdZHKb4JzBaqLavCvwUiXyTTR9bbWFrNWPK1eUk1Nn6sMDCJdyLbIq uG9rdEwNXmOCSrdQS63Kt0wBGZr/d6du709PLc/RvT6fKu44MEXXCeXH3RMTkpuNcQ1lx3au tvtaru40vz6gfhSzCWW7MrHyHGfwhX4b119ld9qRo95YtDdiVNmSqZUYue9Aqhu+5JlClc94 rTG8ROy1rXftRoitY686DTDp6fpHupDiMKXiJbWiMWMZX061YKtFUZggtpMCdaEKKGzxekiu 4pRrpED+8A3fnyFwkyxU0PEb8i3wj0BHVUNmKO5LVLOHhFz/OHBhZaVOHS1sDw== Organization: GPLHost Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Mailing-List: <debian-python@lists.debian.org> archive/latest/24145 List-ID: <debian-python.lists.debian.org> List-URL: <https://lists.debian.org/debian-python/> List-Archive: https://lists.debian.org/msgid-search/716ff6f4-179d-4681-914d-9023408345a2@goirand.fr Approved: robomod@news.nic.it Lines: 46 Sender: robomod@news.nic.it X-Original-Date: Wed, 21 Oct 2026 18:42:20 +0200 X-Original-Message-ID: <716ff6f4-179d-4681-914d-9023408345a2@goirand.fr> X-Original-References: <asoER6kdxFAJ83N6@hecuba.gnuservers.com.ar> <atewTjSfAEeTT-lf@hecuba.gnuservers.com.ar>