On Sat, 28 Jul 2018 14:16:11 +0100 Chris Lamb <la...@debian.org> wrote: > 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".
You don't need to know. All you need to know is a package depends on both. I don't think that there is any need to limit it to pyhon{3}-* pacakges. It's likely wrong for any situation. Scott K