[devstack][requirements][stable/ussuri] New setuptools doesn't like suds-jurko?

Balazs Gibizer balazs.gibizer at est.tech
Fri Sep 24 10:58:46 UTC 2021



On Fri, Sep 24 2021 at 11:48:58 AM +0100, Neil Jerram <neil at tigera.io> 
wrote:
> I use the stable/ussuri branches of devstack and tempest and have 
> recently started seeing this stack.sh failure:
> 
> Collecting suds-jurko===0.6
>   Downloading suds-jurko-0.6.tar.bz2 (143 kB)
>     ERROR: Command errored out with exit status 1:
>      command: /usr/bin/python3.6 -c 'import sys, setuptools, 
> tokenize; sys.argv[0] = 
> '"'"'/tmp/pip-install-wsiug8gg/suds-jurko/setup.py'"'"'; 
> __file__='"'"'/tmp/pip-install-wsiug8gg/suds-jurko/setup.py'"'"';f=getattr(tokenize, 
> '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', 
> '"'"'\n'"'"');f.close();exec(compile(code, __file__, 
> '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-h8s2x8w4
>          cwd: /tmp/pip-install-wsiug8gg/suds-jurko/
>     Complete output (1 lines):
>     error in suds-jurko setup command: use_2to3 is invalid.
> 
> IIUC that last error is from setuptools, specifically version 58.0.4. 
>  In previous runs with setuptools 57.4.0, this error did not occur.

It is correct. setuptools >= 58.0 removed support for use_2to3

> 
> Does it mean that stable/ussuri global-requirements.txt for 
> setuptools should have "<58" ?
> 
> I haven't investigated why suds-jurko is pulled in, but I guess it's 
> from the reference Neutron code - as opposed to something that my 
> particular testing has added - and so this could affect anyone using 
> stable/ussuri devstack.

Does suds-jurko 0.6 is you upper constraint? If it is not your upper 
constraint the you can look at if suds-jurko has a newer minor version 
that works with latest setuptools. If this is your upper then I think 
we have a situation where setuptools needs to be pinned on stable not 
due to lower constraints (where it seems we say we don't care and drop 
lower testing) but due to upper constraints. See the other mailthread 
[1] about our options regarding this setuptools issues.

Cheers,
gibi

[1] 
http://lists.openstack.org/pipermail/openstack-discuss/2021-September/024987.html


> 
> Best wishes,
>    Neil
> 
> 
> --
> Neil Jerram
> 
> Principal Software Engineer
> 
> Tigera
> 
> neil at tigera.io | @neiljerram
> 
> Follow Tigera: Blog | Twitter | LinkedIn
> 
> 
> Leader in Kubernetes Security and Observability
> 
> 





More information about the openstack-discuss mailing list