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.
James Addison, on 2024-02-09:
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.
Thank you thank you thank you! This reproducibility issue has
been nagging me from day zero. Despite trying to filter out the
host name, it ended up in the search indexer, sliced by dashes
when the name contained some, preventing sed passes to resolve
the issue. I see to include your patch in the next python-parsl
upload; this will also allow some cleanup in the d/rules.
I'll also forward the same change to upstream, in the hope that we may
be able to drop the patch from the packaging in future.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 12:55:01 |
Calls: | 6,706 |
Files: | 12,236 |
Messages: | 5,350,983 |