Bug#849142: [PATCH] Update dex_expected_diffs and test requirement to ensure test compatibility with enjarify >= 1.0.3. (Closes: #849142)

Chris Lamb lamby at debian.org
Sat Dec 24 22:33:03 UTC 2016


Daniel Shahaf wrote:

> > +    if subprocess.call(
> > +        ('python3', '-c', 'import enjarify.typeinference'),
> 
> Use sys.executable instead of hardcoding 'python3', to handle the case
> that there's more than one python3 binary on the system?

I deliberately used python3 to match the behaviour of what the
/usr/bin/enjarify script does.

Besides, sys.executable could be the virtualenv's python which we don't
want to call :)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Reproducible-builds mailing list