[openstack-dev] sqlalchemy-utils fails devstack install

Angela Smith aallen at Brocade.COM
Thu Feb 25 19:21:00 UTC 2016


This bug was opened and the solution presented seems to be accurate:
https://bugs.launchpad.net/devstack/+bug/1548592

We had the same issue on our CI and deleting setuputils and reinstalling worked for us.

-----Original Message-----
From: Beliveau, Ludovic [mailto:Ludovic.Beliveau at windriver.com] 
Sent: Thursday, February 25, 2016 7:18 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] sqlalchemy-utils fails devstack install

A bug has been raised against SQLAlchemy-Utils and a fixed has been proposed (but not yet merged):
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_kvesteri_sqlalchemy-2Dutils_pull_193&d=CwICAg&c=IL_XqQWOjubgfqINi2jTzg&r=Ai1MvyPlSw0GLEkv2TxEQpGqXLcFW8njDXhHMBos4Xc&m=ZPoJUKotO6G2_-zWu_uS-YpGG78LX8oSKkcPN3Wq7jI&s=kuIoTmjzDeBqjHGE_tKrKQyj5Ei5CsXOp5Tt1OHJb5U&e= 

Workaround for running devstack:

- Download SQLAlchemy-Utils source code (see https://urldefense.proofpoint.com/v2/url?u=https-3A__sqlalchemy-2Dutils.readthedocs.org_en_latest_installation.html&d=CwICAg&c=IL_XqQWOjubgfqINi2jTzg&r=Ai1MvyPlSw0GLEkv2TxEQpGqXLcFW8njDXhHMBos4Xc&m=ZPoJUKotO6G2_-zWu_uS-YpGG78LX8oSKkcPN3Wq7jI&s=mJ8E6bsn0XM-nKHAqgJeEi3tNaQ3gTKwsB6UNjeT3p4&e= )
- Patch source code locally based on the proposed fix
- Install the package

Regards,
/ludovic

On 02/25/2016 08:27 AM, Sean Dague wrote:
> On 02/24/2016 11:45 PM, Watanabe, Isao wrote:
>> Hello team
>>
>> Does anyone know about why sqlalchemy-utils fails devstack install since about 3:00 UTC, Feb 25th?
>>
>> Our CI start to fail and in log it says:
>>
>> 2016-02-25 03:34:22.515 | Collecting SQLAlchemy-Utils===0.31.6 (from -c /opt/stack/new/requirements/upper-constraints.txt (line 24))
>> 2016-02-25 03:34:22.602 |   Downloading SQLAlchemy-Utils-0.31.6.tar.gz (112kB)
>> 2016-02-25 03:34:23.031 |     Complete output from command python setup.py egg_info:
>> 2016-02-25 03:34:23.031 |     error in SQLAlchemy-Utils setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
>> 2016-02-25 03:34:23.031 |     
>> 2016-02-25 03:34:23.031 |     ----------------------------------------
>> 2016-02-25 03:34:23.062 | Command "python setup.py egg_info" failed 
>> with error code 1 in /tmp/pip-build-eRYND2/SQLAlchemy-Utils
>>
>> However, in mirror[1] which we are using, the package is just there, which confused me.
>> [1] 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__mirror.dfw.rax.op
>> enstack.org_pypi_simple_sqlalchemy-2Dutils_&d=CwICAg&c=IL_XqQWOjubgfq
>> INi2jTzg&r=Ai1MvyPlSw0GLEkv2TxEQpGqXLcFW8njDXhHMBos4Xc&m=ZPoJUKotO6G2
>> _-zWu_uS-YpGG78LX8oSKkcPN3Wq7jI&s=nPN16YBhP8L87MWHLOY9HhlCwA3__riE_6W
>> r5yqqaes&e=
>>
>> Thanks for any help.
>>
>> Best regards,
>> Watanabe.isao
> The failure only exists if you are installing from tar.gz and not from 
> wheels. For performance reasons the upstream gate builds a wheel 
> mirror and installs from that.
>
> Those wheels were built on old setuptools, work on any version. There 
> is a setuptools bug registered for this, which should hopefully be fixed today.
>
> 	-Sean
>


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Ddev&d=CwICAg&c=IL_XqQWOjubgfqINi2jTzg&r=Ai1MvyPlSw0GLEkv2TxEQpGqXLcFW8njDXhHMBos4Xc&m=ZPoJUKotO6G2_-zWu_uS-YpGG78LX8oSKkcPN3Wq7jI&s=e33iauUfMsY9Ous9cmzAXW9Qtzn0YRI75meDooNLRao&e= 



More information about the OpenStack-dev mailing list