Your message dated Sat, 25 Oct 2025 02:49:34 +0000
with message-id <[email protected]>
and subject line Bug#1066042: fixed in python-quantities 0.16.2-1
has caused the Debian Bug report #1066042,
regarding python-quantities: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1066042: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066042
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-quantities
Version: 0.15.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
python-quantities could not be built reproducibly.
This is because the build process writes a timestamp to a generated
file. A patch is attached that sources this timestamp from SOURCE_DATE_EPOCH
instead of the system clock.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000
+0100
--- b/debian/patches/reproducible-build.patch 2024-03-11 15:07:58.203181306
+0000
@@ -0,0 +1,31 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2024-03-11
+
+--- python-quantities-0.15.0.orig/setup.py
++++ python-quantities-0.15.0/setup.py
+@@ -1,8 +1,14 @@
++import os
++import time
+ from setuptools import Command, setup
+ from setuptools.command.build_py import build_py as _build
+ from setuptools.command.sdist import sdist as _sdist
+-from datetime import datetime
++from datetime import datetime, timezone
+
++build_date = datetime.fromtimestamp(
++ int(os.environ.get('SOURCE_DATE_EPOCH', time.time())),
++ tz=timezone.utc,
++)
+
+ class data(Command):
+
+@@ -24,7 +30,7 @@ class data(Command):
+ with open('quantities/constants/_codata.py', 'w') as f:
+ f.write('# THIS FILE IS AUTOMATICALLY GENERATED\n')
+ f.write('# ANY CHANGES MADE HERE WILL BE LOST\n')
+- f.write(f'# LAST GENERATED: {datetime.now()}\n\n')
++ f.write(f'# LAST GENERATED: {build_date}\n\n')
+ f.write('physical_constants = {}\n\n')
+ for line in data:
+ name = line[:55].rstrip().replace('mag.','magnetic')
--- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series 2024-03-11 15:05:38.702459132 +0000
@@ -0,0 +1 @@
+reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: python-quantities
Source-Version: 0.16.2-1
Done: Yogeswaran Umasankar <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-quantities, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yogeswaran Umasankar <[email protected]> (supplier of updated python-quantities
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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 24 Oct 2025 20:26:29 +0000
Source: python-quantities
Architecture: source
Version: 0.16.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Yogeswaran Umasankar <[email protected]>
Closes: 1066042
Changes:
python-quantities (0.16.2-1) unstable; urgency=medium
.
* Team upload.
.
[ Yogeswaran Umasankar ]
* New upstream version 0.16.2.
* d/control:
- Add python3-pytest and python3-setuptools to build-depends.
- Update to dh-sequence-python3.
- Bump Standards-Version to 4.7.2.
- Remove Rules-Requires-Root: no.
* d/rules:
- Remove sequence name python3.
- Remove doc NIST_codata.txt.
* Add d/clean.
* Add d/source/options.
* d/watch: bump to version 5.
.
[ Chris Lamb ]
* Update d/patches/reproducible-build.patch. (Closes: #1066042)
Checksums-Sha1:
1fe3ffbc61cfee964199b2b5edd6af946495758d 2312 python-quantities_0.16.2-1.dsc
16f2788a7e538845f9ab39c7996e8be4dcea9310 93221
python-quantities_0.16.2.orig.tar.gz
69441a7262568c0e5033cc8353eb3d6cf9812081 5016
python-quantities_0.16.2-1.debian.tar.xz
97be786a4ce50492b2696b96560631b7ab3ef51f 6971
python-quantities_0.16.2-1_source.buildinfo
Checksums-Sha256:
f2b860011ab2ab89a0f2424cd232d64dde007587987c245bd820d3867ed7d43d 2312
python-quantities_0.16.2-1.dsc
5c9a0bbafde61a1d576e82f0d97b9b73798bace3ae41c480cbe74e82cef2b8ca 93221
python-quantities_0.16.2.orig.tar.gz
0d9f2a5654be893270d59e9b0838ed5fe2e4c5edf31507da2735484b8af06643 5016
python-quantities_0.16.2-1.debian.tar.xz
189b5b70d8b4e50bbdf19b96e1e62f8711dce53ce493a5f39ebcfdb347d2ac63 6971
python-quantities_0.16.2-1_source.buildinfo
Files:
acc93842514ad1951541e682fba39dff 2312 python optional
python-quantities_0.16.2-1.dsc
e4ffe7cf41d5c218b827dab2971f75d5 93221 python optional
python-quantities_0.16.2.orig.tar.gz
7abc00f4787e68eb662a3cb0884a06e6 5016 python optional
python-quantities_0.16.2-1.debian.tar.xz
f972ecaafbbf3f0fd4d561af46c0d86b 6971 python optional
python-quantities_0.16.2-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEE/qLi99g13V/he2oYtIOKvyeCVXsFAmj8Nr8QHHlvZ3VAZGVi
aWFuLm9yZwAKCRC0g4q/J4JVe3nrD/0ZLLy9Cs/9dtnh0l8wFYXdAU64IqBLV28N
naDeyyuWbqINmzbKfQ7V0VyFE4KkgZhV2TMegTAs9RlKjUPCM4ys14joupJMWW/d
wVq+91eGVbiLbCmbaWHh98FAqZw+0q5pswPlI6R5B1ZRx2BzvfpRQNrR5/YpkRxO
BPIwhwd8vzSmxUlLQEZm7qP2dwTTRJDOdCeLG04ghrbeMVWpytKCa8MaTEoA8EmM
NsJDNp3S2DOjrCYCLh+AzM1B0Yz7DFaRkkpck9yxbY9o5/Hro06ibIxaMfGe6MDu
3vblXZh5Z6n6YMmmYpjqjAMxO2Ictr1NaVvN/9ben2r2tbAlWg1VfPpdfDT+jxhH
8sr3Nfwmngu7T0Z3TjBWKrEYs/9SBQmF7/TbN4XlXbysXky8FS+5Ymv8qxs1liKt
9YjvLaONSyAGRGjmrnUyuk9lTktRpwpIKWfZeTsbSdqi/1kGcpuZaF+WIseOWs3n
Hc97g/bJrbmTaKilCGDnifjOqc5ugPO7Zm84YgZdwChaCEwAys4uiw34WjaTK4i6
/SoIQtd8Jszl8C1Eb7PzB1WTYoKRNF4N70itbHi7GtgYeJwtFEY+akYncVvz4gY4
ohZc40nAmfgrY6AVGuqWeT1KHoEKzTBNh/jwY/28rjQ1D0mx+x24uYsLlF2em26h
GubNmkgdyQ==
=xI1K
-----END PGP SIGNATURE-----
pgpIrM5O64Lyo.pgp
Description: PGP signature
--- End Message ---