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

Bug#644379: [checks/files] false-positive package-installs-python-bytecode



On 2011-10-05 13:45, Jakub Wilk wrote:
> Package: lintian
> Version: 2.5.3
> Severity: normal
> Tags: patch
> 
> $ lintian -F jython_2.5.1-2_all.deb E: jython:
> package-installs-python-bytecode
> usr/share/jython/Lib/test/pbcvm/test/test_builtin_pyc.pyc
> E: jython: package-installs-python-bytecode
> usr/share/jython/Lib/test/pbcvm/test/test_exceptions_pyc.pyc
> E: jython: package-installs-python-bytecode
> usr/share/jython/Lib/test/pbcvm/test/test_types_pyc.pyc
> 
> I consider these false-positives, because the files are for testing
> purposes only. (Since the tag causes fatal auto-reject, it's quite
> important to avoid false-positives...) I propose to exclude all
> test_*_pyc.py[co] files from the check.
> 

Hi,

I am not entirely convinced here.  I agree that false-positives for
auto-reject tags are bad and we should keep them to an absolute minimum.
  However, poking a bit in the jython source package I learned that some
of these (if not all) appears to be unit tests.  I guess these are not
meant to be installed in the binary package.

I say we re-assign this to Jython for now.  If these tests serve a real
purpose at runtime for Jython, we can always make the exception there.

~Niels




Reply to: