Your message dated Mon, 02 Sep 2019 10:49:13 +0000
with message-id <[email protected]>
and subject line Bug#934918: fixed in python-etcd3gw 0.2.1-3
has caused the Debian Bug report #934918,
regarding python-etcd3gw: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
934918: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934918
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-etcd3gw
Version: 0.2.1-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed
that python-etcd3gw could not be built reproducibly.

This is because one of the function signatures used a non-
deterministic / random default value that was rendered by the
documentation system at build time and thus varied each time.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/0001_reproducible-build.patch      1969-12-31 
16:00:00.000000000 -0800
--- b/debian/patches/0001_reproducible-build.patch      2019-08-16 
08:12:09.271187454 -0700
@@ -0,0 +1,23 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2019-08-16
+
+--- python-etcd3gw-0.2.1.orig/etcd3gw/client.py
++++ python-etcd3gw-0.2.1/etcd3gw/client.py
+@@ -115,13 +115,15 @@ class Etcd3Client(object):
+                            json={"TTL": ttl, "ID": 0})
+         return Lease(int(result['ID']), client=self)
+ 
+-    def lock(self, id=str(uuid.uuid4()), ttl=DEFAULT_TIMEOUT):
++    def lock(self, id=None, ttl=DEFAULT_TIMEOUT):
+         """Create a Lock object given an ID and timeout
+ 
+         :param id: ID for the lock, creates a new uuid if not provided
+         :param ttl: timeout
+         :return: Lock object
+         """
++        if id is None:
++            id = str(uuid.uuid4())
+         return Lock(id, ttl=ttl, client=self)
+ 
+     def create(self, key, value):
--- a/debian/patches/series     1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/series     2019-08-16 08:12:07.966645878 -0700
@@ -0,0 +1 @@
+0001_reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: python-etcd3gw
Source-Version: 0.2.1-3

We believe that the bug you reported is fixed in the latest version of
python-etcd3gw, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-etcd3gw package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 02 Sep 2019 12:32:47 +0200
Source: python-etcd3gw
Architecture: source
Version: 0.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 934918
Changes:
 python-etcd3gw (0.2.1-3) unstable; urgency=medium
 .
   * Add patch from Chris Lamb <[email protected]> to make the build
     reproducible (Closes: #934918).
Checksums-Sha1:
 407a28b115801aed1d9701daae4a7df22ad0e612 2411 python-etcd3gw_0.2.1-3.dsc
 268a6ef68e20d338381f38ab24b28f76d0ba3dd0 2864 
python-etcd3gw_0.2.1-3.debian.tar.xz
 86da06678e5fa34eced77f155b78dbcf19b909e7 10747 
python-etcd3gw_0.2.1-3_amd64.buildinfo
Checksums-Sha256:
 61caf7f99c7d688a3a7886aea439167719df1d01f692ab6a38ec83da555dac12 2411 
python-etcd3gw_0.2.1-3.dsc
 2fb519cb4f95f337af03051e08984c88c06973f31ff737445f10d23480d20198 2864 
python-etcd3gw_0.2.1-3.debian.tar.xz
 9e5e8a41033d1026bf032e9fcef00f73a8ecef1d377b51d8d9ad0f488213202b 10747 
python-etcd3gw_0.2.1-3_amd64.buildinfo
Files:
 a09999718c2e3669130119ebb2801458 2411 python optional 
python-etcd3gw_0.2.1-3.dsc
 ff3aba94620eaee65f29958369aee06a 2864 python optional 
python-etcd3gw_0.2.1-3.debian.tar.xz
 48fa55d15c6d6cc5771bf9ba70f4dca4 10747 python optional 
python-etcd3gw_0.2.1-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAl1s8FQACgkQ1BatFaxr
Q/68Kw//VK3bJKQykR+sHmFw/7djiBmpro2A0K/hl7Pm4selNa6V/PRIRIzM8SgD
vGs2MBSOHncmBdPzvr5cJVT3di7ZHj/2HCvE7RXQPDDQ5HmrUhaE0Yhl+dZwAMWY
Tm7G4mptqnbnGi+PBEEWcOtwW8GsdrF9ut78KEnjSv0nHQ1OPtpZgWpZnQbBmRk5
KaXEoEt7VmL6Nt7BDLEJFhjojs5/JWeBVo801l6lwRd3xIgTHCV+FLbC8PkIZXrz
D6NrwPln+UV5sJ45fM4tUiF/Dye0O5D6NdlT2fcpj/HSbv8ZfCdBcP7VlWUHGWYM
9pzipTVGxdy6wH8xNG3WpSuvC2dCLSN5eLEQ0Eum23UceDalYdGscnGCg/aMZTla
MlCiaERWjpPqO1pYmuatkk9FybK8qYphjPI22DcYJGysErJaXGYK6F2jNWTpAzUD
kxbL7xkBJfrDYPOHrQgmJ1jlKEAEhETVtAeplbc0SbNhCKtR/0Bgz4F19heuOU3l
8vQZqX8RpFLYoKoajD4SsbeEvLV379o3zCdBUD+mWPVYwyOHLN5B2n73imYExJjG
w/xKwTn2YMle79j/O6FbFTUQ0Hs1DyuJSLCSeNDK9lQlO4+3O2ZOrRLTmrBdigy4
71+xrAXy3CVym2XetHDSjPCDkYx+LJw+IYmkFrj2AXI8shox/3s=
=RJGb
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to