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

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



Thorsten,

> It might be the python 2-or-3 thing. The lines used to read
> 	Recommends: python
> and it did not trigger this rule, but recently it started to
> trigger another rule (obsolete python version), so I ported
> the script to work with both 2.7 and 3.6 and extended the
> Recommends so either version would suffice.

In that case, regardless of the Lintian logic here your OR is not
correct for this package. Gven that the shebang points to
#!/usr/bin/python (ie. Python 2.x) this would not be satisfied by the
"| python3" suffix

I would suggest changing the shebang to "#!/usr/bin/env python3" and
recommending only python3.


Regards,

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


Reply to: