dh-python: Cannot exclude deliberately embedded .egg-info from the clean step

Bug #2035337 reported by Simon Chopin
6
This bug affects 1 person
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://bugs.debian.org/1051837:

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_PROPRIETARY_MODULE, TAINT_USER, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information

Tags: ftbfs
Simon Chopin (schopin)
tags: added: ftbfs
Changed in dh-python (Debian):
importance: Undecided → Unknown
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in pastescript (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pastedeploy - 3.0.1-5ubuntu1

---------------
pastedeploy (3.0.1-5ubuntu1) mantic; urgency=medium

  * Fix FTBFS due to dh-python being overly enthusiastic in its cleaning
    duties (LP: #2035337)

 -- Simon Chopin <email address hidden> Thu, 21 Sep 2023 22:21:37 +0200

Changed in pastedeploy (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.