Bug#1136291: powerline: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon May 11 17:36:04 BST 2026
Source: powerline
Version: 2.8.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
powerline could not be built reproducibly.
This is because the documentation embedded the contents of os.environ
by automatically documenting the Renderer class from the powerline's
renderer module.
A patch is attached that specifically excludes documenting this class
member (only) from the documentation.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/0007-reproducible-build.patch 1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/0007-reproducible-build.patch 2026-05-11 09:31:49.773780214 -0700
@@ -0,0 +1,11 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2026-05-11
+
+--- powerline-2.8.4.orig/docs/source/develop/extensions.rst
++++ powerline-2.8.4/docs/source/develop/extensions.rst
+@@ -45,3 +45,4 @@ Renderer class
+
+ .. autoclass:: powerline.renderer.Renderer
+ :members:
++ :exclude-members: segment_info
--- a/debian/patches/series 2026-05-11 09:26:31.439540365 -0700
--- b/debian/patches/series 2026-05-11 09:31:48.937371442 -0700
@@ -4,3 +4,4 @@
0004-set_default_shell_theme.patch
0005-use_python3_by_default.patch
0006-privacy-breach-fixes.patch
+0007-reproducible-build.patch
More information about the Reproducible-bugs
mailing list