Source: python-public Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps buildpath X-Debbugs-Cc: reproducible-b...@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
From 47e7a7d7d21775de2acaaef97bc808553bbecd61 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@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
Description: PGP signature