dh-python: Cannot exclude deliberately embedded .egg-info from the clean step
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dh-python (Debian) |
New
|
Unknown
|
|||
dh-python (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
pastedeploy (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
pastescript (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Imported from Debian bug http://
Source: dh-python
Version: 6.20230825
Severity: normal
X-Debbugs-Cc: <email address hidden>
We have a FTBFS on src:pastescript because its test suite embeds a
FakePlugin Python package, including its .egg-info, and the recent
change to the dh-python clean: target breaks that package.
While we can work around it by temporarily renaming the problematic
directory before the dh_clean call, it would be nicer to have an
explicit mechanism to exclude some paths from the clean analysis.
-- System Information:
Debian Release: bookworm/sid
APT prefers lunar-updates
APT policy: (500, 'lunar-updates'), (500, 'lunar-security'), (500, 'lunar'), (100, 'lunar-proposed'), (100, 'lunar-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.2.0-32-generic (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETA
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/
LSM: AppArmor: enabled
-- no debconf information
tags: | added: ftbfs |
Changed in dh-python (Debian): | |
importance: | Undecided → Unknown |
This bug was fixed in the package pastescript - 3.2.1-1ubuntu1
---------------
pastescript (3.2.1-1ubuntu1) mantic; urgency=medium
* d/rules: work around the (wrong) removal of FakePlugin.egg-info by
dh-python in the clean step (LP: #2035337)
-- Simon Chopin <email address hidden> Wed, 13 Sep 2023 12:18:46 +0200