Debian Bug report logs -
#950942
python-oslo.reports: please make the build reproducible
Reported by: "Chris Lamb" <lamby@debian.org>
Date: Sat, 8 Feb 2020 15:36:01 UTC
Severity: wishlist
Tags: patch
Found in version python-oslo.reports/1.30.0-2
Done: Thomas Goirand <zigo@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian OpenStack <team+openstack@tracker.debian.org>:
Bug#950942; Package src:python-oslo.reports.
(Sat, 08 Feb 2020 15:36:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "Chris Lamb" <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian OpenStack <team+openstack@tracker.debian.org>.
(Sat, 08 Feb 2020 15:36:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: python-oslo.reports
Version: 1.30.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs@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@debian.org / chris-lamb.co.uk
`-
[python-oslo.reports.diff.txt (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian OpenStack <team+openstack@tracker.debian.org>:
Bug#950942; Package src:python-oslo.reports.
(Mon, 10 Feb 2020 08:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Thomas Goirand <thomas@goirand.fr>:
Extra info received and forwarded to list. Copy sent to Debian OpenStack <team+openstack@tracker.debian.org>.
(Mon, 10 Feb 2020 08:21:04 GMT) (full text, mbox, link).
Message #10 received at 950942@bugs.debian.org (full text, mbox, reply):
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-builds@lists.alioth.debian.org
> Usertags: randomness
> X-Debbugs-Cc: reproducible-bugs@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,
>
FYI, upstream already has this patch, somehow... So it will be included
in the next upstream release.
Thomas Goirand (zigo)
Reply sent
to Thomas Goirand <zigo@debian.org>:
You have taken responsibility.
(Mon, 11 May 2020 08:00:05 GMT) (full text, mbox, link).
Notification sent
to "Chris Lamb" <lamby@debian.org>:
Bug acknowledged by developer.
(Mon, 11 May 2020 08:00:05 GMT) (full text, mbox, link).
Message #15 received at 950942-done@bugs.debian.org (full text, mbox, reply):
This bug was fixed by the upload of upstream release 2.0.1 to Sid.
Thomas
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 09 Jun 2020 07:28:43 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:41:03 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.