The order in which dh_python3 writes Depends in not stable accross builds.
Detection
Example diffp output:
----- ./control -Depends: python3-pkg-resources, python3:any (>= 3.3.2-2~), python3-lazr.uri +Depends: python3:any (>= 3.3.2-2~), python3-lazr.uri, python3-pkg-resources
Solution
dh-python needs a patch. It looks like we need to add sorting in dhpython/depends.py:Dependencies.export_to.
Packages known to be affected
Source |
Tested version |