[Python-modules-commits] [wheel] 01/03: Sort Requires-Dist headers for reproducible builds
Barry Warsaw
barry at moszumanska.debian.org
Thu Dec 1 15:54:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository wheel.
commit 208d1b2045d16e1eb8a453320ea9a5260d2395b2
Author: Barry Warsaw <barry at python.org>
Date: Wed Nov 30 19:09:49 2016 -0500
Sort Requires-Dist headers for reproducible builds
Patch-Name: reproducible-builds.patch
---
wheel/metadata.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wheel/metadata.py b/wheel/metadata.py
index b3cc65c..6da0cc4 100644
--- a/wheel/metadata.py
+++ b/wheel/metadata.py
@@ -223,7 +223,7 @@ def requires_to_requires_dist(requirement):
requires_dist.append(op + ver)
if not requires_dist:
return ''
- return " (%s)" % ','.join(requires_dist)
+ return " (%s)" % ','.join(sorted(requires_dist))
def convert_requirements(requirements):
"""Yield Requires-Dist: strings for parsed requirements strings."""
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/wheel.git
More information about the Python-modules-commits
mailing list