VMware {code} Community
bradhoover
Contributor
Contributor

Could not find a version that satisfies the requirement suds-jurko (from vsphere-automation-sdk)

Within the last couple days (since Sept 6th) we've started seeing a failure with the suds-jurko package when trying to install the vSphere SDK using the install instructions at https://github.com/vmware/vsphere-automation-sdk-python:

 

% pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git
Collecting git+https://github.com/vmware/vsphere-automation-sdk-python.git
Cloning https://github.com/vmware/vsphere-automation-sdk-python.git to /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg
Running command git clone -q https://github.com/vmware/vsphere-automation-sdk-python.git /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg
Resolved https://github.com/vmware/vsphere-automation-sdk-python.git to commit bfbfd4d7e9b58d73ba1cf5197014740e69a32709
Processing //private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg/lib/vapi-runtime/vapi_runtime-2.25.0-py2.py3-none-any.whl
Processing //private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg/lib/vapi-client-bindings/vapi_client_bindings-3.6.0-py2.py3-none-any.whl
Processing //private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg/lib/vapi-common-client/vapi_common_client-2.25.0-py2.py3-none-any.whl
Processing //private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg/lib/vmc-client-bindings/vmc_client_bindings-1.52.0-py2.py3-none-any.whl
Processing //private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg/lib/nsx-python-sdk/nsx_python_sdk-3.1.2.1.1-py2.py3-none-any.whl
Processing //private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg/lib/nsx-policy-python-sdk/nsx_policy_python_sdk-3.1.2.1.1-py2.py3-none-any.whl
Processing //private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg/lib/nsx-vmc-policy-python-sdk/nsx_vmc_policy_python_sdk-3.1.2.1.1-py2.py3-none-any.whl
Processing //private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg/lib/nsx-vmc-aws-integration-python-sdk/nsx_vmc_aws_integration_python_sdk-3.1.2.1.1-py2.py3-none-any.whl
Processing //private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-req-build-dmst71lg/lib/vmc-draas-client-bindings/vmc_draas_client_bindings-1.18.0-py2.py3-none-any.whl
Collecting lxml>=4.3.0
Downloading lxml-4.6.3-cp39-cp39-macosx_10_9_x86_64.whl (4.6 MB)
|████████████████████████████████| 4.6 MB 2.5 MB/s
Collecting pyVmomi>=6.7
Downloading pyvmomi-7.0.2.tar.gz (589 kB)
|████████████████████████████████| 589 kB 2.8 MB/s
Collecting suds-jurko
Downloading suds-jurko-0.6.zip (255 kB)
|████████████████████████████████| 255 kB 1.1 MB/s
ERROR: Command errored out with exit status 1:
command: /Users/bhoover/test_env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_4c3bcb7df2214714aa7da549fd74e960/setup.py'"'"'; __file__='"'"'/private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_4c3bcb7df2214714aa7da549fd74e960/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-pip-egg-info-mgx1wccf
cwd: /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_4c3bcb7df2214714aa7da549fd74e960/
Complete output (1 lines):
error in suds-jurko setup command: use_2to3 is invalid.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/d0/88/f3bed9b494e0dae26bd55e5f3d527b8244208125024727267e8109956a11/suds-jurko-0.6.zip#sha256=1cb7252cb13018fc32887c3a834ed7c6648a5b5c4c159be5806da2e1785399e8 (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading suds-jurko-0.6.tar.bz2 (143 kB)
|████████████████████████████████| 143 kB 2.1 MB/s
ERROR: Command errored out with exit status 1:
command: /Users/bhoover/test_env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_d0dd95eb0c6445b2ac7c95e229cba99c/setup.py'"'"'; __file__='"'"'/private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_d0dd95eb0c6445b2ac7c95e229cba99c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-pip-egg-info-d2phjfxk
cwd: /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_d0dd95eb0c6445b2ac7c95e229cba99c/
Complete output (1 lines):
error in suds-jurko setup command: use_2to3 is invalid.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/bd/6f/54fbf0999a606680d27c69b1ad12dfff62768ecb9fe48524cebda6eb4423/suds-jurko-0.6.tar.bz2#sha256=29edb72fd21e3044093d86f33c66cf847c5aaab26d64cb90e69e528ef014e57f (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading suds-jurko-0.5.zip (220 kB)
|████████████████████████████████| 220 kB 2.2 MB/s
ERROR: Command errored out with exit status 1:
command: /Users/bhoover/test_env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_b4900bff7ede4d8191cc0a60531d5909/setup.py'"'"'; __file__='"'"'/private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_b4900bff7ede4d8191cc0a60531d5909/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-pip-egg-info-mr_8_nob
cwd: /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_b4900bff7ede4d8191cc0a60531d5909/
Complete output (1 lines):
error in suds-jurko setup command: use_2to3 is invalid.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/72/22/13c6ff1e731880523ceb7d6137b9450f7cca5b4bee8411017bad23af226c/suds-jurko-0.5.zip#sha256=7ba3267d53b4d5f87a26a4c01efaa01ad85ae620462f0cd72e49d1c340925261 (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Downloading suds-jurko-0.5.tar.bz2 (122 kB)
|████████████████████████████████| 122 kB 2.7 MB/s
ERROR: Command errored out with exit status 1:
command: /Users/bhoover/test_env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_a74a658eb19645079fb34124712e54d8/setup.py'"'"'; __file__='"'"'/private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_a74a658eb19645079fb34124712e54d8/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-pip-egg-info-d83_3weh
cwd: /private/var/folders/7b/zgg1ny2j0n17tl5b50lhx5340000gn/T/pip-install-e9xli1bu/suds-jurko_a74a658eb19645079fb34124712e54d8/
Complete output (1 lines):
error in suds-jurko setup command: use_2to3 is invalid.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/40/cc/2fad53352898ebfef8b11e4b6b0ef0fac0ee8162c735db28c558d511039c/suds-jurko-0.5.tar.bz2#sha256=3dd119ced5335d71a2844e380e6a509a1f05e6f5bbb5d1f8a2fdf5c74adff8ed (from https://pypi.org/simple/suds-jurko/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement suds-jurko (from vsphere-automation-sdk) (from versions: 0.4.1.jurko.1, 0.4.1.jurko.2, 0.4.1.jurko.3, 0.4.1.jurko.4, 0.4.1.jurko.5, 0.5, 0.6)
ERROR: No matching distribution found for suds-jurko

 

 

Is anyone else seeing this error? The vSphere SDK is in our requirements.txt and is failing consistently in our pipelines. It seems if you've already had it cached when it was working you won't see the error, but you can append a --force-reinstall and --no-cache-dir to reproduce. Our pipelines build the environments from scratch so it always does a fresh install.

Reply
0 Kudos
1 Reply
bradhoover
Contributor
Contributor

This has now been reported in the GitHub repo for the vSphere SDK: https://github.com/vmware/vsphere-automation-sdk-python/issues/286

Reply
0 Kudos