Source: sphinx-gallery Version: 0.1.13-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that sphinx-gallery could not be built reproducibly. Patch attached that removes the "Total·running·time·of·the·script" messages from the documentation. (There is some filesystem-related unreproduciblity that remains, alas.) [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/0004-Reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/0004-Reproducible-build.patch 2018-06-11 08:57:04.711291748 +0100 @@ -0,0 +1,14 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2018-06-11 + +--- sphinx-gallery-0.1.13.orig/doc/conf.py ++++ sphinx-gallery-0.1.13/doc/conf.py +@@ -340,6 +340,7 @@ sphinx_gallery_conf = { + 'within_subsection_order': NumberOfCodeLinesSortKey, + 'find_mayavi_figures': find_mayavi_figures, + 'filename_pattern': '/plot_(?!seaborn_notebook)', ++ 'min_reported_time': sys.maxint if sys.version_info[0] == 2 else sys.maxsize, + 'expected_failing_examples': ['../examples/no_output/plot_raise.py', + '../examples/no_output/plot_syntaxerror.py'] + } --- a/debian/patches/series 2018-06-11 08:41:29.296030230 +0100 --- b/debian/patches/series 2018-06-11 08:53:05.420325722 +0100 @@ -2,3 +2,4 @@ 0002-skip-seaborn-tests-require-network-access.patch 0003-use-facecolor-instead-of-axisbg-when-calling-plt.axe.patch 0004-Fix-compatibility-of-SphinxDocLinkResolver-with-Sphi.patch +0004-Reproducible-build.patch