Your message dated Fri, 15 Aug 2025 11:04:51 +0000
with message-id <[email protected]>
and subject line Bug#1064858: fixed in astroplan 0.10.1-3
has caused the Debian Bug report #1064858,
regarding python-astroplan-doc: please make the package 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.)
--
1064858: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1064858
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-astroplan-doc
Severity: wishlist
User: [email protected]
Usertags: timestamps randomness
Dear Maintainer,
I'm an occasional volunteer contributor to the Reproducible Builds[1] project,
and noticed recently that the python-astroplan-doc package failed[2] an
automated Debian package reproducibility test.
There appear to be two causes of non-reproducibility:
* Unless instructed otherwise, the Sphinx autodoc extension evaluates the
default values of Python method signature arguments. In the case of
astroplan, that produces timing information that is relative to the
build-time of the project (such as the value of '_current_year_time_range'
in the arguments to 'months_observable'[3]).
* The astroplan docs include build-time-generated matplotlib diagrams in SVG
format. By default, matplotlib uses[4] a randomly-generated UUID4 scheme
to add a salt when creating the path IDs in those SVG files, meaning that
the resulting documentation varies on each build.
I can suggest two corresponding resolutions to make the documentation build
reproducibly:
* We can use the 'autodoc_preserve_defaults' configuration option[5] in the
autodoc extension to include the source code text of each argument default,
instead of the build-time values they evaluate to.
* We can configure the matplotlib 'svg.hashsalt' option[6]. This can be
configured on a per-diagram basis, or globally using a matplotlibrc file.
In this case, I recommend the latter because this should mean that we do
not have to modify the source package, only the Debian packaging.
I'll provide a merge request on Salsa with these suggestions and will link that
to the bugreport here.
Regards,
James
[1] - https://reproducible-builds.org
[2] -
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/diffoscope-results/astroplan.html
[3] -
https://salsa.debian.org/debian-astro-team/astroplan/-/blob/ffea5b68f3f4e682b0226a11b24df9c7ef56ff2c/astroplan/constraints.py#L1094-1096
[4] -
https://sources.debian.org/src/matplotlib/3.6.3-1/lib/matplotlib/backends/backend_svg.py/#L497-L498
[5] -
https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_preserve_defaults
[6] -
https://matplotlib.org/stable/users/explain/customizing.html?highlight=svg.hashsalt#matplotlibrc-sample
--- End Message ---
--- Begin Message ---
Source: astroplan
Source-Version: 0.10.1-3
Done: Alexandre Detiste <[email protected]>
We believe that the bug you reported is fixed in the latest version of
astroplan, 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.
Alexandre Detiste <[email protected]> (supplier of updated astroplan 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, 15 Aug 2025 12:04:39 +0200
Source: astroplan
Architecture: source
Version: 0.10.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Astro Team <[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1064858
Changes:
astroplan (0.10.1-3) unstable; urgency=medium
.
* Team Upload
.
[ James Addison ]
* enable Sphinx autodoc preservation of method-argument defaults
* enable deterministic matplotlib SVG ID-generation (Closes: #1064858)
* Refresh patches
Checksums-Sha1:
25d417390c9dd7e2564b4baeb5b336d9b5fe3d1c 2387 astroplan_0.10.1-3.dsc
65d476d13eedb1f8272e7a18f141afdcc6e7dd40 6960 astroplan_0.10.1-3.debian.tar.xz
28a8e58013acba5da1c282306361965023558f74 13482
astroplan_0.10.1-3_source.buildinfo
Checksums-Sha256:
46bdcdba03dab848d05b9aade1e4c1d5246898a9885b84d07028367726674c75 2387
astroplan_0.10.1-3.dsc
c93f61e1ce1d68475c39863c75732d974519639815e6c1abdf3a920634e568e3 6960
astroplan_0.10.1-3.debian.tar.xz
538307fdc31daa23fdc9e58d271b8d9af4c6b71f5f80d4ef232472d7f0ff9d3d 13482
astroplan_0.10.1-3_source.buildinfo
Files:
c6320c0a6e6f4a01e22d66199f852e96 2387 python optional astroplan_0.10.1-3.dsc
a99c282350c45533f1b2f8e0e93ef0d8 6960 python optional
astroplan_0.10.1-3.debian.tar.xz
13586dd4df43cd187891144597875937 13482 python optional
astroplan_0.10.1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmifBtwRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBp9YxAArtu1CBAvxMTWWyN00aSlBjpSB2E8v7uN
dDQ1T0vPd/zbfHSoPsClwvTkKzqQmd8sLPgzEqYtWvHg0yMZFDEZSFMjqq6BCuSW
+hTRvh+zy/1NhELtipcbg6qk31m3z8p2+umKazn0x4UDsqz3Vc6dJAP3Sb5F8kEj
V1fUei9YQ8U1Gj1VawF7o3HV05+t8BGRu6RtDIvtfbNf49MuTPBIkMGInJF4njgk
MIZmtOnjLlQDOrrg9/Bism9/2Efkcgw5bmgz5gTo9KMqj46Cw0tlJIkqu927tQ9F
osZ8V8VIDBPto/RDGxpTjN3NQEY7ageqfUMCsslFY+bEnpLAso0obnYs47Wb9Ugh
WsBweR4Ltu6Mteylu7J5ElMvBAJbDId2KHDeBsy+9PvGo21jsS/OqG08UBI0qd6J
e0LOalzKTmwW3nn0d7k+HZKHYJxVbiye9N9FVJOyQtzybvLVuksy/4F+q/AqApN5
kL/6b61XYyTpA5RlQ7a9GxVmAFZfQ1RtmBBlo86r5+rZrh5mMNpUnypqHGoowFYo
f4V9Qqh4hF0/8ueh4Sh/XoshECfhKfo50A9FxD4adKBggWezEf9XXFE5Mop97/yn
SLU6oIHyMRqihah0hyYXmg3ueN6ryd40xEO3gBHu1lZNOtf8xQGsvuATljVoB8Zc
AV97cbLrqfQ=
=jWjO
-----END PGP SIGNATURE-----
pgpNMVTJHAYVp.pgp
Description: PGP signature
--- End Message ---