Debian Bug report logs - #870131
autopep8: please make the build reproducible

version graph

Package: src:autopep8; Maintainer for src:autopep8 is Sylvestre Ledru <sylvestre@debian.org>;

Reported by: Chris Lamb <lamby@debian.org>

Date: Sun, 30 Jul 2017 08:21:02 UTC

Severity: wishlist

Tags: patch

Found in version autopep8/1.3.2-1~exp1

Fixed in version autopep8/1.3.2-1

Done: Sylvestre Ledru <sylvestre@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Sylvestre Ledru <sylvestre@debian.org>:
Bug#870131; Package src:autopep8. (Sun, 30 Jul 2017 08:21:05 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, Sylvestre Ledru <sylvestre@debian.org>. (Sun, 30 Jul 2017 08:21:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris Lamb <lamby@debian.org>
To: submit@bugs.debian.org
Subject: autopep8: please make the build reproducible
Date: Sun, 30 Jul 2017 09:19:30 +0100
[Message part 1 (text/plain, inline)]
Source: autopep8
Version: 1.3.2-1~exp1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

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

This is because it uses the generated --help output which (helpfully)
expands the user's home directory, which naturally varies between
builds:

│ │ │ │ │  \fB\-\-global\-config\fR filename
│ │ │ │ │  path to a global pep8 config file; if this file does
│ │ │ │ │  not exist then this is ignored (default: \fI\,/nonexistent\/\fP
│ │ │ │ │ -/first\-build/.config/pep8)
│ │ │ │ │ +/second\-build/.config/pep8)
│ │ │ │ │  .TP

Patch attached that simply hardcodes the path for the documentation.
We seem to be doing this in the README already, so it is not a big
of an issue.


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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb, Debian Project Leader
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[autopep8.diff.txt (text/plain, attachment)]

Added tag(s) pending. Request was from Sylvestre Ledru <sylvestre@debian.org> to control@bugs.debian.org. (Tue, 29 Aug 2017 07:42:03 GMT) (full text, mbox, link).


Message sent on to Chris Lamb <lamby@debian.org>:
Bug#870131. (Tue, 29 Aug 2017 07:42:06 GMT) (full text, mbox, link).


Message #10 received at 870131-submitter@bugs.debian.org (full text, mbox, reply):

From: Sylvestre Ledru <sylvestre@debian.org>
To: 870131-submitter@bugs.debian.org
Subject: Bug#870131 marked as pending
Date: Tue, 29 Aug 2017 07:39:38 +0000
tag 870131 pending
thanks

Hello,

Bug #870131 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    https://anonscm.debian.org/cgit/python-modules/packages/autopep8.git/commit/?id=a9bdfe8

