Article View: linux.debian.bugs.dist
Article #2273Bug#1152191: contourpy: FTBFS with latest dh-python (failed to merge _build_config.py)
From: Margarita Manterola
Date: Mon, 26 Oct 2026 17:30
Date: Mon, 26 Oct 2026 17:30
40 lines
3700 bytes
3700 bytes
Package: src:contourpy Version: 1.3.3-2 User: debian-python@lists.debian.org Usertags: python3.15 Tags: ftbfs, forky, sid Severity: serious Hi! While preparing the Python 3.15 migration we realized that some Python packages were shipping broken metadata directories, which leads to errors when trying to import these directories with code running on Python 3.15. To avoid shipping any additional broken directories, dh-python now throws an error at build-time when the contents of the directories for two different versions don't match. Unfortunately, contourpy is one of the affected packages and fails to build with the latest dh-python. https://debusine.debian.net/debian/r-python-python3.15/artifact/5177968/ W: dh_python3 fs:157: Paths differ: debian/python3-contourpy/usr/lib/python3.15/dist-packages/contourpy/util/ _build_config.py and debian/python3-contourpy/usr/lib/python3/dist-packages/contourpy/util/_build_config.py E: dh_python3 fs:173: Not everything in 'debian/python3-contourpy/usr/lib/python3.15/dist-packages/contourpy/util' was able to be merged into 'debian/python3-contourpy/usr/lib/python3/dist-packages/contourpy/util'. I: dh_python3 fs:180: Remaining files: debian/python3-contourpy/usr/lib/python3.15/dist-packages/contourpy/util/_build_config.py make: *** [debian/rules:7: binary-arch] Error 1 dpkg-buildpackage: error: debian/rules binary-arch subprocess failed with exit status 2 The _build_config.py files indeed can't be merged. One alternative is to use the new dh-python flag --allow-unmerged-dist-packages to allow this divergence (in this case, it wouldn't lead to broken metadata directories, as they are not in such a directory). Another option would be to patch the code to not need this file at all, as this seems mostly to be for debugging purposes. This is a release critical issue, because we need to rebuild the package for the 3.15 transition. -- Regards, Marga
Technical Details
Message-ID:
<NSwGd-838g-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Margarita Manterola <marga@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1152191: contourpy: FTBFS with latest dh-python (failed to merge _build_config.py) Date: Mon, 26 Oct 2026 18:30:01 +0100 Message-ID: <NSwGd-838g-9@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 26 17:23:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Margarita Manterola <marga@debian.org>, 1152191@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+python@tracker.debian.org X-Debian-Pr-Message: report 1152191 X-Debian-Pr-Package: src:contourpy X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: contourpy Authentication-Results: nefele.gnuservers.com.ar; dmarc=fail (p=none dis=none) header.from=debian.org Authentication-Results: nefele.gnuservers.com.ar; dkim=none; dkim-atps=neutral MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: marga X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999052 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 40 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 26 Oct 2026 18:20:55 +0100 X-Original-Message-ID: <at-L98ulGt1e7KOQ@localhost>