Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15156
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| 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 | Wed, 06 Sep 2023 17:50:01 +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> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Wed Sep 6 15:42:31 2023 |
| Old-Return-Path | <soren@stoutner.com> |
| X-Amavis-Spam-Status | No, score=-10.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -4.6 |
| X-Greylist | delayed 2175 seconds by postgrey-1.36 at bendel; Wed, 06 Sep 2023 15:42:09 UTC |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; boundary="nextPart2756958.iGGduyYOoT"; micalg="pgp-sha512"; protocol="application/pgp-signature" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/21085 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/1969960.VON1kJSWdv@soren-desktop |
| Approved | robomod@news.nic.it |
| Lines | 160 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 06 Sep 2023 08:05:45 -0700 |
| X-Original-Message-ID | <1969960.VON1kJSWdv@soren-desktop> |
| X-Original-References | <ZN9nTdQ6B31KeKpR@d-and-j.net> <23f6adef-69a3-f50d-282b-8b8422e70e14@debian.org> <20230906125218.co6kk35r2vndqjkb@yuggoth.org> |
| Xref | csiph.com linux.debian.maint.python:15156 |
Show key headers only | View raw
[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