Source: python-taskflow Version: 2.3.0-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: cpu X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that python-taskflow could not be built reproducibly due to the generated Sphinx documentation including the number of CPUs. 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-04-15 11:33:44.707168100 +0100 @@ -0,0 +1,17 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2017-04-15 + +--- python-taskflow-2.3.0.orig/taskflow/conductors/backends/impl_executor.py ++++ python-taskflow-2.3.0/taskflow/conductors/backends/impl_executor.py +@@ -110,7 +110,9 @@ class ExecutorConductor(base.Conductor): + def __init__(self, name, jobboard, + persistence=None, engine=None, + engine_options=None, wait_timeout=None, +- log=None, max_simultaneous_jobs=MAX_SIMULTANEOUS_JOBS): ++ log=None, max_simultaneous_jobs=None): ++ if max_simultaneous_jobs is None: ++ max_simultaneous_jobs = MAX_SIMULTANEOUS_JOBS + super(ExecutorConductor, self).__init__( + name, jobboard, persistence=persistence, + engine=engine, engine_options=engine_options) --- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/series 2017-04-15 11:33:43.539162965 +0100 @@ -0,0 +1 @@ +reproducible_build.patch