Debian Bug report logs - #1009337
python-public: reproducible builds: ships .coverage file

version graph

Package: src:python-public; Maintainer for src:python-public is Debian QA Group <packages@qa.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Mon, 11 Apr 2022 23:15:01 UTC

Severity: normal

Tags: patch

Fixed in version python-public/2.3-2

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, reproducible-bugs@lists.alioth.debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#1009337; Package src:python-public. (Mon, 11 Apr 2022 23:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Python Team <team+python@tracker.debian.org>. (Mon, 11 Apr 2022 23:15:04 GMT) (full text, mbox, link).


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

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: python-public: reproducible builds: ships .coverage file
Date: Mon, 11 Apr 2022 16:10:50 -0700
[Message part 1 (text/plain, inline)]
Source: python-public
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

With the update to python 3.10, the rule in debian/rules no longer
successfully removes the .coverage file, resulting in reproducibility
issues:

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/python-public.html

  /usr/lib/python3.10/dist-packages/.coverage

  INSERT·INTO·meta·VALUES('when','2022-03-20·08:16:32');
  vs.
  INSERT·INTO·meta·VALUES('when','2023-04-23·16:43:09');

The attached patch updates the rule removing the .coverage file to catch
the new versioned directory, as well as hopefully future versions...


With this patch applied, python-public should build reproducibly on
tests.reproducible-builds.org again!


Thanks for maintaining python-public!


live well,
  vagrant
[0001-debian-rules-Update-rule-to-remove-.coverage-file.patch (text/x-diff, inline)]
From 47e7a7d7d21775de2acaaef97bc808553bbecd61 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 11 Apr 2022 23:00:45 +0000
Subject: [PATCH] debian/rules: Update rule to remove .coverage file.

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ffaf6c8..9431fbd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,4 +15,4 @@ override_dh_installdocs:
 	dh_installdocs build/sphinx/html
 
 execute_after_dh_python3:
-	rm -f $(CURDIR)/debian/*/usr/lib/python3/dist-packages/.coverage
+	rm -f $(CURDIR)/debian/*/usr/lib/python*/dist-packages/.coverage
-- 
2.35.1

[signature.asc (application/pgp-signature, inline)]

Message sent on to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#1009337. (Sat, 30 Jul 2022 08:03:02 GMT) (full text, mbox, link).


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

From: Mattia Rizzolo <mattia@debian.org>
To: 1009337-submitter@bugs.debian.org
Subject: Bug#1009337 marked as pending in python-public
Date: Sat, 30 Jul 2022 08:01:35 +0000
Control: tag -1 pending

Hello,

Bug #1009337 in python-public 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/packages/python-public/-/commit/605dbeacb8ea2d9e7376a0a1ebdd63cd95d3effc

------------------------------------------------------------------------
Move sure to always remove the .coverage file

Closes: #1009337
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1009337



Added tag(s) pending. Request was from Mattia Rizzolo <mattia@debian.org> to 1009337-submitter@bugs.debian.org. (Sat, 30 Jul 2022 08:03:02 GMT) (full text, mbox, link).


Reply sent to Mattia Rizzolo <mattia@debian.org>:
You have taken responsibility. (Sat, 30 Jul 2022 08:36:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Sat, 30 Jul 2022 08:36:04 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1009337-close@bugs.debian.org
Subject: Bug#1009337: fixed in python-public 2.3-2
Date: Sat, 30 Jul 2022 08:34:01 +0000
Source: python-public
Source-Version: 2.3-2
Done: Mattia Rizzolo <mattia@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-public, 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 1009337@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 python-public 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: Sat, 30 Jul 2022 09:59:34 +0200
Source: python-public
Architecture: source
Version: 2.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Mattia Rizzolo <mattia@debian.org>
Closes: 1009337
Changes:
 python-public (2.3-2) unstable; urgency=medium
 .
   * Team upload.
   * Bump Standards-Version to 4.6.1, no changes needed.
   * Drop Suggests on python-public-doc, which does no exist.
   * Use dh-sequence-sphinxdoc for a more declarative build.
   * Set Rules-Requires-Root:no.
   * Move sure to always remove the .coverage file.  Closes: #1009337
   * Update copyright.
   * Re-export the upstream signing-key without extra signatures.
Checksums-Sha1:
 db30c8459b86cb0267c596e89affe72b18e34621 2441 python-public_2.3-2.dsc
 49bf1161dcb0837a7d75d37015b4fd4b3dfb333a 33340 python-public_2.3-2.debian.tar.xz
 58b233e7fb3d84d113c855112e23a5b3324f620a 8209 python-public_2.3-2_amd64.buildinfo
Checksums-Sha256:
 f309831addf6b99083a59dc3ea0a4c8776801337aab77d265f4457aba9935e9e 2441 python-public_2.3-2.dsc
 78086d12f3f9a191f08a1f7a0bf303ebc488f4d3adc0dfa12e64d1f782cacd2e 33340 python-public_2.3-2.debian.tar.xz
 6c4e6cba5d2696b63cab6c971cffec7054726e0e6ea2b7de5c151a82a5d53258 8209 python-public_2.3-2_amd64.buildinfo
Files:
 eb6bc4162a31223aab746c3c6daa1aba 2441 python optional python-public_2.3-2.dsc
 1e920b64fa77adc03c8c729784bba3a2 33340 python optional python-public_2.3-2.debian.tar.xz
 4fccfca23518cbb0b72c51b8f6a283d1 8209 python optional python-public_2.3-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAmLk5WgACgkQCBa54Yx2
K62HnhAAtL96G42gAjTSmbh47e2kXzFnK1UDMAEekD725vTtXCv9l6IW/xDDhJ73
hGpngYmou1SYgBX2D5cME8+9yeAWPnddbSN7rrxFS750ZzhjO1dOgKbw5PolnjfE
Eb343N9GU2DJIIuntNkJuHgvM60g7e//m3OYskrIq9zrpH1/9lDW4+h3mFuRxnQI
v2K0oWz7y1zmBaAYMx8o1+v1kTDEaNkumwI/Oi1ZcSN16xcG9NYBpj0jkZ2RXq8j
6qtPisDMUjABdwrg9hkwnw+iOt4UTJ1ShxisGkD9+WaILECnPyVzNEJQOuqkkMpu
8gDzEVpuy9mfMF5dDiy3xJ+gVQR7eqbDnVxbbhxJdGIofSyWfUUpKkk7EH1scIbl
4N+SSkXL/mQIIyslWZ/M/8jCGHnVDVPePRfu1Kwxwik7FNPzVowAPFW6qOk3Vftl
67EUSU4C+MFI7LcSKRWNMQyRCB8pzs5KfAr3a9k+x4EA/Z93I5a8AjrhTfqqOGqc
8r2mDZ7BmHN/U+O9aZ7a3K/Hxn9o/I23dCGSCaFqjbY0L2AG3oQe3ivD9jr0Jexc
nkocPC87b+g/SJ6F+tRtwsUZJGDonS8gNF94JEcPHHy3HapNJOY47hPLy0dEQAlX
QpsSDwK4/uvlq7j7RmhwawpKJil8KKzyqw6OYMqUVXuQOUGeQyA=
=O07j
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 29 Aug 2022 07:26:05 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:41:55 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.