Draft: python-astroplan-doc: make the build reproducible.
Open
requested to merge jayaddison/astroplan:bug-1064858/improve-documentation-build-reproducibility into master
-
sphinx
: enable theautodoc_preserve_defaults
configuration option, preventing timing information from appearing in some rendered Python method signatures. -
matplotlib
: configure asvg.hashsalt
value so that SVG path ID generation uses a fixed seed.
A further SVG reproducibility issue remains:
- Some
clipPath
IDs differ between thereprotest
builds. This may be due to the retrieval of the Python objectid(...)
-- a runtime unique identifier for objects -- that is likely to vary between builds.
Sample partial diff output below:
882c882
< " clip-path="url(#p5c24bd532f)" style="fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square"/>
---
> " clip-path="url(#p311908f1cc)" style="fill: none; stroke: #b0b0b0; stroke-width: 0.8; stroke-linecap: square"/>
1213c1213
< <clipPath id="p5c24bd532f">
---
> <clipPath id="p311908f1cc">
Closes #1064858.
Merge request reports
Activity
Filter activity
Please register or sign in to reply