Your message dated Thu, 18 Oct 2018 12:12:17 +0200
with message-id <[email protected]>
and subject line Re: Bug#895269: vcr.py: please make the build reproducible
has caused the Debian Bug report #895269,
regarding vcr.py: 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.)


-- 
895269: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895269
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: vcr.py
Version: 1.11.1-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that vcr.py could not be built reproducibly. This is due to the
documentation containing the current absolute buildpath via Python
default arguments.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2018-04-09 09:07:23.797126437 
+0100
@@ -0,0 +1,23 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2018-04-09
+
+--- vcr.py-1.11.1.orig/vcr/cassette.py
++++ vcr.py-1.11.1/vcr/cassette.py
+@@ -174,13 +174,13 @@ class Cassette(object):
+     def use(cls, **kwargs):
+         return CassetteContextDecorator.from_args(cls, **kwargs)
+ 
+-    def __init__(self, path, serializer=yamlserializer, 
persister=FilesystemPersister, record_mode='once',
++    def __init__(self, path, serializer=None, persister=None, 
record_mode='once',
+                  match_on=(uri, method), before_record_request=None,
+                  before_record_response=None, custom_patches=(),
+                  inject=False):
+-        self._persister = persister
++        self._persister = persister or FilesystemPersister
+         self._path = path
+-        self._serializer = serializer
++        self._serializer = serializer or yamlserializer
+         self._match_on = match_on
+         self._before_record_request = before_record_request or (lambda x: x)
+         self._before_record_response = before_record_response or (lambda x: x)
--- a/debian/patches/series     2018-04-09 08:37:27.191583589 +0100
--- b/debian/patches/series     2018-04-09 09:07:22.725120692 +0100
@@ -1 +1,2 @@
 remove-privacy-breach-urls.patch
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Fixed in 2.0.1-2

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to