Bug#950942: python-oslo.reports: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Feb 8 15:31:41 GMT 2020


Source: python-oslo.reports
Version: 1.30.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at 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"> = <MagicMock name='file_obj' id='139866970863568'></em>
  +<code class="descname">MM_FILE</code><em class="property"> = <MagicMock name='file_obj' id='140338508670736'></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,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: python-oslo.reports.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20200208/9ad7b852/attachment.txt>


More information about the Reproducible-bugs mailing list