---
commit a9bdfe8950043d671b379b151f6de73ab7275f98
Author: Sylvestre Ledru <sylvestre@debian.org>
Date:   Tue Aug 29 09:39:33 2017 +0200

    Make the build reproducible Thanks to Chris Lamb for the patch (Closes: #870131

diff --git a/debian/changelog b/debian/changelog
index b2eee53..e798776 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ autopep8 (1.3.2-1) unstable; urgency=medium
 
   * Upload in unstable
   * Standards-Version updated to 4.1.0
+  * Make the build reproducible
+    Thanks to Chris Lamb for the patch (Closes: #870131
 
  -- Sylvestre Ledru <sylvestre@debian.org>  Tue, 29 Aug 2017 09:14:17 +0200
 



Reply sent to Sylvestre Ledru <sylvestre@debian.org>:
You have taken responsibility. (Tue, 29 Aug 2017 07:51:07 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Tue, 29 Aug 2017 07:51:07 GMT) (full text, mbox, link).


Message #15 received at 870131-close@bugs.debian.org (full text, mbox, reply):

From: Sylvestre Ledru <sylvestre@debian.org>
To: 870131-close@bugs.debian.org
Subject: Bug#870131: fixed in autopep8 1.3.2-1
Date: Tue, 29 Aug 2017 07:49:10 +0000
Source: autopep8
Source-Version: 1.3.2-1

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

Debian distribution maintenance software
pp.
Sylvestre Ledru <sylvestre@debian.org> (supplier of updated autopep8 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 29 Aug 2017 09:14:17 +0200
Source: autopep8
Binary: python-autopep8
Architecture: source all
Version: 1.3.2-1
Distribution: unstable
Urgency: medium
Maintainer: Sylvestre Ledru <sylvestre@debian.org>
Changed-By: Sylvestre Ledru <sylvestre@debian.org>
Description:
 python-autopep8 - tool that automatically formats Python code to conform to PEP 8
Closes: 870131
Changes:
 autopep8 (1.3.2-1) unstable; urgency=medium
 .
   * Upload in unstable
   * Standards-Version updated to 4.1.0
   * Make the build reproducible
     Thanks to Chris Lamb for the patch (Closes: #870131
Checksums-Sha1:
 180609ebae0fdc4c464add6552bc10bfd4e8dcdc 2094 autopep8_1.3.2-1.dsc
 6e83676b0bb338cd19c5c17bb5a9abc738eccbd4 3232 autopep8_1.3.2-1.debian.tar.xz
 e3b73c91d5cfaaac3981f974f5a49a8e42ec2897 6137 autopep8_1.3.2-1_amd64.buildinfo
 1604a2817b797c3afddbbc8a974654f0ab044bb6 40220 python-autopep8_1.3.2-1_all.deb
Checksums-Sha256:
 c778fad0b7c7f25ce787ea790bf6aa87ecc7c45297416b594c6b5f0bc4b8d085 2094 autopep8_1.3.2-1.dsc
 caeb04960e3941243cb6cccd2baa2a810b966e1702427b7f89aaa0caff6775b8 3232 autopep8_1.3.2-1.debian.tar.xz
 3c56deedf03628a2009c0584e880eb3371d79f2da00b0a030096087007c87626 6137 autopep8_1.3.2-1_amd64.buildinfo
 7d774a937fa7b642bbda9405a964f6d85f55c4d3d69e63f07b83481d724c5aa6 40220 python-autopep8_1.3.2-1_all.deb
Files:
 30d461ca5cb0c8fcdb3dbfc80ec5191f 2094 python optional autopep8_1.3.2-1.dsc
 16f9111d3d4bf709f43d9e9ba7c8bdf9 3232 python optional autopep8_1.3.2-1.debian.tar.xz
 ed92fc30c45abbd3bbd9f4560ec25942 6137 python optional autopep8_1.3.2-1_amd64.buildinfo
 b4415cf7385f37a0eb92c23f8808aa60 40220 python optional python-autopep8_1.3.2-1_all.deb

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

iQIzBAEBCAAdFiEEtg21mU05vsTRqVzPfmUo2nUvG+EFAlmlF0MACgkQfmUo2nUv
G+GUkQ/7BYJWIM7EDYpnWf9w0NGNDwsDfDxh6LSYqn1zvcMiqPk8hwhC0889PevR
XZTKaoIcWVBBX6Fvoenag//cOTbXqRh3ol78VUANXP8iJr8fNCTHQmaVjzoPzk6s
HSFS9moTQomuaYO7k0ySbQIH0lDcKl1zu9HSPqNjadxZ1GQcwHjNOT9jSfzKjZhK
1WJC22nw8S3iKk6IfZDiUoPpn+9uOSRrrHi2zQrcVtv97thnXPL9MA68QQrMTbZZ
5y9YKT3Qb3YBl2TpFranfxnFsZvdBEpflYz2VZ78FZy8DNHQwn018+CAOOSkMMMF
gHm7e8T1VNri1+3NgqP+gUidsrY2Qd85iSbAQDGAkt2rgAIEOAp4aTTzpdlM4dbB
7d4xdkAdEAsZdnpfoZCeT78b+F+w76vohpV5y6sLTh13qrwgxMdHVqtPMCFoN0Uo
dfeDPrg7usk/KDzEQ5UEgtbn40t3yhvNqBLSZj1xs++qrtgVuu1RbDqdXZgWFmOw
cv1pU74L3SZHB6+/54NMY6ZiH5IsrNI3ymvFHPjLFDvaBXwA9LpCcoXOe/8lrqbz
//ZaVT+EgHqSiYBNgJKMwQQYQP6p3JNVAE6+ewRYETdxs3+kEMqePq5lSw6SQuXd
zuWdAXobhLtfgpy+uBRZpKkfRAYpU8dDoWl0Oj3tP8/v4ej7H2k=
=ziww
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 01 Oct 2017 07:27:22 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:56:01 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.