[Python-modules-team] Bug#909936: python3-changelog: Please make building changelogs reproducible

Chris Lamb lamby at debian.org
Mon Oct 1 09:37:59 BST 2018


tags 909936 + patch
thanks

Hi,

In the past we have tried not to burden maintainers with the knowledge
that their packages are unreproducible and/or causing others to be so,
in that spirit, I am following up with the attached patch.


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diff --git a/changelog/render.py b/changelog/render.py
index 3ec87e2..2e3e7e4 100644
--- a/changelog/render.py
+++ b/changelog/render.py
@@ -171,7 +171,7 @@ def _render_rec(changelog_directive, rec, section, cat, append_sec):
             (rec['changeset'],
              changelog_directive.env.config.changelog_render_changeset, "r%s"),
     ):
-        for refname in collection:
+        for refname in sorted(collection):
             if i > 0:
                 insert_ticket.append(nodes.Text(", ", ", "))
             else:


More information about the Python-modules-team mailing list