[Reproducible-builds] Depends is non-deterministically python3.5 or python3

Scott Kitterman debian at kitterman.com
Sat Oct 10 01:49:21 UTC 2015


On Friday, October 09, 2015 09:46:48 PM Chris Lamb wrote:
> 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..)

Thanks for the patch.  I think it's not quite what we want though.  While this 
will make things reproducible in the short run, depending on if the default is 
the lower or higher version when there is more than one supported version, I 
think the result will be non-deterministic.

Based on the behavior seen in dh-python, I think we want the default version 
last.  So think that now we want:

3.5 3.4

Once 3.5 is default we'd want

3.4 3.5

The we'd drop 3.4 and get:

3.5

Someday was add 3.6 (as non-default) and start the process over:

3.6 3.5

It's getting late here, so I don't intend to work on this today, but I'll take 
a shot at it tomorrow (Saturday).

Scott K



More information about the Reproducible-builds mailing list