retitle 801376 pyversions emits requested versions in non-determinstic
order
reassign 801376 python3-defaults 3.4.3-6
tags 801376 + patch
thanks

Chris Lamb wrote:

> > dh-python generates a Depends line which depends on the locale
> > setting
>
> Alas this is not correct; I can reproduce without varying the locale.

Patch attached (NB. in python3-defaults..)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/py3versions.py b/debian/py3versions.py
index 9f15eea..6c35b04 100644
--- a/debian/py3versions.py
+++ b/debian/py3versions.py
@@ -162,6 +162,7 @@ def requested_versions(vstring, version_only=False):
         raise ValueError('No python3 versions in version string')
     if not versions:
         raise ValueError('empty set of versions')
+    versions = list(sorted(list))
     if version_only:
         return versions
     else:

Reply via email to