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

2023-09-07 Thread Julian Gilbey
On Wed, Sep 06, 2023 at 08:05:45AM -0700, Soren Stoutner wrote: > As a followup question, I have noticed that a lot of packages (including > electrum, which I have recently started maintaining) ship the egg-info > directory. Looking through /usr/lib/python3/dist-packages/, this is common > but >

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

2023-09-07 Thread Stuart Prescott
Hi Soren On 07/09/2023 01:05, Soren Stoutner wrote: Also, the commit linked to below states: "if the egg-info directory is included in the upstream source, then   deleting it causes no harm as dpkg-source warns on missing files in   the source package but does not exit with error.” It might

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

2023-09-06 Thread Jeremy Stanley
On 2023-09-05 14:16:55 +0200 (+0200), Thomas Goirand wrote: [...] > Yes, we can have dh-python to do the work, but IMO, the only thing > it should be doing, is rm -rf *.egg-info, and error out if the > egg-info is within the orig tarball, as this should not happen, > IMO. [...] See

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

2023-09-05 Thread Thomas Goirand
On 8/18/23 14:42, Julian Gilbey wrote: 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

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

2023-08-18 Thread Julian Gilbey
On Fri, Aug 18, 2023 at 09:23:17AM -0400, Scott Talbert wrote: > 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

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

2023-08-18 Thread Timo Röhling
* Julian Gilbey [2023-08-18 13:42]: 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? See https://salsa.debian.org/python-team/tools/dh-python/-/merge_requests/46 Cheers Timo -- ⢀⣴⠾⠻⢶⣦⠀

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

2023-08-18 Thread Scott Talbert
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

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

2023-08-18 Thread Andreas Tille
Hi, 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

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

2023-08-18 Thread 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