Your message dated Sat, 10 Feb 2024 01:03:24 +0000
with message-id <[email protected]>
and subject line Bug#1063542: fixed in python-parsl 2024.02.05+ds-1
has caused the Debian Bug report #1063542,
regarding python-parsl-doc: 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.)


-- 
1063542: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063542
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-parsl-doc
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: hostname
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I'm an occasional volunteer with the Reproducible Builds[1] project, and
recently noticed that the python-parsl-doc package failed to build from source
reproducibly.

The cause is that the hostname of the build host appears in some of the
documentation built by Sphinx and the autodoc extension.  The hostname
is evaluated from a class attribute that calls the Python socket.gethostname
method.

I'll attach a patch momentarily that resolves the problem by enabling the
Sphinx autodoc extension 'autodoc_preserve_defaults' configuration setting[2].
Please note that this does affect other output in the documentation.


In more detail:

The TaskVineManagerConfig dataclass includes an 'address' attribute[3] that
is set to the value of socket.gethostname() when the class is loaded.

Meanwhile, the TaskVineExecutor.__init__ method 'manager_config' argument[4]
has a default value of a no-args constructed TaskVineManagerConfig instance.

When Sphinx builds documentation, by default it will emit a Python repr() of
the manager_config argument, causing the hostname of the build host to be
included.

We can solve that by instructing the Sphinx autodoc extension to retain the
textual representation of argument lists as they are found in the source
code, instead of evaluated and repr'd equivalents.

Regards,
James

[1] - https://reproducible-builds.org/

[2] - 
https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_preserve_defaults

[3] - 
https://sources.debian.org/src/python-parsl/2023.11.13%2Bds-1/parsl/executors/taskvine/manager_config.py/#L151

[4] - 
https://sources.debian.org/src/python-parsl/2023.11.13%2Bds-1/parsl/executors/taskvine/executor.py/#L106

--- End Message ---
--- Begin Message ---
Source: python-parsl
Source-Version: 2024.02.05+ds-1
Done: Étienne Mollier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-parsl, 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.
Étienne Mollier <[email protected]> (supplier of updated python-parsl 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, 09 Feb 2024 22:33:29 +0100
Source: python-parsl
Architecture: source
Version: 2024.02.05+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Étienne Mollier <[email protected]>
Closes: 1063542
Changes:
 python-parsl (2024.02.05+ds-1) unstable; urgency=medium
 .
   [ James Addison ]
   * sphinx-autodoc-preserve-argdefaults.patch:
     improve Sphinx documentation reproducibility by preserving argument
     defaults (Closes: #1063542)
 .
   [ Étienne Mollier ]
   * d/rules: remove now unneeded sanitizing.
     Thanks to James Addison
   * New upstream version 2024.02.05+ds
Checksums-Sha1:
 27e71a190de7207a9d572f4c189c32556f2c2752 3257 python-parsl_2024.02.05+ds-1.dsc
 5a848bfc9d0f605f3e3825207d607cd9b30159be 7986556 
python-parsl_2024.02.05+ds.orig.tar.xz
 386d6fc2486339a0241eb033588f458cf90cd997 9384 
python-parsl_2024.02.05+ds-1.debian.tar.xz
Checksums-Sha256:
 f37e0adef2624071a86f40f4adfc9e8cd130bf7adad6c5de71e21a21b60de25a 3257 
python-parsl_2024.02.05+ds-1.dsc
 ff0d641fa4a9d1339a056f85789b0acd7081234d5ab3192f74f3bb66a7277848 7986556 
python-parsl_2024.02.05+ds.orig.tar.xz
 50bf10a9eed04d6da9d09a918cd07ea8e16cf8cf7f56eccca64d855e12c7ae5f 9384 
python-parsl_2024.02.05+ds-1.debian.tar.xz
Files:
 f4e0084b048c181aec97cc26ad456f91 3257 python optional 
python-parsl_2024.02.05+ds-1.dsc
 3ebb0e9f6311e71f487d844f07125220 7986556 python optional 
python-parsl_2024.02.05+ds.orig.tar.xz
 d016438d6d0dce2c35b7211c34258a33 9384 python optional 
python-parsl_2024.02.05+ds-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmXGm0sUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdp1HQ/+JqX9fO/KkZ7MS5DS8+bEtXH0vgKa
ZrvewWLr7gHLXVw77U0xvHbv73MjHYji56Lf3dvOQjH1Tu5wz6DrlvzFgpj/p377
WAFYQ9KG8r0HJHDzCS9OU6lLs6m0WSZcjlzhbauL0AmtEWJgXqSfKudwxyFNudW8
66A1kFJkds4rdfxDPQ85EJ48qyI73JWdW0ASgrxgUTFUCEIED+cRTfqXawVG8tS6
93YpW4OsYm6wC0dAc20tzmQkYjU3BmHiwMIoulS9ELXOAQRc6vNjvznOTdZHyjPy
R6Pla8y9GtGg6QKcq+IGx/1j/6Aatajd9hd+QzNLIKFUJm0Y+0Rq/AdsZ/Z/oh0j
xYHgJ49Mu7mqDZLN7At0LysBqDJ7IzgM/IYuFgbiqbY+8D3RFymoD5ryge+s3YaL
cOmIpggEGLXCC3+8KPSTgDg82NLninZwKx7ZtAZDxbDx1xGY7lCXl/11KgqSZB9P
0GZ9gdX1jzmCkGxsUR0BOKYeuXP739pcFQS3kWN9bpsKIWR7LgoPtlqCUa49UT1S
JtrgAyyp4cJY1H8B+KHjI/+MzwNrrsMd2W2I/jiEmCebk9tebZ8yEPmr3MK9PNfD
SpRDbg29a07r2ORHxzRkvtWdP+IKSRzxftFqWJR0H8/Jo3tndUQ/BAoPrCzfvoFo
vCOLNUzt7uWIfH4=
=Mba5
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to