Skip to content
Snippets Groups Projects

Draft: python-astroplan-doc: make the build reproducible.

  • sphinx: enable the autodoc_preserve_defaults configuration option, preventing timing information from appearing in some rendered Python method signatures.
  • matplotlib: configure a svg.hashsalt value so that SVG path ID generation uses a fixed seed.

A further SVG reproducibility issue remains:

  • Some clipPath IDs differ between the reprotest builds. This may be due to the retrieval of the Python object id(...) -- 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

Members who can merge are allowed to add commits.
Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading