Article View: linux.debian.bugs.dist
Article #4451Bug#1153950: python-pyspike: pyspike claims to also include 'build' and 'debian' modules by accident
From: Stuart Prescott
Date: Sat, 14 Nov 2026 06:40
Date: Sat, 14 Nov 2026 06:40
61 lines
3615 bytes
3615 bytes
This is a multi-part MIME message sent by reportbug. --===============7533973923607986936== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Package: python-pyspike Version: 0.9.0-1 Severity: normal X-Debbugs-Cc: stuart@debian.org Dear Maintainer, The automated module detection in pyproject.toml has an incomplete exclusion list that results in the Debian package advertising in the egg metadata (top_level.txt) that the package also includes the "build" and "debian" modules; it obviously does not. The attached patch is ready to drop into debian/patches/ and fixes pyproject.toml so that it uses the positive `include` syntax instead of the more problematic `exclude` syntax. debian/patches/0002-Fix-pyproject.toml-to-only-collect-the-intended-modu.patch with this in place, only `pyspike` is included in top_level.txt as intended. regards Stuart --===============7533973923607986936== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0002-Fix-pyproject.toml-to-only-collect-the-intended-modu.patch" From: Stuart Prescott <stuart@debian.org> Date: Sat, 14 Nov 2026 17:26:59 +1100 Subject: Fix pyproject.toml to only collect the intended module --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index f7b5830..cb7a150 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,7 @@ include-package-data = true [tool.setuptools.packages.find] exclude = ["doc*", "test*", "examples*"] +include = ["pyspike*"] # Cython .c files are generated at build time (.gitignore excludes them) and # the resulting .so files are placed automatically. No package_data needed # for the wheel; MANIFEST.in handles inclusion of .pyx sources in the sdist. --===============7533973923607986936==--
Technical Details
Message-ID:
<NZfAB-bMO5-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod From: Stuart Prescott <stuart@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153950: python-pyspike: pyspike claims to also include 'build' and 'debian' modules by accident Date: Sat, 14 Nov 2026 07:40:01 +0100 Message-ID: <NZfAB-bMO5-7@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Nov 14 06:35:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.9 Reply-To: Stuart Prescott <stuart@debian.org>, 1153950@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: stuart@debian.org, gspr@nonempty.org X-Debian-Pr-Message: report 1153950 X-Debian-Pr-Package: python-pyspike X-Debian-Pr-Source: python-pyspike Content-Type: multipart/mixed; boundary="===============7533973923607986936==" MIME-Version: 1.0 X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002506 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 61 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 14 Nov 2026 17:33:19 +1100 X-Original-Message-ID: <179463799967.2259593.2067399091664734277.reportbug@trochilus.nanonanonano.net>