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

Vagrant Cascadian vagrant at reproducible-builds.org
Tue Apr 12 00:10:50 BST 2022


Source: python-public
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps buildpath
X-Debbugs-Cc: reproducible-bugs at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Update-rule-to-remove-.coverage-file.patch
Type: text/x-diff
Size: 672 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220411/c33d174a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220411/c33d174a/attachment.sig>


More information about the Reproducible-bugs mailing list