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

Bug#886303: lintian: python-foo-but-no-python3-foo false positive



On Thursday, January 04, 2018 09:02:10 AM Chris Lamb wrote:
> tags 886303 + wontfix
> thanks
> 
> Hi Scott,
> 
> > There is no python3-qscintilla2, but there is python3-pyqt4.qsci
> 
> Getcha. However, this doesn't seem like a common case and weakening
> the general case & making it a little more magic doesn't seem the best
> approach IMHO. Indeed, it's almost a feature of the current test that
> it is so "dumb" and thus easily understandable and explainable.
> 
> This case seems like a perfect case for an override, especially as that
> provides a perfect place to explain the names of the package.
> 
> Naturally if we find many more examples we can revisit, but I don't think
> we should change this right now. :)

As discussed, stepic is another case of this that I just ran into.  The test 
was a useful reminder that it hadn't been ported to python3 in 0.3-5, but once 
I did the port in 0.3-6 it was still there due to the way the package renaming 
test was done.

Maybe if you look for python:Depends, but no python3:Depends that would reduce 
the false positives without being excessively magical.

Scott K


Reply to: