From ef894d20b3fd82e63ed033c69db6b4735c1ec6a1 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Fri, 13 Sep 2019 11:56:57 +0200 Subject: [PATCH] Make the build reproducible (#805) Whilst working on the Reproducible Builds effort [0] we noticed that pydantic could not be built reproducibly. This is due to it generating the contents of the `PKG-INFO` file via iterating over the contents of a set. This was originally filed in Debian as #940156 [1]. [0] https://reproducible-builds.org/ [1] https://bugs.debian.org/940156 Signed-off-by: Chris Lamb --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2a4552d..985018b 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ class ReplaceLinks: return f'{m.group(1)}`@{name}`_' def extra(self): - return '\n\n' + '\n'.join(self.links) + '\n' + return '\n\n' + '\n'.join(sorted(self.links)) + '\n' description = 'Data validation and settings management using python 3.6 type hinting'