Debian Bug report logs - #873157
diffoscope: Support the new fork of python-progressbar

version graph

Package: diffoscope; Maintainer for diffoscope is Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>; Source for diffoscope is src:diffoscope (PTS, buildd, popcon).

Reported by: Santiago Torres-Arias <torresariass@gmail.com>

Date: Fri, 25 Aug 2017 04:54:02 UTC

Severity: wishlist

Tags: upstream

Found in version diffoscope/85

Fixed in version diffoscope/86

Done: Mattia Rizzolo <mattia@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, torresariass@gmail.com, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#873157; Package diffoscope. (Fri, 25 Aug 2017 04:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Torres-Arias <torresariass@gmail.com>:
New Bug report received and forwarded. Copy sent to torresariass@gmail.com, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>. (Fri, 25 Aug 2017 04:54:04 GMT) (full text, mbox, link).


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

From: Santiago Torres-Arias <torresariass@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: diffoscope: Support the new fork of python-progressbar
Date: Fri, 25 Aug 2017 04:50:48 +0000
Package: diffoscope
Version: 85
Severity: wishlist
Tags: upstream

Dear Maintainer,

While trying to install/use diffoscope from pip (or the Arch Linux
package), I realized that the --progress flag triggers a crash. The
reason as to why this happens is that there are two forks of the
python-progressbar package available, whith slightly different api's.

The one being used by Debian[1] seems to be an abandoned version
(without any updates in two years), whereas there exists a more
actively-developed alternative[2] (possible a takeover). This issue has
also been brought up to the maintainers of python-progressbar, who are
evaluating this upstream change[3]. An arch user suggested a fairly
minimal patch to fix it[4], and there is an more-elaborate descrption of
the API change on the comments of this bug report[5].

It'd be nice if diffoscope was made aware of these versions and possibly
choose the right one depending on which one is available.

Thanks!
-Santiago.

[1] https://github.com/niltonvolpato/python-progressbar
[2] https://github.com/WoLpH/python-progressbar
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839149
[4] http://codepad.org/oIr6JudF
[5] https://bugs.archlinux.org/task/53505

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.12.7-coreos (SMP w/8 CPU cores) 
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages diffoscope depends on:
ii  python3                3.5.3-1
pn  python3-libarchive-c   <none>
pn  python3-magic          <none>
ii  python3-pkg-resources  33.1.1-1

Versions of packages diffoscope recommends:
pn  acl                                            <none>
pn  apktool                                        <none>
pn  binutils-multiarch                             <none>
ii  bzip2                                          1.0.6-8.1
pn  caca-utils                                     <none>
pn  colord                                         <none>
pn  default-jdk-headless | default-jdk | java-sdk  <none>
pn  enjarify                                       <none>
pn  fontforge-extras                               <none>
pn  fp-utils                                       <none>
pn  genisoimage                                    <none>
pn  gettext                                        <none>
pn  ghc                                            <none>
pn  ghostscript                                    <none>
pn  gnupg                                          <none>
pn  imagemagick                                    <none>
pn  jsbeautifier                                   <none>
pn  llvm                                           <none>
pn  mono-utils                                     <none>
pn  openssh-client                                 <none>
pn  pdftk                                          <none>
pn  poppler-utils                                  <none>
pn  python3-argcomplete                            <none>
ii  python3-debian                                 0.1.30
pn  python3-guestfs                                <none>
pn  python3-progressbar                            <none>
pn  python3-rpm                                    <none>
pn  python3-tlsh                                   <none>
pn  rpm2cpio                                       <none>
pn  sng                                            <none>
pn  sqlite3                                        <none>
pn  squashfs-tools                                 <none>
pn  unzip                                          <none>
pn  xxd | vim-common                               <none>
ii  xz-utils                                       5.2.2-1.2+b1

Versions of packages diffoscope suggests:
pn  libjs-jquery  <none>



