Source: python-sqlalchemy-utils
Version: 0.30.12-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [0], we have noticed
that python-sqlalchemy-utils could not be built reproducibly.
The attached patch removes non-deterministic behaviour from the build
system. Once applied, python-sqlalchemy-utils can be built reproducibly
in our reproducible toolchain.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible_build.patch 1970-01-01 01:00:00.000000000
+0100
--- b/debian/patches/reproducible_build.patch 2015-09-16 19:52:35.211712445
+0100
@@ -0,0 +1,11 @@
+--- python-sqlalchemy-utils-0.30.12.orig/setup.py
++++ python-sqlalchemy-utils-0.30.12/setup.py
+@@ -57,7 +57,7 @@ extras_require = {
+
+ # Add all optional dependencies to testing requirements.
+ test_all = []
+-for name, requirements in extras_require.items():
++for name, requirements in sorted(extras_require.items()):
+ test_all += requirements
+ extras_require['test_all'] = test_all
+
--- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series 2015-09-16 19:52:32.099683086 +0100
@@ -0,0 +1 @@
+reproducible_build.patch