Source: dask.distributed
Version: 1.14.3+ds.1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is due to the documentation including the amount of physical
memory on the build machine.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2017-03-02 22:15:34.581127710 
+0000
@@ -0,0 +1,18 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-03-02
+
+--- dask.distributed-1.14.3+ds.1.orig/distributed/core.py
++++ dask.distributed-1.14.3+ds.1/distributed/core.py
+@@ -87,8 +87,10 @@ class Server(TCPServer):
+     """
+     default_port = 0
+ 
+-    def __init__(self, handlers, max_buffer_size=MAX_BUFFER_SIZE,
++    def __init__(self, handlers, max_buffer_size=None,
+             connection_limit=512, deserialize=True, **kwargs):
++        if max_buffer_size is None:
++            max_buffer_size = MAX_BUFFER_SIZE
+         self.handlers = assoc(handlers, 'identity', self.identity)
+         self.id = str(uuid.uuid1())
+         self._port = None
--- a/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series     2017-03-02 22:15:31.345106534 +0000
@@ -0,0 +1 @@
+reproducible-build.patch

Reply via email to