Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.gentoo.dev > #70477
| Path | csiph.com!pasdenom.info!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Eli Schwartz <eschwartz@gentoo.org> |
| Newsgroups | linux.gentoo.dev |
| Subject | [gentoo-dev] [PATCH] distutils-r1.eclass: update list of deletable dist-info "junk" |
| Date | Wed, 29 Apr 2026 08:00:01 +0200 |
| Message-ID | <MP67L-1ddP-1@gated-at.bofh.it> (permalink) |
| X-Mailer | git-send-email 2.53.0 |
| List-ID | Gentoo Linux mail <gentoo-dev.gentoo.org> |
| Reply-To | gentoo-dev@lists.gentoo.org |
| X-Auto-Response-Suppress | DR, RN, NRN, OOF, AutoReply |
| MIME-Version | 1.0 |
| X-Developer-Signature | v=1; a=openpgp-sha256; l=1258; i=eschwartz@gentoo.org; h=from:subject; bh=ZLkectEaAoXGOUiqWPUoJIWr+R7azcr1wywD6ch++4g=; b=owGbwMvMwCXWsvyidgGvfjjjabUkhsyPc75ZKPWnVijY3OPn8JQ+1PWjKnSi7HefSWcWxT09O Fldb79Kx0cWBjEuhpliiizPRW4+03Y5n1J5fXYVzBxWJpAh0iINDEDAwsCXm5hXaqRjpGeqbahn CGToGMVD5PQYNDKLi0tTi3TTCooc8vJLEksy8/OK9fILUvMK0gv00jLTSjIy8ouKU4FG6OWllri aG5q4WLqaGTmZmDi7mZmYW7qYWzqZO1qYOJq7GBo5mRsYuBi5mZozcHEKwFzz2ZCRoYnt29QzS/ dOPd929PHF0zM95m1pWP087suUbyL7kr8uV9vLyHCp54juDYGP6ycvOskndqlE0yvrrUoa8455v r8W9hyTfMwJAA== |
| X-Developer-Key | i=eschwartz@gentoo.org; a=openpgp; fpr=EF51D308B1CE230888BE0D84EA423E93A16343F1 |
| X-Clacks-Overhead | GNU Terry Pratchett |
| Content-Transfer-Encoding | 8bit |
| Approved | robomod@news.nic.it |
| Lines | 39 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Wed, 29 Apr 2026 01:53:59 -0400 |
| X-Original-Message-ID | <20260429055358.4082448-2-eschwartz@gentoo.org> |
| Xref | csiph.com linux.gentoo.dev:70477 |
Show key headers only | View raw
We remove lots of misc data that wheel builders try to install for
usually questionable reasons, such as licenses. Some projects now try to
install SBOMs too.
These contain e.g.
- the path in /var/tmp/portage where it was built
- unreproducible timestamps and serial number
- all of *.dist-info/METADATA but converted to json because reasons
- name, description, url and sha256 hash of every CRATES= used as
distfile sources
- the *dependency relationship* between each of said crates
We don't care about any of this (portage models it better anyway :P).
Same reason we delete licenses and changelogs.
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
---
eclass/distutils-r1.eclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 7cafa199bdac..e0d76123e835 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1036,6 +1036,8 @@ distutils_wheel_install() {
-o -path '*.dist-info/license_files' \
-o -path '*.dist-info/licenses/*' \
-o -path '*.dist-info/licenses' \
+ -o -path '*.dist-info/sboms/*' \
+ -o -path '*.dist-info/sboms' \
-o -path '*.dist-info/zip-safe' \
\) -delete || die
--
2.53.0
Back to linux.gentoo.dev | Previous | Next | Find similar
[gentoo-dev] [PATCH] distutils-r1.eclass: update list of deletable dist-info "junk" Eli Schwartz <eschwartz@gentoo.org> - 2026-04-29 08:00 +0200
csiph-web