Source: powerline Version: 2.8.4-1 Severity: wishlist Tags: patch User: [email protected] Usertags: environment X-Debbugs-Cc: [email protected]
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 `. `'` [email protected] / chris-lamb.co.uk `-
--- 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 <[email protected]> +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

