[PKG-Openstack-devel] Bug#750579: Bug#750579: python-wrapt: FTBFS: unable to load addon sphinxdoc

Thomas Goirand zigo at debian.org
Sun Jun 8 14:24:20 UTC 2014

On 06/08/2014 11:39 AM, Aaron M. Ucko wrote:
> found 750579 1.8.0-2
> thanks
> "Aaron M. Ucko" <ucko at debian.org> writes:
>> The problem is that python-wrapt lists python-sphinx only in
>> Build-Depends-Indep but unconditionally runs dh --with sphinxdoc.
> Thanks for the prompt fix!  However, it looks like you'll also need to
> move python(3)-pytest:
>   set -ex && for pyvers in 2.7 3.4; do \
>       PYTHONPATH=. py.test-$pyvers -v tests ; \
>   done
>   + PYTHONPATH=. py.test-2.7 -v tests
>   /bin/sh: 2: py.test-2.7: not found
>   make[1]: *** [override_dh_auto_test] Error 127

Since py.test-2.7 and py.test-3.4 aren't needed in the clean target,
it's fine to have them in Build-Depends-Indep. So I don't think there's
anything to fix here.

> I expect you'll also need to do the same for python(3)-six

Same, python{3,}-six is already in build-depends-indep, so that's fine.

> which should
> moreover go to Depends, since I see the installed modules import six.

That one is a good catch. I was the one who patched wrapt to not use the
embedded version of six, and forgot to add it as new depends:. Note by
the way that upstream is going to remove the use of six, in the favor of
just what he needs instead, so this will go away in the next upstream
release of wrapt.

Anyway, this is correct in the last upload (eg: 1.8.0-3).

Thanks for your bug report.

Thomas Goirand (zigo)

More information about the Openstack-devel mailing list