[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906211: lintian: python-script-but-no-python-dep despite Recommends



Thorsten,

> > I would suggest changing the shebang to "#!/usr/bin/env python3" and
> > recommending only python3.
> 
> It’s just a Recommends, sure, but this is a package that, while
> I always also test it on sid, currently targets jessie and PHP5
> on the customer’s site, so I’m a bit wary of requiring py3k yet
> (also I didn’t test it with that old a version).

If you want to keep using Python 2.x then simply leaving the script as-
is and recommending only python (ie. Python 2.x) is the correct
solution here.

Once this customer moves to (and is comfortable with) deploying Python
3, you can update the shebang and the Recommends.

"Silencing" Lintian is not the correct approachas "python | python3"
is, alas, simply not correct.


Regards,

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


Reply to: