Your message dated Wed, 07 Aug 2024 04:50:47 +0000
with message-id <[email protected]>
and subject line Bug#1078048: fixed in scikit-optimize 0.10.2-3
has caused the Debian Bug report #1078048,
regarding scikit-optimize: 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.)
--
1078048: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078048
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: scikit-optimize
Version: 0.10.2-2
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
scikit-optimize could not be built reproducibly.
This is because it embeds the current build year in the documentation:
/usr/share/doc/python-scikit-optimize-doc/html/_modules/index.html
@@ -201,15 +201,15 @@
<p class="copyright">
- © Copyright 2024 - 2024, scikit-optimize contributors (BSD
License).<br>
+ © Copyright 2024 - 2025, scikit-optimize contributors (BSD
License).<br>
</p>
Patch attached that uses SOURCE_DATE_EPOCH, if available.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`---- a/debian/patches/004-reproducible-build.patch 1970-01-01
01:00:00.000000000 +0100
--- b/debian/patches/004-reproducible-build.patch 2024-08-06
11:09:17.875959432 +0100
@@ -0,0 +1,31 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2024-08-06
+
+--- scikit-optimize-0.10.2.orig/doc/conf.py
++++ scikit-optimize-0.10.2/doc/conf.py
+@@ -10,6 +10,7 @@
+ import os
+ import re
+ import datetime
++import time
+ # import pkg_resources
+ import sys
+
+@@ -36,10 +37,15 @@ from importlib.metadata import version,
+ # __version__ = pkg_resources.get_distribution('skopt').version
+ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
+
++build_date = datetime.datetime.fromtimestamp(
++ int(os.environ.get('SOURCE_DATE_EPOCH', time.time())),
++ tz=datetime.timezone.utc,
++)
++
+ # -- Project information -----------------------------------------------------
+
+ project = 'scikit-optimize'
+-copyright = f'2017 - {datetime.date.today().year}, scikit-optimize
contributors (BSD License)'
++copyright = f'2017 - {build_date.year}, scikit-optimize contributors (BSD
License)'
+ author = 'The scikit-optimize contributors'
+
+ # The short X.Y version
--- a/debian/patches/series 2024-08-06 10:52:03.881697388 +0100
--- b/debian/patches/series 2024-08-06 11:09:16.963951476 +0100
@@ -1,3 +1,4 @@
003-fix-privacy-breach-generic.patch
002-replace-bootstrap-js.patch
001-doc-system-path-skopt.patch
+004-reproducible-build.patch
--- End Message ---
--- Begin Message ---
Source: scikit-optimize
Source-Version: 0.10.2-3
Done: Yogeswaran Umasankar <[email protected]>
We believe that the bug you reported is fixed in the latest version of
scikit-optimize, 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 scikit-optimize
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: Tue, 06 Aug 2024 19:50:00 +0000
Source: scikit-optimize
Architecture: source
Version: 0.10.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Yogeswaran Umasankar <[email protected]>
Closes: 1078048
Changes:
scikit-optimize (0.10.2-3) unstable; urgency=medium
.
* Patch to fix build reproducibility. (Closes: #1078048)
Checksums-Sha1:
be227f751f48c8f01f0c42ff3fcf1eb4fa69759f 2703 scikit-optimize_0.10.2-3.dsc
b4a61a1a09dcd967c099072be70a53ee994715b7 19040
scikit-optimize_0.10.2-3.debian.tar.xz
e16cc4a73f631fd2422fa3486fcfc76b61315b83 10793
scikit-optimize_0.10.2-3_source.buildinfo
Checksums-Sha256:
9b1fe27410afe63a08aa8b5c21b8bb97a0567b9089cb45ee5d7d2a577e1075bf 2703
scikit-optimize_0.10.2-3.dsc
baa9985ab12c5fabcc8688fa4107a321bfa948346d93a0d63fdd48e4f6acc22f 19040
scikit-optimize_0.10.2-3.debian.tar.xz
84383eb909ac0d05446f84c409cd61c661c451a703c4bcd36c4f1460d303b562 10793
scikit-optimize_0.10.2-3_source.buildinfo
Files:
52321290b640a481f415113c4dc4dd03 2703 python optional
scikit-optimize_0.10.2-3.dsc
8224bca1260b2251c7da7aeb000fca00 19040 python optional
scikit-optimize_0.10.2-3.debian.tar.xz
79e9b493d75edee9cfd06bb90e150503 10793 python optional
scikit-optimize_0.10.2-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEE/qLi99g13V/he2oYtIOKvyeCVXsFAmay9+oQHHlvZ3VAZGVi
aWFuLm9yZwAKCRC0g4q/J4JVeyryD/42I/W6pi/pEBz+XtmAaL+6X0Ihs5Uz+lCw
VTnFQt0wnuL/WlDjXKuivSqKrStE6J3l+c30VpYaPCbjJwUgEWTzTOFCtO7k2FqX
ltYuVj0YorhGqdQ0FuAkcOf8WddlFDiqGqKL8epa8OlYjSDwZYFmcjTeMCZ08RID
drygOvVGqGeT4UAjuBUhmdaeEtKPbj8PpLXoQqNmi+sSLUb8Ac8FWm3g2zge742U
9VPNyDd6Pn0gLFoCjvx6hjmO67V6wUS+Rty5EKrcQF1inrymg70km8LN0KGL8dxs
G9V3RuLKKjoyxZg/8IlpgLns++KlONJLTT6QKoO+u2JBSqbs46QcG6Ba97rqS+PF
RQ6KVwu0xxfvkOxQ9LEh/8K5arz7DBh1RcX2bZUKOoV0nmQBZVNHtWD7ixJuTdyZ
TP1WPMxfNuI3aA3/hxb54lFcyRkpuMzAEtru36VctDu+e17sqnVO7JoheE9xGeOt
rRayEE7SPqGDglwczR2GetERmDoDER18d7PYenEn0yA5RxaF9avK5O/k29pwvIhh
09rxAufc8qgIUXrcjcIPiAItX9AoKrraro8Os6qbn6kpeL5jgzxWkLUDi4FGwiTZ
tnfSRhZM6SI5fw7o2dQR0avRyT52QE5cMhv1/Kxr/tZJDt8z3cg/IayrIkW+GGhK
cDd47rnlWQ==
=kZJZ
-----END PGP SIGNATURE-----
pgpDPaaNnmHkq.pgp
Description: PGP signature
--- End Message ---