Control: retitle -1 python-cryptography: extraneous setuptools dependency
on cffi
Control: tags -1 + pending

Argh! This is caused by an incomplete fix for #882011 of course.

On Sun, 19 Nov 2017 at 22:45 Adrian Bunk <b...@debian.org> wrote:

> pkg_resources.DistributionNotFound: The 'cffi>=1.7' distribution was not
> found and is required by cryptography
>

This problem is actually backwards from what it seems; python-cffi has a
pydist file that translates into a dependency on python-cffi-backend only
as python-cffi is not needed at runtime, and translated dependencies are
removed from requires.txt by dh_python2. However, since dh_python2 doesn't
understand the environment marker in the dependency, we are passing
--depends=cffi manually to take care of the dependency; unfortunately the
entry in requires.txt is thus not removed, so setuptools/pkg_resources
think that cffi needs to be available.

Stripping out the untranslated distributions from requires.txt ourselves
should fix this, I'll upload this fix once I've done a little more testing.

Reply via email to