Describe the bug
Because Python now randomizes the hash salt for dicts and sets, each build results in the tags being listed in a different order (because they are stored as sets, and the order of iterating over a set depends on the hash values). To avoid that, I propose to add sorting to the relevant templates, so that the tags are always emitted in the same predictable order, and there are no unnecessary changes in the diffs between builds.
Describe the bug
Because Python now randomizes the hash salt for dicts and sets, each build results in the tags being listed in a different order (because they are stored as sets, and the order of iterating over a set depends on the hash values). To avoid that, I propose to add sorting to the relevant templates, so that the tags are always emitted in the same predictable order, and there are no unnecessary changes in the diffs between builds.