forked from pool/python-pip
Matej Cepl
c6fe1446b4
- Add distutils-reproducible-compile.patch to make installed files ordered correctly and thus builds reproducible again (port of the fix for bpo#29708 and gh#python/cpython#8057). OBS-URL: https://build.opensuse.org/request/show/993345 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=99
16 lines
555 B
Diff
16 lines
555 B
Diff
---
|
|
src/pip/_vendor/distlib/wheel.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/src/pip/_vendor/distlib/wheel.py
|
|
+++ b/src/pip/_vendor/distlib/wheel.py
|
|
@@ -538,7 +538,7 @@ class Wheel(object):
|
|
maker.source_dir = workdir
|
|
maker.target_dir = None
|
|
try:
|
|
- for zinfo in zf.infolist():
|
|
+ for zinfo in sorted(zf.infolist()):
|
|
arcname = zinfo.filename
|
|
if isinstance(arcname, text_type):
|
|
u_arcname = arcname
|