Added tag(s) pending. Request was from Chris Lamb <lamby@debian.org> to control@bugs.debian.org. (Fri, 25 Aug 2017 06:42:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>:
Bug#873157; Package diffoscope. (Fri, 25 Aug 2017 06:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>. (Fri, 25 Aug 2017 06:51:03 GMT) (full text, mbox, link).


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

From: Chris Lamb <lamby@debian.org>
To: 873157@bugs.debian.org
Cc: "Santiago Torres-Arias" <torresariass@gmail.com>
Subject: Re: diffoscope: Support the new fork of python-progressbar
Date: Thu, 24 Aug 2017 23:38:07 -0700
tags 873157 + pending
thanks

Santiago wrote:

> It'd be nice if diffoscope was made aware of these versions and possibly
> choose the right one depending on which one is available.

Indeed, and thank you for the detailed report and patch. I've fixed
this in Git:

  https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=8e1761586fef81ececa156c98f677d044f09a9aa


Best wishes,

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



Reply sent to Mattia Rizzolo <mattia@debian.org>:
You have taken responsibility. (Sun, 03 Sep 2017 21:09:11 GMT) (full text, mbox, link).


Notification sent to Santiago Torres-Arias <torresariass@gmail.com>:
Bug acknowledged by developer. (Sun, 03 Sep 2017 21:09:11 GMT) (full text, mbox, link).


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

From: Mattia Rizzolo <mattia@debian.org>
To: 873157-close@bugs.debian.org
Subject: Bug#873157: fixed in diffoscope 86
Date: Sun, 03 Sep 2017 21:05:06 +0000
Source: diffoscope
Source-Version: 86

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

Debian distribution maintenance software
pp.
Mattia Rizzolo <mattia@debian.org> (supplier of updated diffoscope 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: Sun, 03 Sep 2017 22:23:06 +0200
Source: diffoscope
Binary: diffoscope
Architecture: source
Version: 86
Distribution: unstable
Urgency: medium
Maintainer: Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Description:
 diffoscope - in-depth comparison of files, archives, and directories
Closes: 869868 871029 871413 873157
Changes:
 diffoscope (86) unstable; urgency=medium
 .
   [ Mattia Rizzolo ]
   * tests:
     + binary: skip a test if the 'distro' module is not available.
     + iso9660: avoid an overly-catching exception.
   * debian/copyright: coalesce some file paragraphs and update information.
 .
   [ Guangyuan Yang ]
   * tests:
     + iso9660: support both cdrtools' genisoimage's versions of isoinfo.
 .
   [ Chris Lamb ]
   * comparators:
     + xml: Use ``name`` attribute over ``path`` to avoid leaking comparison
       full path in output.
   * Tidy diffoscope.progress a little.
 .
   [ Ximin Luo ]
   * Add a --tool-prefix-binutils CLI flag.  Closes: #869868
   * On non-GNU systems, prefer some tools that start with "g".  Closes: #871029
   * presenters:
     + html:
       - Don't traverse children whose parents were already limited.
         Closes: #871413
 .
   [ Santiago Torres-Arias ]
   * diffoscope.progress:
     + Support the new fork of python-progressbar.  Closes: #873157
Checksums-Sha1:
 aab4a3e5b9b0a60eeeb326f650a4a594fe7b3941 3228 diffoscope_86.dsc
 ad1161e33bbbc745cec26d8f6155f75c4dcc97f8 653940 diffoscope_86.tar.xz
 387289e22ab928f6c328e8e815a1aac4c74c1bbd 18609 diffoscope_86_amd64.buildinfo
Checksums-Sha256:
 192e6a68074b4af726075be96a54b1ef299596ebe60032da2974b400ccbac6ae 3228 diffoscope_86.dsc
 99e0f70a4ea420a5b4fa9404a05198b0da18023ea0c8a8fee7857a207aab05ed 653940 diffoscope_86.tar.xz
 a8f59fd9e6e0958bf903c79b9cc47b71aa1978e61b4bfe63a12c9ad1129b50e2 18609 diffoscope_86_amd64.buildinfo
Files:
 a5d1c6e61ad8c0a43bff7a49f5db9e55 3228 devel optional diffoscope_86.dsc
 f7531bd0502197a582b79a4febb20cf3 653940 devel optional diffoscope_86.tar.xz
 dd377aa5c966848f49d9cae26e05a620 18609 devel optional diffoscope_86_amd64.buildinfo

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

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAlmsZuYACgkQCBa54Yx2
K601NhAAgOmO+75WKqufQGAIvHcT8imKaKDk4Of0Hr9tVoGQbFVtjeK63Y/iccxO
1GnTxAaPAQEPtGaFW8aMf183AjfLfvxO60JVoKi4WBOzdqycZYMryeertF9AeCUP
1BBE8Of8P3+zLZ7OSNX8OcXIzBAvhuu/Uw0WS1gwtFWHNeax8KhFeg8O6SKPZVe3
BuB/bsIpEwcuIf2AFHnaPAfJyG4tqbmGZMz9S1MAmk1w51Ggpbe9PXLgAWAsPS0u
51I+TGycOmvUP445fhWj8wCj2dI0FuUyVnanMjVO4KqUpmkmktXeJ2OU0H8VipDq
rsLXA/QRluo/gVnxFUYh7SjaL4QwPtJkb3HTytpEVV1H/hqq3JtZMyfntd0tR3rW
W9F9X/AVuCZBcBka2kg5umAB6utMAqrfYQ+Cym2mVs/pd85AAeGnShviIlXZgyhN
ccq+PaGgGX9nWYFnmP8TGrniZUI3dUXx9cLYtmPuITFuqWtVGOkLOZuGAEQzsaaB
qdeqv95ldGIyPg984sgFYgML3jek/jkB+bpnkAHD/D5PwY8wjJY23kqb+AgWLPUA
GqnokpxT95kuVYJMTy4m02RptTSV+fGdUTeUWeuJpskQLPYf3bZEfHxIVkaosiYT
tWHVq9DlVM5oQ0/dMNGgd95+WZr/BR4+s8ETCDLrhmok8ZD0g4g=
=tLgy
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 07 Oct 2017 07:29:02 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:47:59 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.