Your message dated Thu, 19 Jan 2017 17:35:25 +0000
with message-id <[email protected]>
and subject line Bug#804249: fixed in python-setuptools 33.1.1-1
has caused the Debian Bug report #804249,
regarding python-setuptools: please make the generated requires.txt files 
reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
804249: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804249
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-setuptools
Version: 18.4-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps toolchain
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that
python-setuptools generates non-deterministic output when creating
requires.txt files:

│   │   │   │  [all]
│   │   │   │ -fake-factory==0.5.2
│   │   │   │ -pytz
│   │   │   │  numpy>=1.9.0
│   │   │   │  pytz
│   │   │   │ +pytz
│   │   │   │  django>=1.7
│   │   │   │ +fake-factory==0.5.2

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 50f3d5c..7c8ea53 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -406,7 +406,7 @@ def warn_depends_obsolete(cmd, basename, filename):
 def _write_requirements(stream, reqs):
     lines = yield_lines(reqs or ())
     append_cr = lambda line: line + '\n'
-    lines = map(append_cr, lines)
+    lines = map(append_cr, sorted(lines))
     stream.writelines(lines)
 
 

--- End Message ---
--- Begin Message ---
Source: python-setuptools
Source-Version: 33.1.1-1

We believe that the bug you reported is fixed in the latest version of
python-setuptools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <[email protected]> (supplier of updated python-setuptools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 19 Jan 2017 18:02:25 +0100
Source: python-setuptools
Binary: python-pkg-resources python-setuptools python-setuptools-doc 
python3-pkg-resources python3-setuptools pypy-pkg-resources pypy-setuptools
Architecture: source
Version: 33.1.1-1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
 pypy-pkg-resources - Package Discovery and Resource Access using pkg_resources
 pypy-setuptools - PyPy Distutils Enhancements
 python-pkg-resources - Package Discovery and Resource Access using 
pkg_resources
 python-setuptools - Python Distutils Enhancements
 python-setuptools-doc - Python Distutils Enhancements (documentation)
 python3-pkg-resources - Package Discovery and Resource Access using 
pkg_resources
 python3-setuptools - Python3 Distutils Enhancements
Closes: 804249
Changes:
 python-setuptools (33.1.1-1) unstable; urgency=medium
 .
   * New upstream version.
   * Generate sorted requires.txt files. Closes: #804249.
Checksums-Sha1:
 629e2e0d5b9fac6b440387836cfbd8731cd48216 2394 python-setuptools_33.1.1-1.dsc
 053672a8c1712d7a752bb28c3e9e6309a1feb34b 415528 
python-setuptools_33.1.1.orig.tar.xz
 b85534278a777a43cd7eb58293bf261bd69f19c2 14000 
python-setuptools_33.1.1-1.debian.tar.xz
Checksums-Sha256:
 d77e52bb962b18a87acfb0f0f8840f11101d0b1d869b176e58bf8184d97b0ed7 2394 
python-setuptools_33.1.1-1.dsc
 aeeac1aa49ab17fb2164c380eae40a11a90a21719325d668fba5bd31d5cf72e6 415528 
python-setuptools_33.1.1.orig.tar.xz
 572403d5d2ab58bce77be68810369baa090457be188fbcd7075522972c1d186a 14000 
python-setuptools_33.1.1-1.debian.tar.xz
Files:
 8e70c836b80e6d3d0082cf1b26eed6b6 2394 python optional 
python-setuptools_33.1.1-1.dsc
 397e9f57359c3fc7edb0678713673168 415528 python optional 
python-setuptools_33.1.1.orig.tar.xz
 8eac16213cb30ff8efd8591918742ad4 14000 python optional 
python-setuptools_33.1.1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAliA8xcQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9bk4D/47Mccs2eNediYHcHDeSORDDd4PAiLkqbmf
OIVjDdY2+AJJEMbTcWHybn6oarc4dbiP8+ODAsYqhPduT4DSCFkuLtSCt8sYM11b
Qwsh0W4/0qbweeCqOeVVbOZHDFGiubIwI3LjIHE/34PE4xSLw2Xx+4YAGt8rBdI/
XBeT9oC+RJl9PR43zSydYdvl7NpShSiIjodBKuoqF7cP+miq/k6CGuv6iA0IoCGG
s57nzbKnXk6IZjyXhCK82kCO6BrYVuqBoU2fYppkGjDJzWhwtlbq+wy4Ab63doX0
zgXyzD7MVan3nDomldPkp8erb948/PPe/lmP6QM4ZqylVcq4sSUWXE3TFfJn/EyN
mNKkEKxdW8gSZTSICI9Y4nQK1VN9bdZjDWjDl4p+AW+7nJZxKw+kDrbjbGl35NMI
JEO3MidnPbxetsheRac9CUcev9Xajw4Mbvo6bAVjktqrhz5VEd+N+Lt4pbjqNHrv
GJ+HQyjbbtvP9GYXqWlHTimLRAMnkaWmbw6p2QlcRVZ6i8VSMuqd1njpPJ2+lLeS
9N2Gupf2+5uxKAIT93qMjIUmt3py44PtQmZV9vu5e02hUhuHGm7kCx0HfPfn9JE2
FuNURH3DF0rsIAIkCB3xnh8dLR8U1tCLCjJ63f2RYUrd5h13XEsEK/R8AHcR+q4S
WkVeEhRS2w==
=hAxz
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to