[devstack][requirements][stable/ussuri] New setuptools doesn't like suds-jurko?
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. 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. Best wishes, Neil -- Neil Jerram Principal Software Engineer Tigera neil@tigera.io | @neiljerram <http://twitter.com/neiljerram> Follow Tigera: Blog <https://blog.tigera.io/> | Twitter <https://twitter.com/tigeraio> | LinkedIn <https://www.linkedin.com/company/tigera/> Leader in Kubernetes Security and Observability <https://tigera.io/>
On Fri, Sep 24 2021 at 11:48:58 AM +0100, Neil Jerram <neil@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...
Best wishes, Neil
-- Neil Jerram
Principal Software Engineer
Tigera
neil@tigera.io | @neiljerram
Follow Tigera: Blog | Twitter | LinkedIn
Leader in Kubernetes Security and Observability
Many thanks gibi! On Fri, Sep 24, 2021 at 11:58 AM Balazs Gibizer <balazs.gibizer@est.tech> wrote:
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.
AFAIK, my build and coding don't impose any additional constraints. (Is that what you meant?) 0.6 is the latest on PyPI. https://github.com/Affirm/suds-jurko/releases has a 0.6.4 release, but I don't know if that is the official GitHub project for suds-jurko (or if it addresses the 2to3 problem).
Cheers, gibi
[1]
http://lists.openstack.org/pipermail/openstack-discuss/2021-September/024987...
I will follow up in that thread to support Option 2.
participants (2)
-
Balazs Gibizer
-
Neil Jerram