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

Bug#904817: lintian: Warn that depending on both Python 2 and Python 3 interpreters is unusual, likely a mistake?



Hi Stuart,

> In the upload of translate-toolkit 2.3.0-3, I ended up with the following:
> 
> Depends: python3, python3-pkg-resources, python3-six, python3-translate, 
> python3:any, python:any
> 
> such that the package depended on both the Python 2 and Python 3 interpreters.

Thinking about it, we have:

  https://lintian.debian.org/tags/python-package-depends-on-package-from-other-python-variant.html

This won't trigger for packages unless they are called /
^python([23]?)-/ however. Indeed, this seems to be required so we
"know" that a package is a "2" or a "3".

Would this have matched otherwise?


Regards,

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


Reply to: