Your message dated Wed, 20 Dec 2017 07:19:06 +0000
with message-id <e1eryeg-000dzp...@fasolo.debian.org>
and subject line Bug#854549: fixed in python-hypothesis 3.44.1-1
has caused the Debian Bug report #854549,
regarding python-hypothesis: 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 ow...@bugs.debian.org
immediately.)


-- 
854549: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854549
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-hypothesis
Version: 3.6.1-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

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 12:00:00.000000000 
+1200
--- b/debian/patches/reproducible-build.patch   2017-02-08 22:37:52.813855440 
+1300
@@ -0,0 +1,56 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-02-08
+
+--- python-hypothesis-3.6.1.orig/src/hypothesis/_settings.py
++++ python-hypothesis-3.6.1/src/hypothesis/_settings.py
+@@ -49,8 +49,9 @@ _db_cache = {}
+ 
+ class settingsProperty(object):
+ 
+-    def __init__(self, name):
++    def __init__(self, name, show_default):
+         self.name = name
++        self.show_default = show_default
+ 
+     def __get__(self, obj, type=None):
+         if obj is None:
+@@ -69,9 +70,11 @@ class settingsProperty(object):
+ 
+     @property
+     def __doc__(self):
++        default = repr(getattr(settings.default, self.name)) if \
++            self.show_default else '(dynamically calculated)'
+         return '\n'.join((
+             all_settings[self.name].description,
+-            'default value: %r' % (getattr(settings.default, self.name),)
++            'default value: %s' % (default,)
+         ))
+ 
+ 
+@@ -167,7 +170,7 @@ class settings(settingsMeta('settings',
+     @classmethod
+     def define_setting(
+         cls, name, description, default, options=None, deprecation=None,
+-        validator=None,
++        validator=None, show_default=True,
+     ):
+         """Add a new setting.
+ 
+@@ -191,7 +194,7 @@ class settings(settingsMeta('settings',
+         all_settings[name] = Setting(
+             name, description.strip(), default, options, validator
+         )
+-        setattr(settings, name, settingsProperty(name))
++        setattr(settings, name, settingsProperty(name, show_default))
+ 
+     @classmethod
+     def lock_further_definitions(cls):
+@@ -423,6 +426,7 @@ settings.define_setting(
+         os.getenv('HYPOTHESIS_DATABASE_FILE') or
+         os.path.join(hypothesis_home_dir(), 'examples')
+     ),
++    show_default=False,
+     description="""
+     database: An instance of hypothesis.database.ExampleDatabase that will be
+ used to save examples to and load previous examples from. May be None
--- a/debian/patches/series     1970-01-01 12:00:00.000000000 +1200
--- b/debian/patches/series     2017-02-08 22:37:40.849765541 +1300
@@ -0,0 +1 @@
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: python-hypothesis
Source-Version: 3.44.1-1

We believe that the bug you reported is fixed in the latest version of
python-hypothesis, 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 854...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tristan Seligmann <mithra...@debian.org> (supplier of updated python-hypothesis 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 19 Dec 2017 23:04:43 +0200
Source: python-hypothesis
Binary: python-hypothesis python3-hypothesis pypy-hypothesis 
python-hypothesis-doc
Architecture: source
Version: 3.44.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-team@lists.alioth.debian.org>
Changed-By: Tristan Seligmann <mithra...@debian.org>
Description:
 pypy-hypothesis - advanced Quickcheck style testing library for PyPy
 python-hypothesis - advanced Quickcheck style testing library for Python 2
 python-hypothesis-doc - advanced Quickcheck style testing library 
(documentation)
 python3-hypothesis - advanced Quickcheck style testing library for Python 3
Closes: 854549 884786
Changes:
 python-hypothesis (3.44.1-1) unstable; urgency=medium
 .
   * New upstream release (closes: #884786).
     - Fix docs reproducibility (closes: #854549).
   * Replace extra priority with optional.
   * Bump Standards-Version to 4.1.2 (no changes).
Checksums-Sha1:
 76892757c69d72a1443c757d312f135ccbd10e5c 2485 python-hypothesis_3.44.1-1.dsc
 83fec72102163608d41e6bbe2d155f2ac564b018 488917 
python-hypothesis_3.44.1.orig.tar.gz
 2c51799b6020cca584476e0ad1443a7f07bad41d 9220 
python-hypothesis_3.44.1-1.debian.tar.xz
 8131b9147a87caa128253d25584828c364c5edfa 7580 
python-hypothesis_3.44.1-1_source.buildinfo
Checksums-Sha256:
 08e7dc1a81726a0aa9e41ff9851e636b72bb0d70f3961c07e1a05175bacff10e 2485 
python-hypothesis_3.44.1-1.dsc
 2f915347cc6ec42af36045ea32986a82a8702479ce7ceca42d60ad1f44a00ca4 488917 
python-hypothesis_3.44.1.orig.tar.gz
 2e85257f7f4583b33c7119727d2149293a8227b3c7bbe45852eaf16c55558783 9220 
python-hypothesis_3.44.1-1.debian.tar.xz
 9d0c67f495a9c4c7cb63c676a83eda3632b0502cffc0686698dc99210fe5ce94 7580 
python-hypothesis_3.44.1-1_source.buildinfo
Files:
 1840632769c40064cc69e5fcd0e49c90 2485 python optional 
python-hypothesis_3.44.1-1.dsc
 d5074ea752eea68e2ef7ab5ee41018b5 488917 python optional 
python-hypothesis_3.44.1.orig.tar.gz
 b52411a9919fb81faace5e8a0341efb3 9220 python optional 
python-hypothesis_3.44.1-1.debian.tar.xz
 0e6b9c941af39858e8347f4a42a35976 7580 python optional 
python-hypothesis_3.44.1-1_source.buildinfo

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

iQGpBAEBCgCTFiEEXAZWhXVRbQoz/6ejwImQ+x9jeJMFAlo6DJJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDVD
MDY1Njg1NzU1MTZEMEEzM0ZGQTdBM0MwODk5MEZCMUY2Mzc4OTMVHG1pdGhyYW5k
aUBkZWJpYW4ub3JnAAoJEMCJkPsfY3iTz7cH/R/0MVIJU05m6zW02u2p4uJ5nzgL
UqSy7v/5/B0802yo/mKLFtaP020E98yLfMjySIm3MR+VOSEyLytaVJCn8ex4+64E
rSuk2Sy7I+aUv/nDKqij3kqCA5mWf+D+yM5imIR+UR3QU357HAZbxEQJpDMhAlJ5
jJFkvL/qjdJnL+AdQ9bn/mrP4Zd6tqwf5plkcjEoMvo8N/Pm7W0qyU2N159/vsBE
V/d5mVG6IXf2AALxiEvMwb2eF5E0r3kt9SV5qpn05upDgXmZLAmMB7OzS2D6dxni
yQx0r3RGLMlDCG3zViQFtiUMGX75lANdgiLWRaeEMrTU2WqLizQpNCr09zc=
=MupJ
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to