Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #15129

Re: Uncleaned egg-info directory giving lots of bugs about failing to build after successful build

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Scott Talbert <swt@techie.net>
Newsgroups linux.debian.maint.python
Subject Re: Uncleaned egg-info directory giving lots of bugs about failing to build after successful build
Date Fri, 18 Aug 2023 15:30:01 +0200
Message-ID <H47I5-2JnS-11@gated-at.bofh.it> (permalink)
References <H47oK-2Jhf-21@gated-at.bofh.it> <H47yp-2JkL-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Aug 18 13:23:46 2023
Old-Return-Path <swt@techie.net>
X-Amavis-Spam-Status No, score=-5.407 tagged_above=-10000 required=5.3 tests=[ATTENDEES_DBSPAM_BODY7=1, BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RDNS_NONE=0.793] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII; format=flowed
X-Mailing-List <debian-python@lists.debian.org> archive/latest/21053
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/e17638ec-ceff-24b7-4bb1-951e253ac23@techie.net
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Fri, 18 Aug 2023 09:23:17 -0400 (EDT)
X-Original-Message-ID <e17638ec-ceff-24b7-4bb1-951e253ac23@techie.net>
X-Original-References <ZN9nTdQ6B31KeKpR@d-and-j.net> <ZN9vqb7DQdqC2rgr@an3as.eu>
Xref csiph.com linux.debian.maint.python:15129

Show key headers only | View raw


On Fri, 18 Aug 2023, Andreas Tille wrote:

> Am Fri, Aug 18, 2023 at 01:42:53PM +0100 schrieb Julian Gilbey:
>> I'm sure I'm not the only one who received a whole bunch of bugs
>> entitled "Fails to build source after successful build" last weekend.
>> There was one theme common to most of them: the presence of a
>> *.egg-info directory which was not cleaned by debian/rules clean.
>>
>> I know the bug report said that this policy is currently under
>> discussion, but I did get thinking about it.  I imagine that this
>> particular directory should be the responsibility of dh-python to
>> clean up, but it may not be sensible to always delete *.egg-info
>> directories, as they may be present in the orig.tar.gz file.  One
>> could handle it by manually adding this directory to debian/clean in
>> each package, but perhaps this should be the default behaviour of
>> dh-python?
>>
>> Any thoughts?
>
> I agree that having this a no-brainer and getting all this *.egg-info
> caused bugs solved by a simple dh-python update without changing
> packaging code would be extremely convenient.  I could imagine creating
> a backup of the affected *.egg-info files if existent and copy these
> back in clean target could solve this.

It is being worked on:
https://salsa.debian.org/python-team/tools/dh-python/-/merge_requests/46

Regards,
Scott

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Uncleaned egg-info directory giving lots of bugs about failing to  build after successful build Julian Gilbey <julian@d-and-j.net> - 2023-08-18 15:10 +0200
  Re: Uncleaned egg-info directory giving lots of bugs about failing  to build after successful build Andreas Tille <andreas@an3as.eu> - 2023-08-18 15:20 +0200
    Re: Uncleaned egg-info directory giving lots of bugs about failing  to build after successful build Scott Talbert <swt@techie.net> - 2023-08-18 15:30 +0200
      Re: Uncleaned egg-info directory giving lots of bugs about failing  to build after successful build Julian Gilbey <julian@d-and-j.net> - 2023-08-18 15:50 +0200
  Re: Uncleaned egg-info directory giving lots of bugs about failing  to build after successful build Timo Röhling <roehling@debian.org> - 2023-08-18 15:30 +0200
  Re: Uncleaned egg-info directory giving lots of bugs about failing to  build after successful build Thomas Goirand <zigo@debian.org> - 2023-09-05 14:20 +0200
    Re: Uncleaned egg-info directory giving lots of bugs about failing  to build after successful build Jeremy Stanley <fungi@yuggoth.org> - 2023-09-06 15:20 +0200
        Re: Uncleaned egg-info directory giving lots of bugs about failing to build  after successful build Soren Stoutner <soren@stoutner.com> - 2023-09-06 17:50 +0200
        Re: Uncleaned egg-info directory giving lots of bugs about failing to build after successful build Scott Kitterman <debian@kitterman.com> - 2023-09-06 18:00 +0200
        Re: Uncleaned egg-info directory giving lots of bugs about failing  to build after successful build Julian Gilbey <julian@d-and-j.net> - 2023-09-07 11:20 +0200
        Re: Uncleaned egg-info directory giving lots of bugs about failing to  build after successful build Stuart Prescott <stuart@debian.org> - 2023-09-07 11:20 +0200

csiph-web