Source: flask Version: 1.1.1-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: buildpath X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that flask could not be built reproducibly. This is because it includes an absolute build directory in the documentation as the "json_module" attribute points to a Python class/ module (which has a string representation including its path). Patch attached that skips this (inherited) member from the documentation. [0] https://reproducible-builds.org/ Best wishes, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/0002-Reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/0002-Reproducible-build.patch 2019-10-27 19:13:50.584954938 +0000 @@ -0,0 +1,14 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2019-10-27 + +--- flask-1.1.1.orig/docs/api.rst ++++ flask-1.1.1/docs/api.rst +@@ -31,6 +31,7 @@ Incoming Request Data + .. autoclass:: Request + :members: + :inherited-members: ++ :exclude-members: json_module + + .. attribute:: environ + --- a/debian/patches/series 2019-10-27 18:58:45.336245250 +0000 --- b/debian/patches/series 2019-10-27 19:13:49.740978529 +0000 @@ -1,2 +1,3 @@ 0001-Don-t-require-sphinxcontrib.log_cabinet-extension.patch disable_sphinx_issues.patch +0002-Reproducible-build.patch