Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15156
| From | Soren Stoutner <soren@stoutner.com> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Uncleaned egg-info directory giving lots of bugs about failing to build after successful build |
| Date | 2023-09-06 17:50 +0200 |
| Message-ID | <Hb2WZ-78nz-9@gated-at.bofh.it> (permalink) |
| References | <Hb2WZ-78nz-11@gated-at.bofh.it> <H47oK-2Jhf-21@gated-at.bofh.it> <HaDcd-6Sr8-5@gated-at.bofh.it> <Hb0BP-775p-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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 not universal. Is there any reason to ship this directory or should it be removed from the binary packages? 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 not cause any problems for dpkg-source, but won’t it cause issues for double builds? For reference: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1044268[1] If so, any package that ships the egg-info directory in the tarball will get flagged with a FTBFS bug, which might be the desired behavior if these shouldn’t be in the tarball anyway. On Wednesday, September 6, 2023 5:52:18 AM MST Jeremy Stanley wrote: > 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 > https://salsa.debian.org/python-team/tools/dh-python/-/commit/31eff8f > which merged last week. -- Soren Stoutner soren@stoutner.com -------- [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1044268
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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