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

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 2023-08-18 15:30 +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>
Organization linux.* mail to news gateway

Show all headers | 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