On 2026-05-02, Vagrant Cascadian wrote:
> On 2024-09-26, Chris Lamb wrote:
>> Whilst working on the Reproducible Builds effort [0], we noticed that
>> python-mt-940 could not be built reproducibly.
>>
>> This is because it ships test coverage in HTML format in the binary
>> package that contains timestamps.
>>
>> A patch is attached that simply removes this coverage entirely after
>> running the tests.
>
> I can confirm the patch is still needed and solves the issue.
>
>> However, the coverage was being installed into the incorrect
>> directory /usr/lib/python3/dist-packages/htmlcov, so if you would
>> prefer to keep the test coverage, you would of course need to
>> install it into a more appropriate location also.
>
> I would like to perform an NMU fixing this issue sometime in the coming
> week or two, please let me know if there are any outstanding concerns!

I have uploaded an NMU to DELAYED/10. debdiff attached.

live well,
  vagrant
diff -Nru python-mt-940-4.30.0/debian/changelog 
python-mt-940-4.30.0/debian/changelog
--- python-mt-940-4.30.0/debian/changelog       2024-12-21 05:51:00.000000000 
-0800
+++ python-mt-940-4.30.0/debian/changelog       2026-05-13 15:47:08.000000000 
-0700
@@ -1,3 +1,13 @@
+python-mt-940 (4.30.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Chris Lamb ]
+  * debian/rules: Remove coverage files containing timestamps.
+    (Closes: #1082796)
+
+ -- Vagrant Cascadian <[email protected]>  Wed, 13 May 2026 
15:47:08 -0700
+
 python-mt-940 (4.30.0-3) unstable; urgency=medium
 
   * Updated my mail address in d/control
diff -Nru python-mt-940-4.30.0/debian/rules python-mt-940-4.30.0/debian/rules
--- python-mt-940-4.30.0/debian/rules   2024-12-21 05:51:00.000000000 -0800
+++ python-mt-940-4.30.0/debian/rules   2026-05-13 15:47:08.000000000 -0700
@@ -2,6 +2,7 @@
 
 export PYBUILD_NAME=mt-940
 export PYBUILD_TEST_ARGS={dir}/mt940_tests/
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/htmlcov
 
 # try to prevent unsanctioned downloads
 export  http_proxy=http://127.0.0.1:9/

Attachment: signature.asc
Description: PGP signature

Reply via email to