On 2/8/20 4:31 PM, Chris Lamb wrote:
> Source: python-oslo.reports
> Version: 1.30.0-2
> Severity: wishlist
> Tags: patch
> User: reproducible-bui...@lists.alioth.debian.org
> Usertags: randomness
> X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
> 
> Hi,
> 
> Whilst working on the Reproducible Builds effort [0] I noticed that
> python-oslo.reports could not be built reproducibly.
> 
> This was because the documentation (somewhat-uselessly) generated
> documentation for the tests themselves, which revealed some MagicMock
> special objects that had had a Python string representation containing
> a nondetermistic number.
> 
> For example:
> 
>   -<code class="descname">MM_FILE</code><em class="property"> = &lt;MagicMock 
> name='file_obj' id='139866970863568'&gt;</em>
>   +<code class="descname">MM_FILE</code><em class="property"> = &lt;MagicMock 
> name='file_obj' id='140338508670736'&gt;</em>
> 
> Patch attached that simply skips the API documentation for the tests
> from being generated in the first place.
> 
>  [0] https://reproducible-builds.org/
> 
> 
> Regards,
> 

FYI, upstream already has this patch, somehow... So it will be included
in the next upstream release.

Thomas Goirand (zigo)

Reply via email to