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

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



   Hi,

 As the maintainer of the jython package, I agree that these three
files should not be installed.  My next upload of the package will
remove them and all jython tests, mainly because it will save space.

 Indeed I think this check is a bit too strict anyway for two reasons:

  1. These files are actually test data for the Python object file
parsers of Jython.  I think they are out of scope of the Python
policy.  So this check should at least be overridable.

  2. The Python policy section "2.6 Modules Byte-Compilation" reads
     """If a binary package provides any binary-independent modules (foo.py
     files), the corresponding byte-compiled modules (foo.pyc files) and
     optimized modules (foo.pyo files) must not ship in the package."""
But there is no associated source file (*.py) installed alongside
these *.pyc files.  So I think they should have been ignored by the
check.

 Regards,

-- 
Nicolas Duboc <nduboc@debian.org>

Attachment: signature.asc
Description: Digital signature


Reply to: