Debian Bug report logs - #890620
ply: please make the output reproducible

version graph

Package: src:ply; Maintainer for src:ply is Jeroen Ploemen <jcfp@debian.org>;

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

Date: Fri, 16 Feb 2018 20:27:02 UTC

Severity: wishlist

Tags: fixed-upstream, patch

Found in version ply/3.9-1

Fixed in version ply/3.11-1

Done: Stefano Rivera <stefanor@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, Arnaud Fontaine <arnau@debian.org>:
Bug#890620; Package src:ply. (Fri, 16 Feb 2018 20:27:04 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, Arnaud Fontaine <arnau@debian.org>. (Fri, 16 Feb 2018 20:27:04 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: ply: please make the output reproducible
Date: Fri, 16 Feb 2018 20:24:25 +0000
[Message part 1 (text/plain, inline)]
Source: ply
Version: 3.9-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain randomness
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that ply generates non-determinstic output.

This is affecting the reproducibility of other packages such as
astropy:

  --- a/python3-astropy_3.0-1_amd64.deb/usr/lib/python3/dist-packages/astropy/units/format/generic_lextab.py	2018-02-13 13:36:43.000000000 +0000
  +++ b/python3-astropy_3.0-1_amd64.deb/usr/lib/python3/dist-packages/astropy/units/format/generic_lextab.py	2018-02-13 13:36:43.000000000 +0000
  @@ -11,7 +11,7 @@
   
   # generic_lextab.py. This file automatically created by PLY (version 3.9). Don't edit!
   _tabversion   = '3.8'
  -_lextokens    = set(('UFLOAT', 'DOUBLE_STAR', 'STAR', 'FUNCNAME', 'UNIT', 'PERIOD', 'SOLIDUS', 'CLOSE_PAREN', 'OPEN_PAREN', 'SIGN', 'UINT', 'CARET'))
  +_lextokens    = set(('UNIT', 'PERIOD', 'DOUBLE_STAR', 'CARET', 'UINT', 'SIGN', 'STAR', 'SOLIDUS', 'FUNCNAME', 'OPEN_PAREN', 'UFLOAT', 'CLOSE_PAREN'))
   _lexreflags   = 32
   _lexliterals  = ''
   _lexstateinfo = {'INITIAL': 'inclusive'}

Patch attached.

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


Regards,

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

Information forwarded to debian-bugs-dist@lists.debian.org, Arnaud Fontaine <arnau@debian.org>:
Bug#890620; Package src:ply. (Fri, 16 Feb 2018 20:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Arnaud Fontaine <arnau@debian.org>. (Fri, 16 Feb 2018 20:39:03 GMT) (full text, mbox, link).


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

From: Chris Lamb <lamby@debian.org>
To: 890620@bugs.debian.org
Subject: Re: ply: please make the output reproducible
Date: Fri, 16 Feb 2018 20:34:47 +0000
tags 890620 + fixed-upstream
thanks

Hi,

> ply: please make the output reproducible

I think this was fixed upstream here:

  https://github.com/dabeaz/ply/commit/17a726c462e2ab2e1f769c257b218f7b72e43caf


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-



Added tag(s) fixed-upstream. Request was from Chris Lamb <lamby@debian.org> to control@bugs.debian.org. (Fri, 16 Feb 2018 20:39:04 GMT) (full text, mbox, link).


Message sent on to Chris Lamb <lamby@debian.org>:
Bug#890620. (Mon, 19 Feb 2018 07:57:03 GMT) (full text, mbox, link).


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

From: stefanor@debian.org
To: 890620-submitter@bugs.debian.org
Subject: Bug #890620 in ply marked as pending
Date: Mon, 19 Feb 2018 07:52:26 +0000
Control: tag -1 pending

Hello,

Bug #890620 in ply reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below, and you can check the diff of the fix at:

https://salsa.debian.org/python-team/modules/ply/commit/d4eda5d3c42ac89548cd0c6ee709df38b502f813

------------------------------------------------------------------------
New upstream release.

* New upstream release.
  - Produces reproducible output. Closes: #890620.

------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings



Added tag(s) pending. Request was from stefanor@debian.org to 890620-submitter@bugs.debian.org. (Mon, 19 Feb 2018 07:57:04 GMT) (full text, mbox, link).


Reply sent to Stefano Rivera <stefanor@debian.org>:
You have taken responsibility. (Wed, 21 Feb 2018 19:09:06 GMT) (full text, mbox, link).


Notification sent to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer. (Wed, 21 Feb 2018 19:09:06 GMT) (full text, mbox, link).


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

From: Stefano Rivera <stefanor@debian.org>
To: 890620-close@bugs.debian.org
Subject: Bug#890620: fixed in ply 3.11-1
Date: Wed, 21 Feb 2018 19:05:30 +0000
Source: ply
Source-Version: 3.11-1

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

Debian distribution maintenance software
pp.
Stefano Rivera <stefanor@debian.org> (supplier of updated ply 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: SHA512

Format: 1.8
Date: Wed, 21 Feb 2018 10:37:19 -0800
Source: ply
Binary: python-ply python3-ply python-ply-doc
Architecture: source
Version: 3.11-1
Distribution: unstable
Urgency: medium
Maintainer: Arnaud Fontaine <arnau@debian.org>
Changed-By: Stefano Rivera <stefanor@debian.org>
Description:
 python-ply - Lex and Yacc implementation for Python2
 python-ply-doc - Lex and Yacc implementation for Python (documentation)
 python3-ply - Lex and Yacc implementation for Python3
Closes: 890620
Changes:
 ply (3.11-1) unstable; urgency=medium
 .
   [ Stefano Rivera ]
   * Team upload.
   * New upstream release.
     - Produces reproducible output. Closes: #890620.
   * Bump copyright years.
   * Bump Standards-Version to 4.1.3, no changes needed.
 .
   [ Ondřej Nový ]
   * d/control: Set Vcs-* to salsa.debian.org
   * d/copyright: Use https protocol in Format field
Checksums-Sha1:
 43d05ab83b7c1bbbdeeb99892eed7eae026e779b 1808 ply_3.11-1.dsc
 10a555a32095991fbc7f7ed10c677a14e21fad1d 159130 ply_3.11.orig.tar.gz
 6447f4e5efa189b2900aba756c9c7a054a0ae4d9 7044 ply_3.11-1.debian.tar.xz
 e2527b984943c6f63521687d25070b02c4875460 6691 ply_3.11-1_source.buildinfo
Checksums-Sha256:
 60a11686dfd6cf6428336d427e1a5d285d0381cd99372cd0e23b3c9782be1b4e 1808 ply_3.11-1.dsc
 00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3 159130 ply_3.11.orig.tar.gz
 638f09de723115dc9c4639aaa4d3b53d121117a46775d29431054a5c1ffc029d 7044 ply_3.11-1.debian.tar.xz
 06675661a7e73eaba727f13393d239226b9d5cd33ebd6cc645d35f23b1fdc1fa 6691 ply_3.11-1_source.buildinfo
Files:
 d8dd65b505780a941cc229bc020b0bd9 1808 python optional ply_3.11-1.dsc
 6465f602e656455affcd7c5734c638f8 159130 python optional ply_3.11.orig.tar.gz
 499745343d01ff0b945e9b02ce0fbc9a 7044 python optional ply_3.11-1.debian.tar.xz
 77762e8feef88522544ecf0ce7b37c73 6691 python optional ply_3.11-1_source.buildinfo

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

iQFIBAEBCgAyFiEE/zEtpbjiRmXHk+j/6vGSvKo/D1EFAlqNvO0UHHN0ZWZhbm9y
QGRlYmlhbi5vcmcACgkQ6vGSvKo/D1GckAf/at0uamsfoAh9+FD4fxtBS4HqsY9i
cisaAFAkDDqtzv4EyWEiX7vdc58bbr3f67aNCY3hLGHgatEeQOmNSo7WfsS2lPUl
5HytLkmvOyS5fPShlWRZ3ux24nwEFumtwFo/NhqwBC9HX0RuBWzbS1GK0DbIa3nb
jOnmtYu8XvLVJrjlsW+dUAerK10KhXancWdoG98dXT/p1iInKEDAe5ekvsOj8OXT
5U9j/7yBblWZHlSkopyPmtiJmF5RvKYt4iFAsrFA+dMjx9sSnx/uUsqvrGQmexsu
p9wfZ1SnU5ZfEmoslrIjNQXOt3dfFss9YGqyuv/XfLyFOzXJHWYajElWqg==
=mOqW
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 27 Mar 2018 07:29:17 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 10:14:35 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.