[Python-modules-team] Bug#847192: jupyter-notebook: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Dec 6 11:54:28 UTC 2016


Source: jupyter-notebook
Version: 4.2.3-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that jupyter-notebook could not be built reproducibly.

Patch attached that drops the generation of the .css.map files; these
are not useful to end users - they are useless anyway as the build
location is not the same as the runtime path and — even if this were
fixed — anyone debugging the IPython CSS will be doing this another
way entirely.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/0005-reproducible-build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/0005-reproducible-build.patch	2016-12-06 11:50:00.212437848 +0000
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-12-06
+
+--- jupyter-notebook-4.2.3.orig/setupbase.py
++++ jupyter-notebook-4.2.3/setupbase.py
+@@ -406,7 +406,6 @@ class CompileCSS(Command):
+         for src, dst in zip(self.sources, self.targets):
+             try:
+                 run(['lessc',
+-                    '--source-map',
+                     '--include-path=%s' % pipes.quote(static),
+                     src,
+                     dst,
--- a/debian/patches/series	2016-12-06 11:43:04.960387583 +0000
--- b/debian/patches/series	2016-12-06 11:49:58.028416557 +0000
@@ -2,3 +2,4 @@
 0002-Use-local-MathJax-in-documentation.patch
 0003-Unmask-setuptools-in-setup.py-so-dependencies-are-de.patch
 0004-jquery-ui-1.12-compatibility-changes.patch
+0005-reproducible-build.patch


More information about the Python-modules-team mailing list