[openstack-dev] openstack/requirements and tarball subdirs

Doug Hellmann doug.hellmann at dreamhost.com
Mon Jul 7 15:02:11 UTC 2014


On Mon, Jul 7, 2014 at 5:14 AM, Philipp Marek <philipp.marek at linbit.com> wrote:
> Hi everybody,
>
> I'm trying to get
>         https://review.openstack.org/#/c/99013/
> through Jenkins, but keep failing.
>
>
> The requirement I'm trying to add is
>> dbus-python>=0.83 # MIT License
>
>
> The logfile at
>         http://logs.openstack.org/13/99013/2/check/check-requirements-integration-dsvm/d6e5418/console.html.gz
> says this:
>
>> Downloading/unpacking dbus-python>=0.83 (from -r /tmp/tmpFt8D8L (line 13))
> Loads the tarball from
>   https://pypi.python.org/packages/source/d/dbus-python/dbus-python-0.84.0.tar.gz.
>>   Using download cache from /tmp/tmp.JszD7LLXey/download/...
>>   Running setup.py (path:/tmp/...) egg_info for package dbus-python
>
> but then fails
>>    Traceback (most recent call last):
>>      File "<string>", line 17, in <module>
>>    IOError: [Errno 2] No such file or directory:
>>        '/tmp/tmpH1D5G3/build/dbus-python/setup.py'
>>    Complete output from command python setup.py egg_info:
>>    Traceback (most recent call last):
>>
>>  File "<string>", line 17, in <module>
>>
>> IOError: [Errno 2] No such file or directory:
>>       '/tmp/tmpH1D5G3/build/dbus-python/setup.py'
>
> I guess the problem is that the subdirectory within that tarball includes
> the version number, as in "dbus-python-0.84.0/". How can I tell the extract
> script that it should look into that one?

It looks like that package wasn't built correctly as an sdist, so pip
won't install it. Have you contacted the author to report the problem
as a bug?

Doug

>
>
> Thank you for your help!
>
>
> Regards,
>
> Phil
>
> --
> : Ing. Philipp Marek
> : LINBIT | Your Way to High Availability
> : DRBD/HA support and consulting                 http://www.linbit.com :
>
> DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list