Fix: Ensure that components cache keys are ordered before dumping to file.
continuous-integration/drone/push Build is passing Details

Reason: The CI/CD automation regenerates the cache file, and commits
the changes if it differs from the previous version.

The only way to ensure semantic equivalence is to sort the keys upon
dump.
This commit is contained in:
Fabio Manganiello 2024-01-06 22:49:16 +01:00
parent 0f130235d3
commit edd92b8467
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ class Cache:
'items': self.to_dict(),
},
cls=Message.Encoder,
sort_keys=True,
).encode()
)